Related to, but expended on an earlier question of mine at Route all traffic over Fiber VLAN
The fiber internet works nicely, this is the setup;
Media Converter
|
+--- Ubuntu Server
|
+--- Switch --- Desktop 1
| Desktop 2
| NAS
|
+--- Wifi ----- Laptop 1
| Laptop 2
| Android 1
|
+--- Switch --- TV
Steam Link
Set Top Box
And this is the network configuration
# The primary network interface, Internet
auto enp5s0
iface enp5s0 inet manual
auto enp5s0.300
iface enp5s0.300 inet manual
auto enp5s0.640
iface enp5s0.640 inet manual
auto br1
iface br1 inet dhcp
dns-namerserver 192.168.40.12 1.1.1.1
bridge_ports enp5s0.300
bridge_stp off
# Lan
auto eth0
iface eth0 inet static
address 192.168.40.12
netmask 255.255.255.0
This works for internet. But the Set Top Box needs be on VLAN 640. The switches are managed, they should be able to handle that. But getting the Ubuntu server to send VLAN 640 over it's eth0 interface is proving difficult. If I simply add bridge_ports enp5s0.640 to the br1, the br1 gets the IP for VLAN640.
So I am not really sure what to do to fix this. Basically, the Ubuntu server should have internet and deliver that to the whole LAN. And then VLAN640 should be delivered to the Set Top Box only for IPTV.