I've been searching through the internet for a while now. And trying things. I can't get this to work.
I setup two VM's with virtualbox bridged to eth0 interface. One running Ubuntu Sever and the other running Ubuntu Desktop. Both version 14.
I am trying to set it up for ipv6.
Server:
auto vlan80
iface vlan80 inet6 static
address 2001:aaaa:bbbb:1::1
netmask 64
vlan-raw-device eth0
auto vlan90
iface vlan90 inet6 static
address 2001:aaaa:cccc:1::1
netmask 64
vlan-raw-device eth0
I setted ipv6 forwarding to 1 on sysctl.conf in the server.
I have two vlans. VLAN 80 and VLAN 90. Ubuntu server is acting like a ROUTER, it is the gateway for both vlans. There is communication inside the vlans. Hosts in the vlan can communicate with each other, and they can ping their gateway. Both VLANS are DIRECTLY connected to the router.
But there is NO communication between different vlans. The router is not forwarding packets between vlans. I cannot ping from interface vlan80 to interface vlan90 using the command "ping -I vlan80 2001:aaaa:cccc:1::1". It says the network is unreachable.
Screenshot of ifconfig and the ping i am trying to achieve. https://i.sstatic.net/x0Tdg.jpg