kern/155772: ifconfig: ioctl (SIOCAIFADDR): File exists on directly
connected networks
Alexey Samoylov
sav at ecom24.ru
Tue Mar 22 05:00:03 UTC 2011
>Number: 155772
>Category: kern
>Synopsis: ifconfig: ioctl (SIOCAIFADDR): File exists on directly connected networks
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 22 05:00:02 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alexey Samoylov
>Release: 8.2-RELEASE
>Organization:
SigmaTelecom Ltd
>Environment:
FreeBSD svm.sigma24.ru 8.2-RELEASE FreeBSD 8.2-RELEASE #2 r219081M: Wed Mar 2 10:30:04 CET 2011 root at www4:/usr/obj/usr/src_v28/sys/GENERIC amd64
>Description:
ifconfig inet command doesn't install "directly connected" route if this route is already in routing table with other flags. In my case I use quagga for redistributing connected routes:
svm.sigma24.ru# show ip route 83.143.32.32/28
Routing entry for 83.143.32.32/28
Known via "ospf", distance 110, metric 20, best
Last update 00:26:50 ago
* 83.143.32.9, via vlan4
svm# ifconfig vlan6 create
svm# ifconfig vlan6
vlan6: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:1b:21:93:ba:85
inet 83.143.32.43 netmask 0xfffffff0 broadcast 83.143.32.47
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 6 parent interface: igb7
svm# route get 83.143.32.32/28
route to: 83.143.32.32
destination: 83.143.32.32
mask: 255.255.255.240
gateway: br2
interface: vlan4
flags: <UP,GATEWAY,DONE,PROTO1>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0
svm# ifconfig vlan6 delete
svm# ifconfig vlan6 inet 83.143.32.43 netmask 0xfffffff0 broadcast 83.143.32.47
ifconfig: ioctl (SIOCAIFADDR): File exists
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list