Multiple Interfaces with the same IP
Michael Bretterklieber
mbretter at inode.at
Sun May 8 09:54:27 PDT 2005
Hi,
it looks like that under 5-stable it's allowed to have different
interfaces with the same IP, bug or feature?
bash-2.05b# ifconfig ath0 inet 192.168.201.12 netmask 0xffffff00 up
bash-2.05b# ifconfig sk0 inet 192.168.201.12 netmask 0xffffff00 up
bash-2.05b# ifconfig
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20f:b5ff:fe1e:ce12%ath0 prefixlen 64 scopeid 0x1
inet 192.168.201.12 netmask 0xffffff00 broadcast 192.168.201.255
ether 00:0f:b5:1e:ce:12
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
(DS/11Mbps)
status: associated
ssid xx 1:xx
channel 11 authmode OPEN powersavemode OFF powersavesleep 100
rtsthreshold 2312 protmode CTS
wepmode MIXED weptxkey 1
wepkey 1:104-bit
sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::20f:eaff:fe3a:7058%sk0 prefixlen 64 scopeid 0x2
inet 192.168.201.12 netmask 0xffffff00 broadcast 192.168.201.255
ether 00:0f:ea:3a:70:58
media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
status: active
thanx,
bye,
Michael
More information about the freebsd-net
mailing list