Hello folks,
I have a problem between comunication in VLAN of two openwrt routers.
For some reason there is no communication only from one side.
So i have in a X86 openwrt doing VLAN over eth0.
21: eth0.100@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether bc:24:11:81:41:76 brd ff:ff:ff:ff:ff:ff
with proper routing
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.100
On the other router is not ETH0, it is a bridge over several ports.
18: br-lan.100@br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 80:af:ca:07:74:d4 brd ff:ff:ff:ff:ff:ff
with the proper routing.
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan.100
So basically what i want?
I want that X86 vlan 100 gets dhcp from a internet provider that is attached to LAN4 in the second router. (The cable between the two is in LAN1 port)
How is vlan configured in bridge:
config bridge-vlan
option device 'br-lan'
option vlan '100'
list ports 'lan1:t' (this is the port linking the two)
list ports 'lan2:t'
list ports 'lan3:t'
list ports 'lan4:u*' (here is the dhcp server)
config interface 'lan4'
option proto 'static'
option device 'br-lan.100'
option ipaddr '192.168.100.2'
option netmask '255.255.255.0'
I was using unmanaged, but to be easy to detect where is the problem is, i have configured 192.168.100.1 on X86 and 192.168.100.2 on router 2 to be able to ping to see problems.
Here is the confusing part.
ROUTER2 can ping X86
X86 CAN'T ping ROUTER2.
Any hints?
Thanks in advance