VLAN tagging

Not used in my case, but VLAN tagging can be configured on the WAN interface if required. This may be needed for example in a GPON service where the RG is connected to an NTU that expects a VLAN tag.

root@voyage:~# cat /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0.10
iface eth0 inet dhcp
post-up pon eircom

auto eth1
iface eth1 inet manual

auto eth2
iface eth2 inet manual

auto wlan0
iface wlan0 inet manual
hostapd /etc/hostapd/hostapd.wlan0.conf

auto br0
iface br0 inet static
address 192.168.11.254
netmask 255.255.255.0
network 192.168.11.0
broadcast 192.168.11.255
bridge_ports eth1 eth2 wlan0
bridge_stp off
up nat.sh br0 eth0 “192.168.11.0/24”
Advertisements