Odd spurious IP addr in ifconfig
Earlier, I was looking at old threads in my mail archive and found a
neat way to get the IP address from a shell script, but in trying it I
noticed - hey that's *not* my IP address! I've had static IP here on a
DSL line since December 2000, and my IP address has always been the
same. I don't yet fool around with IP masquerading, which is possibly
what it could be.
Here's what 'ifconfig eth0' reports currently:
dfox@m206-157:~$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:94:B7:53:84
inet addr:169.254.162.234 Bcast:0.0.0.0 Mask:255.255.0.0
And mine is (and has been for 5 years):
auto eth0
iface eth0 inet static
address 198.144.206.157
netmask 255.255.255.0
Pinging them both works - traceroute ditto. Doesn't seem to be a diff
there, as far as connectivity goes. But where did this "extra" IP
address come from in the first place? I did a grep for it on /etc, it
does not seem to be there.
Furthermore, that IP per whois belongs to
OrgName: Internet Assigned Numbers Authority
OrgID: IANA
Address: 4676 Admiralty Way, Suite 330
City: Marina del Rey
StateProv: CA
PostalCode: 90292-6695
Country: US
They've reserved the entire 169.254.*.* block, it seems.
So, I'm thinking, maybe it's a dynamic IP address, but I have no use
for that here.
--
------------------------------------------------------------------------
David E. Fox Thanks for letting me
dfox@tsoft.com change magnetic patterns
dfox@m206-157.dsl.tsoft.com on your hard disk.
-----------------------------------------------------------------------
Reply to: