mhtrinh DD-WRT Novice
Joined: 10 Feb 2020 Posts: 8
|
Posted: Tue Jul 20, 2021 4:52 Post subject: VLANs working until reboot [SOLVED] |
|
This was very helpful : "rc start" at then end of the start up command
I had the exact same issue as in this thread:
- vlan tagging required by ISP
- need to click on "Apply Setting" in Setup > Networking (without changing any settings) after each reboot in order to get a WAN IP
- Netgear WNDR4300v1 running DD-WRT v3.0-r42287 std (02/06/20)
I did not need LAN port segregation so I did not need all the iptable commands.
In case it help, my final set in Administration > Commands > Startup :
Code: | swconfig dev switch0 vlan 2 set vid 10
swconfig dev switch0 vlan 2 set ports '0t 5t'
swconfig dev switch0 vlan 1 set ports '0t 1 2 3 4 5t'
swconfig dev switch0 set apply
vconfig add eth0 10
ifconfig vlan10 up
rc start |
|
|