This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / Help. How to check if your PC is behind router with network properties or what ever?
-david_zzh(考虑中);
2005-8-29
(#2476586@0)
-
ipconfig /all ; netstat -rif your IP is starting from 192.x.x.x usually you are behide firewall/router
-xordos(donothing);
2005-8-29
{76}
(#2476614@0)
-
Thanks for reply. This solution, however, has an exception for some routers that change original IP into something else other than 192..
-david_zzh(考虑中);
2005-8-29
(#2477190@0)
-
-->assumption:
intranet: 192.168.x.x or 172.x.x.x or 10.x.x.x
internet: any other IP
if your local IP is intranet IP, then you know you are behide router,(or say, you don't directly connect to internet), if your local IP is a internet IP, then you are directly connected to internet.
If you intranet/router don't obey above RFC, then that's you netAdmin's problem
-xordos(donothing);
2005-8-29
{373}
(#2477625@0)
-
compare the local ip with the result you get from http://checkip.dyndns.org?
-jchonc(James);
2005-8-29
(#2477560@0)
-
first, every pc is behind of a router anyway, so I take the assumption u mean a NAT router or what we call internet dsl/cable routergo take a look at where ur network cable get connected. :D //kidding
if ur pc has the local network connection with IP address at 192.168, u r behind of a NAT router
I am not sure u understand xordos's reply.
-buma(buma);
2005-8-29
{211}
(#2477600@0)