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

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Feb 21 12:10:51 UTC 2012


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
> 
> Does this a bug?

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

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

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120221/6f8e08d3/signature.pgp


More information about the freebsd-questions mailing list