WAN VLAN on eth1.2

currently i am running an WRT1200AC as OpenWRT Router, this Model just have one WAN Port (eth1).

i have two Uplinks.

first ubnt Litebeam AC - Static IP: 192.168.2.33/24 - VLAN Tag: 20
second: Cable Modem - DHCP - VLAN Tag: 30

is there an way to use both on OpenWRT? may with VLAN?

current network Settings:

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.9.1'

config interface 'wan'
        option ifname 'eth1.2'
        option proto 'static'
        option ipaddr '192.168.2.33'
        option netmask '255.255.255.0'
        option gateway '192.168.2.1'
        option dns '192.168.2.66 192.168.2.1'

config interface 'wan6'
        option ifname 'eth1.2'
        option proto 'dhcpv6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option macaddr '00:50:56:F4:59:13'
        option auto '0'

Yes, you can use them both.
First post the following: uci show network
I advise you to install mwan3 package to manage the multiple upstream connections efficiently.

thanks i will looking into.

So i found an easier way - changed Switch Port 4 (of eth0) into an extra Port.

2 Likes

That's right.

is the cpu tagged correct? should be tagged cpu (eth1) ?

I wouldn't tag a LAN port on the WAN eth port.

so he created a wan2 interface on a lan port, shoud this interface be tagged as per wan interface?

He can use eth0.5 as physical interface of WAN2 interface and plug the cable on physical port 4 of the router, if that is what you are asking.

2 Likes

i tried also tagging (on WRT1200).
i only got an high load on the router and high pings, so i think tagging is not recommended.

Where did you try the tagging?
The other side must also support tagged frames, otherwise it will not work.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.