VLANs working until reboot [SOLVED]

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
mhtrinh
DD-WRT Novice


Joined: 10 Feb 2020
Posts: 8

PostPosted: Tue Jul 20, 2021 4:52    Post subject: VLANs working until reboot [SOLVED] Reply with quote
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
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum