Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 09:14:56 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes@yandex.ru>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: deleting an alias from interface cause the static route to be deleted
Message-ID:  <6A522128-E07D-46E4-B6B5-10C1F91CEE43@my.gd>
In-Reply-To: <376001325.20120220220651@yandex.ru>
References:  <376001325.20120220220651@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


On 20 Feb 2012, at 21:06, =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =D0=95=D0=
=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 <kes-kes@yandex.ru> wrote:

>=20
> vlan74: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
>        options=3D3<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=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>        media: Ethernet autoselect (1000baseT <full-duplex>)
>        status: active
>        vlan: 74 parent interface: re0
>=20
> ifconfig vlan74 delete 10.1.26.1
>=20
> will delete these static routes from route table:
>=20
> 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
>=20
> Does this a bug?
>=20

I don't know if it's a bug or intended, but I do know you should use /32 ali=
ases for additional IPs, not your original netmask.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A522128-E07D-46E4-B6B5-10C1F91CEE43>