Help with VLAN setup on E1200v2 with 33555

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
dreslick
DD-WRT Novice


Joined: 29 Dec 2009
Posts: 29

PostPosted: Tue May 08, 2018 23:52    Post subject: Help with VLAN setup on E1200v2 with 33555 Reply with quote
Hello!

I am trying to implement VLANs in order to separate the credit card machine my business uses from the rest of my network. I have reviewed the switched ports tutorial and cobbled together some other resources. As the title says, I am using 33555 Mega on E1200 v2.

Here is what I had to begin with:

Code:
root@DD-WRT:~# nvram show | grep vlan.*ports
vlan2ports=4 5
vlan0ports=1 2 3 4 5*
size: 23552 bytes (238592 left)
vlan1ports=0 1 2 3 5*
root@DD-WRT:~# nvram show | grep port.*vlans
size: 23552 bytes (238592 left)
port5vlans=0 1 16
port3vlans=0
port1vlans=0
port4vlans=0
port2vlans=0
port0vlans=1
root@DD-WRT:~# nvram show | grep vlan.*hwname
size: 23552 bytes (238592 left)
vlan2hwname=et0
vlan1hwname=et0
vlan0hwname=et0


Here are the commands I issued:
Code:
root@DD-WRT:~# nvram set vlan4ports="1 4 5"
root@DD-WRT:~# nvram set vlan2ports="5"
root@DD-WRT:~# nvram set vlan1ports="0 2 3 5"
root@DD-WRT:~# nvram set vlan0ports="2 3 5"
root@DD-WRT:~# nvram set port0vlans="1"
root@DD-WRT:~# nvram set port1vlans="4"
root@DD-WRT:~# nvram set port2vlans="0"
root@DD-WRT:~# nvram set port3vlans="0"
root@DD-WRT:~# nvram set port4vlans="4"
root@DD-WRT:~# nvram set port5vlans="0 1 4 16"
root@DD-WRT:~# nvram set vlan4hwname=et0


I committed the changes and rebooted the router. \
My goal is to have ports 2 and 3 on network 192.168.1.0 and ports 1 and 4 on 192.168.100.0. So I set up a bridge using the GUI (br1 for VLAN4), configured the DHCPD, and tried it out.

No matter what port I plug into (even the WAN port) I still get 192.168.1.118 as an address. I have shut down the router in between switching ports and disabled and re-enabled my network adapter on my computer. I even set up the iptables so the two bridges can't access each other.

Code:
iptables -I FORWARD -i br0 -o br1 -j DROP
iptables -I FORWARD -i br1 -o br0 -j DROP


I telneted in and checked my settings. Here are the results:

Code:
root@DD-WRT:~# nvram show | grep vlan.*ports
vlan4ports=1 4 5
vlan2ports=5
vlan0ports=2 3 5
size: 24876 bytes (237268 left)
vlan1ports=0 2 3 5
root@DD-WRT:~# nvram show | grep ports.*vlans
size: 24876 bytes (237268 left)
root@DD-WRT:~# nvram show | grep port.*vlans
size: 24876 bytes (237268 left)
port5vlans=0 1 4 16
port3vlans=0
port1vlans=4
port4vlans=4
port2vlans=0
port0vlans=1
root@DD-WRT:~# nvram show | grep vlan.*hwname
size: 24876 bytes (237268 left)
vlan2hwname=et0
vlan1hwname=et0
vlan4hwname=et0
vlan0hwname=et0


What have I done wrong? What are the next steps? Is there another version I can use?
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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