Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 23:58:27 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Mark Saad <nonesuch@longcount.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Removing an alias can remove routes ?
Message-ID:  <1a2f60f2-6f78-00d6-9287-eaf3408205fa@grosbein.net>
In-Reply-To: <CAMXt9NZ=rMOToi8nSU8YQjb0WAXbbuMamdS6Uy82v4j9YoPkMw@mail.gmail.com>
References:  <CAMXt9NZ=rMOToi8nSU8YQjb0WAXbbuMamdS6Uy82v4j9YoPkMw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
14.01.2019 23:29, Mark Saad wrote:

> So I wanted to remove the alias ended in 163 and fix its netmask back to /32

And this was right desision.

> I ran this
> 
> ifconfig lagg0.vlan1044 inet 10.24.213.163/24 -alias && ifconfig
> lagg0.vlan1044 inet 10.24.213.163/32 -alias
> 
> and shortly there after all of the routes that went out lagg0.vlan1044
> were gone . I quickly undid my change and put the routes back but I am
> not sure what caused this ? Anyone have any ideas  I have done this in
> the past with out issue and I am unsure whats changed other then the
> box have a long up time of 463 days .

Wrong original netmask of an alias was a reason of this.
You should use /32 only for aliases. Re-add all aliases with /32
then re-add routes and you will be fine.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a2f60f2-6f78-00d6-9287-eaf3408205fa>