Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 May 2005 18:54:19 +0200
From:      Michael Bretterklieber <mbretter@inode.at>
To:        net@freebsd.org
Subject:   Multiple Interfaces with the same IP
Message-ID:  <427E443B.9070301@inode.at>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427E443B.9070301>