Quote:
Originally Posted by acabel
Can anyone give me a short explanation of why I get different IP addresses between ifconfig eth0, and whatismyip dot com? Is it related to my DSL router?
|
The IP address you get from whatismyip.com is your internet IP address.
The IP address you get with ifconfig is your IP address in your local network (usually in the range of 192.168.*.* or 10.*.*.*).
As the DSL router is the one who creates the connection to your internet service provider, it is the only device which knows your internet IP.
The DSL router will do an address conversion from the local IP to/from the internet IP (network address translation, NAT), if you access the internet.
And yes, there will be problems if an application needs your "internet" address, but only gets you local IP address from the operating system.