mrblack1134
New Around Here
Hi all,
I currently have a simple cable modem setup for my internet access:
PC <-> [LAN port] RT-AC86U [WAN port] <-> Cable modem <-> Internet
I'm tempted to switch to fiber and am told that the provider (Bell/ebox) provides both a Nokia modem (ie. an ONT) and a pre-configured router.
I'm told that I can use my own router (I have Merlin configured on my RT-AC86U, with openvpn's, samba shares, etc.), but that I'll need to tag the packets with VLAN 40 on the WAN port for the modem.
I'm trying to achieve this:
PC <-> [LAN port] RT-AC86U [WAN port with tagged VLAN 40] <-> Fiber modem <-> Internet
I've done some research and I seem to have found two approaches:
1. Enable dual WAN, set Primary WAN as say Lan port 3, and use the 'Lan -> IPTV' menu to do VLAN tagging on Lan port 3 (see: https://www.asus.com/us/support/FAQ/1034366/)
2. Manual approach using vlanctl (see: https://www.snbforums.com/threads/a...-by-u128393-i-found-on-a-chinese-forum.63113/)
With the first approach, it seems like I would lose a port on the router (ie. I won't be able to use the WAN port for anything else after).
With the second manual approach, I'm not quite sure how it would work. It seems I'd have to do something like this on startup to setup the eth0.v40 interface:
and then somehow convince Merlin to use eth0.v40 as the wan interface?
Am I in the right direction? do I need bridges or anything else? I'm assuming DHCP/DNS/etc. would all magically work since everyhing in Merlin is based on the wan_ifname nvram variables?
Thanks for the help!
I currently have a simple cable modem setup for my internet access:
PC <-> [LAN port] RT-AC86U [WAN port] <-> Cable modem <-> Internet
I'm tempted to switch to fiber and am told that the provider (Bell/ebox) provides both a Nokia modem (ie. an ONT) and a pre-configured router.
I'm told that I can use my own router (I have Merlin configured on my RT-AC86U, with openvpn's, samba shares, etc.), but that I'll need to tag the packets with VLAN 40 on the WAN port for the modem.
I'm trying to achieve this:
PC <-> [LAN port] RT-AC86U [WAN port with tagged VLAN 40] <-> Fiber modem <-> Internet
I've done some research and I seem to have found two approaches:
1. Enable dual WAN, set Primary WAN as say Lan port 3, and use the 'Lan -> IPTV' menu to do VLAN tagging on Lan port 3 (see: https://www.asus.com/us/support/FAQ/1034366/)
2. Manual approach using vlanctl (see: https://www.snbforums.com/threads/a...-by-u128393-i-found-on-a-chinese-forum.63113/)
With the first approach, it seems like I would lose a port on the router (ie. I won't be able to use the WAN port for anything else after).
With the second manual approach, I'm not quite sure how it would work. It seems I'd have to do something like this on startup to setup the eth0.v40 interface:
Code:
vlanctl --mcast --if-create eth0 40
vlanctl --if eth0 --rx --tags 1 --filter-vid 40 0 --pop-tag --set-rxif eth0.v40 --rule-append
vlanctl --if eth0 --tx --tags 0 --filter-txif eth0.v40 --push-tag --set-vid 40 0 --rule-append
ifconfig eth0.v40 up
and then somehow convince Merlin to use eth0.v40 as the wan interface?
Code:
nvram set wan_ifnames=eth0.v40
nvram set wan_ifname=eth0.v40
nvram set wan0_ifname=eth0.v40
Am I in the right direction? do I need bridges or anything else? I'm assuming DHCP/DNS/etc. would all magically work since everyhing in Merlin is based on the wan_ifname nvram variables?
Thanks for the help!