Removing an alias can remove routes ?

Eugene Grosbein eugen at grosbein.net
Mon Jan 14 16:58:53 UTC 2019


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.



More information about the freebsd-hackers mailing list