Posted: Sun Jul 29, 2012 17:12 Post subject: VLAN to individual port
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.
Posted: Mon Jul 30, 2012 13:11 Post subject: Re: VLAN to individual port
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.