Posted: Sun Oct 18, 2020 2:55 Post subject: 3200acm Routing to vlans help needed.
Hello everyone,
I have read a lot of posts about vlans on Marvel boards and followed SurprisedItWorks thread on how to setup vlans, and I believe have done it, but i am having troubles routing to my newly created vlan2 now (or im just an idiot)
Scenario: (omitting 192.168)
My router and all my network is at .0.0/24 , router ip is .0.1
Port 4 of the switch is connected to another switch that has .1.0/24 , and i don't want that network to reach any of my hosts, but I need to reach them.
I then crated a vlan3 to isolate port 4 on the switch, and that seems to be working, port 1/2/3 are still bridged on vlan1, wan is working properly on vlan2 and vlan3 only has port 4 (hardware port 0) isolated.
Code:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "6 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4"
swconfig dev switch0 vlan 3 set ports "6t 0"
swconfig dev switch0 set apply
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth1 3
ifconfig vlan3 up
Now I guess that I'm missing some routing information so hosts in br0 (which has router ip 0.1) can reach hosts, specifically .1.1 and .1.2 on the vlan3 network
From the ddwrt itself i can ping 192.168.1.2 without problems, and its reaching the entire .1.0/24 as desired, i just need to be able to do the same from hosts on my lan .0.0/24
I tried adding vlan3 a ip on that network, but still no luck
Little update
I was able to reach .1.0/24 network from the router if I untag the port 0 on the vlan 3, I actually edited the original post to simplify.
Now i just need to reach .1.0/24 from the br0 or lan
Is there any net isolation set up? _________________ Linksys: Several WRTxx00AC variations | Netgear: 4x WNDR4500v2, 7x WNDR4300, R6400v1 | Asus: 2x RT-AC66U | Gl.inet: 3x GL-AR150
Not at the moment. I did try to setup net isolation from the gui bit didn't make any difference as well as bridge. I tried creating a br1 and adding eth1 and vlan3 but that didn't work. I did tried to add vlan3 to existing br0 bridge which would think it worked but nope. It didn't
I have it set up with three VLANs connected to separate bridges, and that works, so I am guessing you are missing something. Looking at your commands above, you are not attaching the VLAN to a bridge.