Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread Radek
I have tried '-inet' on 6.3/i386 firewall/GW/VPN/etc.. adding 4 aliases (public IPs) and then removing 2 of them. If_driver was vr(4). I did it few times over SSH without any meltdown of the network. Everything seems to work as expected. $ cat /etc/hostname.vr0 -inet inet A.B.C.77 255.255.254.0

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread tomr
On 12/8/18 6:09 AM, Tom Smyth wrote: > Hi Florian, > > i had the inet address as the first line ... > and then all the inet alias lines were after that... > the behaviour was as described... > Thanks for the suggestion though > On Fri, 7 Dec 2018 at 18:48, Florian Obser wrote: I think

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread Tom Smyth
Hi Florian, i had the inet address as the first line ... and then all the inet alias lines were after that... the behaviour was as described... Thanks for the suggestion though On Fri, 7 Dec 2018 at 18:48, Florian Obser wrote: > > One possible workaround is putting > -inet as the first line in

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread Florian Obser
One possible workaround is putting -inet as the first line in /etc/hostname.vio4 It will nuke all v4 addresses and re-add them. Depending on your usecase this might work for you or it might melt down your whole network ;) On Thu, Dec 06, 2018 at 10:49:01PM +, Tom Smyth wrote: > Hello, > >

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread Tom Smyth
Thanks Tom Smyth On Fri, 7 Dec 2018 at 13:09, Martin Pieuchot wrote: > > On 06/12/18(Thu) 22:49, Tom Smyth wrote: > > Hello, > > > > Im running a router with multiple ips on an interface using the > > inet alias > > > > issue: > > when commenting out configured aliases on hostname.if > > after

Re: sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-07 Thread Martin Pieuchot
On 06/12/18(Thu) 22:49, Tom Smyth wrote: > Hello, > > Im running a router with multiple ips on an interface using the > inet alias > > issue: > when commenting out configured aliases on hostname.if > after running sh /etc/netstart vio4 > > if you run ifconfig vio4 after the restart of the

sh /etc/netstart interface counter intuitive behaviour with multiple inet aliases 6.4 and 6.3

2018-12-06 Thread Tom Smyth
Hello, Im running a router with multiple ips on an interface using the inet alias issue: when commenting out configured aliases on hostname.if after running sh /etc/netstart vio4 if you run ifconfig vio4 after the restart of the interface the old aliases that were commented still appear in