I need to set up DHCP for several VLANs. The server has 1 physical interface (bnx1) available for this.
My naive thought is I create the vlans with bnx1 as the "parent", e.g. /etc/hostname.vlan101: inet 172.16.101.253 255.255.255.0 NONE parent bnx1 vnetid 101 /etc/hostname.vlan102: inet 172.16.102.253 255.255.255.0 NONE parent bnx1 vnetid 102 /etc/hostname.vlan103: inet 172.16.102.253 255.255.255.0 NONE parent bnx1 vnetid 103 bnx1 is connected to switch port with all three VLANs tagged. Then, rcctl set dhcpd flags vlan101 vlan102 vlan103 Is there a better approach? Allan