Re: vether vs. tap, initialization order, etc

2021-04-24 Thread Chavdar Ivanov
On Sat, 24 Apr 2021 at 20:11, Martin Husemann wrote: > > On Sat, Apr 24, 2021 at 03:19:16PM +, nia wrote: > > Thank you! This works great, I'll make note of it in the NetBSD Guide's > > section > > on networking. > > Another option (as rjs hinted) is to only have a vether0.ifconfig (I did > t

Re: vether vs. tap, initialization order, etc

2021-04-24 Thread Martin Husemann
On Sat, Apr 24, 2021 at 03:19:16PM +, nia wrote: > Thank you! This works great, I'll make note of it in the NetBSD Guide's > section > on networking. Another option (as rjs hinted) is to only have a vether0.ifconfig (I did that with bridge0.ifconfig for other setups) and use ! lines to do the

Re: vether vs. tap, initialization order, etc

2021-04-24 Thread nia
On Sat, Apr 24, 2021 at 07:57:30AM -0700, Jason Thorpe wrote: > > > On Apr 24, 2021, at 5:42 AM, nia wrote: > > > > I wonder if there's an initialization order difference > > somewhere. > > If you want to have control over the initialization order, you need to set > auto_ifconfig=NO. On one o

Re: vether vs. tap, initialization order, etc

2021-04-24 Thread Jason Thorpe
> On Apr 24, 2021, at 5:42 AM, nia wrote: > > I wonder if there's an initialization order difference > somewhere. If you want to have control over the initialization order, you need to set auto_ifconfig=NO. On one of my systems that has a bunch of Qemu VMs: auto_ifconfig=NO net_interfaces="

Re: vether vs. tap, initialization order, etc

2021-04-24 Thread Robert Swindells
nia wrote: >I just updated our home router from 9.1 to -current because a >roommate wanted to use wg(4). > >I use tap as a bridge endpoint for two NICs that are used for >the LAN. > >I thought I'd be able to copy the configs and do a straightforward >subtitution from tap to vether but this doesn

vether vs. tap, initialization order, etc

2021-04-24 Thread nia
I just updated our home router from 9.1 to -current because a roommate wanted to use wg(4). I use tap as a bridge endpoint for two NICs that are used for the LAN. I thought I'd be able to copy the configs and do a straightforward subtitution from tap to vether but this doesn't work. /etc/rc.d/net