[GTALUG] IP mystery
Darryl Moore
darryl at moores.ca
Thu Feb 21 14:55:16 EST 2019
Hello LUGgers.
Here is an interesting mystery for anyone interesting. I'd love if
anyone could explain it. The following is cut and paste directly from my
bash session and not edited in anyway. What the $*#$^ is going on here?
I have reset all the routers between these two machines in case somehow
they were responding to ARP requests instead of the target machine. I've
done everything except for resetting the target itself. Also I have a
daemon on the target which is doing 'C' system calls with
getifaddrs(&ifap) library calls and it reports back both 192.168.11.50
and 192.168.11.133 even though ifconfig does not.
Anybody have a clue what is going on here?
cheers,
Darryl
----------------------------------
darryl at darryl-Aspire-V3-575:~$
darryl at darryl-Aspire-V3-575:~$
darryl at darryl-Aspire-V3-575:~$
darryl at darryl-Aspire-V3-575:~$ ssh root at 192.168.11.133
Warning: Permanently added '192.168.11.133' (ECDSA) to the list of known
hosts.
Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-64-generic i686)
* Documentation: https://help.ubuntu.com/
658 packages can be updated.
406 updates are security updates.
New release '18.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
You have new mail.
Last login: Thu Feb 21 14:45:01 2019 from 192.168.11.127
root at elp123456:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:f1:f3:8f:05:7d
inet addr:192.168.11.50 Bcast:192.168.11.255 Mask:255.255.254.0
inet6 addr: fe80::2f1:f3ff:fe8f:57d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1269911 errors:0 dropped:1065 overruns:0 frame:0
TX packets:682949 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:214230001 (214.2 MB) TX bytes:129622352 (129.6 MB)
eth0:2 Link encap:Ethernet HWaddr 00:f1:f3:8f:05:7d
inet addr:192.168.9.1 Bcast:192.168.9.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:2264301 errors:0 dropped:0 overruns:0 frame:0
TX packets:2264301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1188627720 (1.1 GB) TX bytes:1188627720 (1.1 GB)
tun0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.1.245 P-t-P:10.8.1.245 Mask:255.255.0.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:214252 errors:0 dropped:0 overruns:0 frame:0
TX packets:214990 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:12935258 (12.9 MB) TX bytes:69517662 (69.5 MB)
root at elp123456:~#
More information about the talk
mailing list