Joined: 26 Jan 2010 Posts: 4 Location: Seattle/USA
Posted: Thu Jan 28, 2010 4:18 Post subject: D-Link DIR-825 VLAN Setup
Does anyone know if the D-Link DIR-825 supports VLANs on the LAN ports? There is no VLAN tab in DD-WRT. I have also tried using the command line, and still cannot seem to get VLANs working. I admit that I do not know the linux routing commands that well and have been researching for hours on the right commands to use to create VLANs.
I do not want to spin my wheels if the DIR-815 does not support VLANs, but if it does, I'm very comfortable with using the command line to configure my router.
I'm using:
D-Link DIR-825 Rev B
factory-to-ddwrt_NA.bin
r13637 (01/16/10)
I would like to create a separate VLAN for each of the 4 LAN ports, bridge them across a WDS connection to a second DIR-825 (having the same LAN port VLAN setup). The WDS connection is live and passing traffic (currently 4-5Mbps video stream for testing) over wireless N at 5GHz. Under the web gui Networking Tab I've configured "VLAN Tagging", "Bridging", and "Assign Bridge" on each of the routers, but this does not isolate each of the ports, at all. So, I researched the command line and found enough examples to give it a try.
Here's some of what I've tried so far to get a VLAN active in addition to what I entered via the web gui Network tab (see attached pictures):
nvram set vlan2hwname=et0
nvram set vlan0ports="5*"
nvram set vlan2ports="1 5"
nvram set sub_ifname=vlan2
nvram set sub_hwaddr=$(nvram get et0macaddr)
nvram set sub_proto=static
nvram set sub_ipaddr=10.0.1.2
nvram set sub_netmask=255.255.255.0
nvram set sub_mtu=1500
Also tried without the sub_ designation, but this didn't work either. Should I be using vconfig? Something else?
Am I heading down the right path? Any suggestions on what to try next?
Joined: 26 Jan 2010 Posts: 4 Location: Seattle/USA
Posted: Thu Jan 28, 2010 11:00 Post subject:
This is the scenario I'm trying to get VLANs running on. Basically, I'm creating 4 separate VLANs on the first router, connecting over a WDS connection, that over to the second router where I've mirrored the 4 separate VLANs. Why am I doing this? There actually is a business case for it.
Joined: 26 Jan 2010 Posts: 4 Location: Seattle/USA
Posted: Thu Jan 28, 2010 21:10 Post subject:
I understand networking, just not used to the linux routing & syntax. I guess I'm just spoiled by the ease of use of the Cisco IOS configuration. Been doing that for more that 15 years.
Believe me, I understand the OSI model, layer 2 switching/bridging and layer 3 routing. Still remember a bit about IGMP and multicast routing (RPF).
So, I'll continue to learn the linux side of routing. Think I'll do a "before and after" diff of the config of a linksys WRT610 that does seem to support VLANs; at least from a gui perspective.
So the question still remains. Is the DIR-825 known to support VLANs?
So the question still remains. Is the DIR-825 known to support VLANs?
Thanks.
Did you ever get an answer to this qustion? I'm currently interested in the 825 for transfer speeds but haven't found an answer myself. I think only Broadcom devices support the GUI tab in DD-WRT..
I prefer the dd-wrt interface, it's much better for someone who isn't much of a linux person, like myself. But I got everything working I wanted, save for SNMP.
I thought that openwrt and dd-wrt were based on similar codebase, so I imagine getting VLANs working on DD-WRT is possible, just a matter of priorities.
I prefer the dd-wrt interface, it's much better for someone who isn't much of a linux person, like myself. But I got everything working I wanted, save for SNMP.
I thought that openwrt and dd-wrt were based on similar codebase, so I imagine getting VLANs working on DD-WRT is possible, just a matter of priorities.
Looking for an update on this. User Drek said on his dir-825 rev B and on r23919 that there's a vlan settings page under setup/networking but he hasn't used it.
I found a post in the porting thread that said to go to http://192.168.1.1/Vlan.asp and the vlan page will come up. Anyone know if this is true and could test it if the existing tab is just the VLAN Tagging settings?
Got my DIR-825 the other day. It doesn't have a tab for VLAN but going to http://x.x.x.x/Vlan.aspDOES bring up the page where I can change port 4 from being on vlan0 to vlan 2 (vlan1 is WAN port). I can save this it seems, but the problem is that the Networking page, where I'd unbridge port 4, give it an IP address, and then turn on DHCP, is different.
Posted: Mon Mar 20, 2017 22:50 Post subject: How can I setup inter-vlan routing with the Luci interface
Hi!
I have created two vlan's: one is 192.168.10.1 and second one is 192.168.20.1 - If I connect a PC to each vlan, I am getting the proper IP address that was setup on the interface. Now from vlan 10.1 if I try to ping 192.168.20.1 it does not ping. From vlan 20.1 if I try to ping 192.168.10.1 it does not ping. Creating routes does not resolve the issue. On commercial router there is always a Inter-vlan checkbox that we can use if inter-vlan routing is needed but how can it be done Under OpenWRT?