Hi Dave, Works! I modified the .gate file to define TRUNKHW (the actual hardware interface) and VLAN and updated TRUNK to be the subinterface. Then I added a few lines to create the subinterface, and the rest of the script now automatically referred to the subinterface. So at least the tap interface, wan dhcp client, and the nat44 setup work with the subinterface. I'm not using any of the other goodies for now, since I want to keep it simple and understandable. I'm using dnsmasq for the DHCP and DNS server, I could add my config to the docs if that would be useful.
Oh reminds me, I also got an input error from the service restart command that supposedly restarts the DHCP server. Not sure why that's there, and if you should be able to execute arbitrary shell commands, or there is some service plugin I did not load. I did find that dnsmasq doesn't like it if you tell it to only bind to lstack before vpp has started for obvious reasons, but the default behavior of binding to all interfaces and rejecting the ones that are not selected works like a treat. (this seems fine since the kernel doesn't know about the WAN interface anyway) Regards, Pepijn
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22386): https://lists.fd.io/g/vpp-dev/message/22386 Mute This Topic: https://lists.fd.io/mt/95859254/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-