VLAN to individual port

Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC based Hardware
Author Message
lewiseason
DD-WRT Novice


Joined: 29 Jul 2012
Posts: 1

PostPosted: Sun Jul 29, 2012 17:12    Post subject: VLAN to individual port Reply with quote
Hello,

I've tried searching around on the forum, but wasn't able to find anything that solved my specific problem.

I would like to have a virtual WLAN (ra1) which is on its own VLAN. In addition, I would like to map one (or more) of the ports on the router to the same VLAN, so that I can connect a number of wired and wireless devices together on that VLAN.

The rest of the router (as well as ra0) are set up to be a part of the normal network.

The hardware is D-Link DIR615 D4

Thanks,
Lewis
Sponsor
vasek00
DD-WRT Guru


Joined: 06 Nov 2010
Posts: 3312

PostPosted: Mon Jul 30, 2012 13:11    Post subject: Re: VLAN to individual port Reply with quote
lewiseason wrote:
Hello,

I've tried searching around on the forum, but wasn't able to find anything that solved my specific problem.

I would like to have a virtual WLAN (ra1) which is on its own VLAN. In addition, I would like to map one (or more) of the ports on the router to the same VLAN, so that I can connect a number of wired and wireless devices together on that VLAN.

The rest of the router (as well as ra0) are set up to be a part of the normal network.

The hardware is D-Link DIR615 D4

Thanks,
Lewis


D-Link DIR615 D4 - the RT3052 chip therefore it is possible to use chip registers for LAN port wrest from switch in separate VLAN is set.
Look at a forum.

example:

#LAN1 - separately from switch and VLAN=3
switch reg w 70 48ff5067
switch reg w 44 3001

#LAN1 in VLAN3
vconfig add eth2 3
ifconfig vlan3 192.168.0.99 netmask 255.255.255.0 up

further to set up vlan1 (LAN2-LAN4), vlan2 (WAN), vlan3 (LAN1) among themselves through iptables and vlan3 on Internet connection.

now we want to create br1
http://www.dd-wrt.ca/wiki/index.php/Multiple_WLANs
we receive two wi-fi of the ra0 and ra1 interface.

br0 = vlan1 + ra0
br1 = ra1

let's add in br1 vlan3 (LAN1) port
br1 = vlan3 + ra1

#LAN1 - separately from switch and VLAN=3
switch reg w 70 48ff5067
switch reg w 44 3001

# br1 = vlan3 + ra1
vconfig add eth2 3
brctl addif br1 vlan3
ifconfig vlan3 up
Code:

root@My-Fan:~# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000....                     yes                  vlan1
                                                                        ra0
br1             8000....                     yes                  vlan3
                                                                        ra1
root@My-Fan:~#
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Ralink SoC 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