Здравствуйте, Ivan. Вы писали 21 февраля 2012 г., 0:45:33:
II> 2012/2/20 Коньков Евгений <kes-...@yandex.ru>: >> >> vlan74: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 >> options=3<RXCSUM,TXCSUM> >> ether f4:6d:04:7c:7b:d3 >> inet6 fe80::f66d:4ff:fe7c:7bd3%vlan74 prefixlen 64 scopeid 0xd >> inet 10.1.26.1 netmask 0xfffffe00 broadcast 10.1.27.255 >> inet 10.1.26.3 netmask 0xfffffe00 broadcast 10.1.27.255 >> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> >> media: Ethernet autoselect (1000baseT <full-duplex>) >> status: active >> vlan: 74 parent interface: re0 >> >> ifconfig vlan74 delete 10.1.26.1 >> >> will delete these static routes from route table: >> >> 10.3.0.1 10.1.26.2 UGHS 8 367 vlan74 >> 10.1.6.0/23 10.1.26.2 UGS 275 166969 vlan74 >> >> Does this a bug? >> II> See here: II> http://lists.freebsd.org/pipermail/freebsd-net/2012-February/031404.html II> It should be fixed, I asked Andrew and he said it was fixed as well. II> If latest code still has this problem, than yes it's a bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=128954&cat=bin it is repeatable on # uname -a FreeBSD 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #1 r231881: Fri Feb 17 17:20:09 UTC 2012 @:/usr/obj/usr/src/sys/KES_KERN_v8 amd64 # ifconfig vlan7 vlan7: flags=8002<BROADCAST,MULTICAST> metric 0 mtu 1500 ether 00:00:00:00:00:00 vlan: 0 parent interface: <none> # ifconfig vlan7 vlan 7 vlandev re0 # ifconfig vlan7 vlan7: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> ether 14:da:e9:b8:5a:76 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 7 parent interface: re0 # ifconfig vlan7 add 10.3.0.1/24 # ifconfig vlan7 add 10.3.0.2/24 # route add 10.4.0.0/24 10.3.0.3 add net 10.4.0.0: gateway 10.3.0.3 # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.11.6.1 UGS 0 0 re0 10.0.0.0/8 10.11.6.1 UGS 1 241 re0 10.3.0.0/24 link#7 U 0 0 vlan7 10.3.0.1 link#7 UHS 0 0 lo0 10.3.0.2 link#7 UHS 0 0 lo0 10.4.0.0/24 10.3.0.3 UGS 0 0 vlan7 10.5.0.18 link#5 UH 0 0 lo0 10.11.6.0/28 link#2 U 0 6161 re0 10.11.6.7 link#2 UHS 0 0 lo0 127.0.0.1 link#5 UH 0 53 lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 ::1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::%lo0/64 link#5 U lo0 fe80::1%lo0 link#5 UHS lo0 ff01::%lo0/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 -------------------------------- # ifconfig vlan7 delete 10.3.0.1 # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.11.6.1 UGS 0 0 re0 10.0.0.0/8 10.11.6.1 UGS 0 334 re0 10.3.0.0/24 link#7 U 0 0 vlan7 10.3.0.2 link#7 UHS 0 0 lo0 10.5.0.18 link#5 UH 0 0 lo0 10.11.6.0/28 link#2 U 0 6161 re0 10.11.6.7 link#2 UHS 0 0 lo0 127.0.0.1 link#5 UH 0 53 lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 ::1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::%lo0/64 link#5 U lo0 fe80::1%lo0 link#5 UHS lo0 ff01::%lo0/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 # ifconfig vlan7 vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3<RXCSUM,TXCSUM> ether 14:da:e9:b8:5a:76 inet 10.3.0.2 netmask 0xffffff00 broadcast 10.3.0.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 7 parent interface: re0 NOTICE: that '10.4.0.0/24' is still reachable through 10.3.0.3 via vlan7 but route 10.4.0.0/24 10.3.0.3 UGS 0 0 vlan7 was deleted while deleting IP from vlan -- С уважением, Коньков mailto:kes-...@yandex.ru _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"