screwy ifconfig

Paul Herman pherman at frenchfries.net
Tue Mar 16 18:14:50 PST 2004


Hey there,

cvsuped today and ifconfig seems to have lost its rocker:

bash-2.05b$ ifconfig -l
fxp0 lo0 ppp0 sl0 faith0
bash-2.05b$ ifconfig lo0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::208:dff:fecc:b866%fxp0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
	ether 00:08:0d:cc:b8:66
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
bash-2.05b$ ifconfig jkhsdk
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::208:dff:fecc:b866%fxp0 prefixlen 64 scopeid 0x1
	inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
	ether 00:08:0d:cc:b8:66
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
bash-2.05b$

As you can see, any interface I try seems to somehow get mapped to
fxp0, even if what I type in doesn't exist.  In fact, when the
system came up, "ifconfig lo0 127.0.0.1/8" sets fxp0's address to
127.0.0.1.  Dimes to donuts it was the recent 'ifconfig name'
changes.  The last time this worked (last world I built) was last
week.  World & kernel are in sync.  Anyone seeing this too, or is
it just me?

I also noticed that all my /usr/include files are a few months old,
which is also strange (is 'make includes' detached from
installworld target?)  Anyhoo, I did 'cd /usr/src && make includes'
and recompiled/reinstalled /sbin/ifconfig but that didn't help.

-Paul.





More information about the Bugs mailing list