deleting an alias from interface cause the static route to be deleted

Коньков Евгений kes-kes at yandex.ru
Tue Feb 21 20:24:05 UTC 2012


Здравствуйте, Matthew.

Вы писали 21 февраля 2012 г., 14:10:37:

MS> On 20/02/2012 20:06, Коньков Евгений wrote:
>> 
>> 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.7.26.2          UGHS        8      367 vlan74
>> 10.1.6.0/23        10.7.26.2          UGS       275   166969 vlan74
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

I had mistake.
>>
>> Does this a bug?

MS> Hmmm... how have you managed to have a next hop address of 10.7.26.2 on
MS> your vlan74 interface, when the local network appears to be 10.1.26.0/23
MS> ?  What's the route to 10.7.26.2 -- presumably this is also accessible
MS> on vlan74 ?

MS> It certainly seems odd that your routes have disappeared, but I'm
MS> wondering if they were culled from the routing table because the system
MS> thought they weren't logically connected to the local system?  Given
MS> that they have seen traffic, perhaps this was connected to a different
MS> change that the deletion of 10.1.26.1 that you highlighted?



-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list