j+ (Jukka Salmi)
2007-07-11 00:12:23 UTC
Hi,
after bringing down a NetBSD 3 system to single user and then back up
to multi user, I noticed that the systems three IPv4 addresses were
"rotated". I can also reproduce this on a -current system:
$ ifconfig vr0 inet 192.168.0.1/24
$ ifconfig vr0 inet 192.168.0.2/24 alias
$ ifconfig vr0 inet 192.168.0.3/24 alias
$ ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:0c:6e:74:f6:81
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
So far so good, but then:
$ ifconfig vr0 inet 192.168.0.1/24
$ ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:0c:6e:74:f6:81
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
Hmm, it's not a problem AFAICT, I just wonder if this is expected
behaviour...
Regards, Jukka
after bringing down a NetBSD 3 system to single user and then back up
to multi user, I noticed that the systems three IPv4 addresses were
"rotated". I can also reproduce this on a -current system:
$ ifconfig vr0 inet 192.168.0.1/24
$ ifconfig vr0 inet 192.168.0.2/24 alias
$ ifconfig vr0 inet 192.168.0.3/24 alias
$ ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:0c:6e:74:f6:81
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
So far so good, but then:
$ ifconfig vr0 inet 192.168.0.1/24
$ ifconfig vr0
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:0c:6e:74:f6:81
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet alias 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
Hmm, it's not a problem AFAICT, I just wonder if this is expected
behaviour...
Regards, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de