When I run an online IP-lookup tool, like https://whatismyipaddress.com/, I get an IP address like 24.253.65.208.
But I've set up my home router as a DHCP Server and I've assigned static IP addresses in a certain range, as in this screenshot:
And if I run ifconfig
on my laptop, I see that its Ethernet NIC is assigned IP address 10.0.0.2:
$ ifconfig
br-fbff3346e4d9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.49.1 netmask 255.255.255.0 broadcast 192.168.49.255
inet6 fe79::42:e9fe:ff10:c35d prefixlen 64 scopeid 0x20<link>
ether 02:43:e9:10:c4:5e txqueuelen 0 (Ethernet)
RX packets 522576 bytes 24843001 (24.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 680143 bytes 1914033742 (1.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 30455 bytes 3345251 (3.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 30455 bytes 3345251 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth84aa4c6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::f8a6:1dff:fea5:7eae prefixlen 64 scopeid 0x20<link>
ether fb:b6:1d:b5:7e:be txqueuelen 0 (Ethernet)
RX packets 505519 bytes 30297179 (30.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 661456 bytes 1855293659 (1.8 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.2 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::5f9c:c301:a6a3:6e36 prefixlen 64 scopeid 0x20<link>
ether f8:59:72:01:69:cf txqueuelen 1000 (Ethernet)
RX packets 4847088 bytes 6757721096 (6.7 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1937921 bytes 256121852 (256.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
But as you can see, there's no sign of 24.253.65.208.
So my question is: what is the relationship between 24.253.65.208 -- that the outside world seems to see -- and 10.0.0.2, that my NIC is actually assigned?
I imagine that some piece of software/hardware is "translating" between 24.253.65.208 and 10.0.0.2 -- but who is that? My router?
What would be different if the User Router as DHCP Server box was unchecked? If that box wasn't checked, how would the various devices in my network be assigned IP addresses?