Question Locked

VLANs and Linksys RV016 with Remote Desktop

0 helpful
31 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have two VLAN's on a single Linksys RV016. I also have two cable modems, with separate IP addresses in the real world. There's a network printer on VLAN1 that needs access on VLAN2 as well, but I'm not sure how I could arrange that as it can't have an additional ethernet port. Also, as one PC has ethernet to BOTH VLAN's, as does my server, I can net use to a machine on the other VLAN, but I can't use Remote Desktop to get there. I can always flip the printer to the other VLAN as needed, but getting the Remote Desktop to work is far more important at the moment. I'm willing to make a long-distance call to talk with someone about the details, and I can be reached on my forum at http://iraqidinar.debtfreenewsblog.com by PM (private message) to: admin.

Steve

31 replies

by robo_dev

So it cannot route between vlans.

To do what you want, you would need to route between the two different networks.

You could enable routing in your server, and use it to establish the necessary routes.

The easier solution might be to invest in a layer3 switch like a Cisco that can do layer3 routing between multiple vlans in the same device.

by sgmunson

Since the server has connections to both, as does a client PC, how do I restrict the traffic so that I don't end up with two paths to the real internet? I'm not familiar with the layer numbers and what being in a particular layer means, but investing in what is probably a $1,000 device would be fiscally impractical. If such a device could be had for less than $100 I could consider it, but I would much prefer to avoid any additional expenditure right now. I would need to know the details on how to set up the routing on the server. I've looked at my client PC, and XP Pro provides a "Network Bridge" functionality, but I couldn't see any way to restrict traffic. If the server has a similar functionality to enable routing, I'll need details on how to restrict the traffic. Thanks!

by cg it

because the router you have is geared for the SMB market [business class] and not a consumer level router. VLAN support in these types of routers allows for configuring the ports as trunk ports, access ports, and general ports and can include tagging.

So you can effectively limit inter-VLAN routing between VLANs but each VLAN will use the router as it's gateway. you can't change that. your 2 ISPs connections aren't going to do you any good unless you have the Dual WAN port router which can load balance or provide failover.

As far as Remote Desktop, you need to forward port 3389 to whatever computer you want remote desktop. The router will then take traffic on port 3389 and forward it to the computer IP address you specify.

Because this is a layer 3 device [router] it will route between VLANs to get the Remote Desktop traffic to the specified computer. However, unless configured to allow inter-VLAN routing, it will prevent computers on 1 VLAN to connect to computers on another VLANs.

by robo_dev

if you're looking to do some fairly advanced networking design, you need to study up on the technology, or the chances are you'll hose it up to the highest level of hosed-ness.

OSI model:

Layer2 (Link layer) = Ethernet, VLANs, bridging, WLAN

Layer3 (network layer) = Routing, TCP/IP, DHCP,
http://en.wikipedia.org/wiki/OSI_model

You most definitely DO NOT want to Bridge between VLANs or you've made two VLANs into one (Bridging is a layer2 protocol)

XP Pro can be configured to to routing, but it's not well documented.

http://www.wikihow.com/Enable-Windows-Xp-Routing-&-Check-That-It-Works!

With a router, you create routes. In any devices that are connected there is one defined default route that traffic will take, and in some cases you can define a 'static route' to direct traffic to a particular destination. You restrict traffic with a router by routing it....

With all that being said, routing between VLANs can be very complex. There can be issues with how the DHCP services are provisioned, and exactly how and where static routes need to be added, etc, etc.

by robo_dev

in the appendix or glossary...are we talking about the same device?

by cg it

ha ha called up the wrong router.

The RVL200 supports VLAN on the switch port.

Humm so hows he doing VLANs?

by sgmunson

RV016 supports at least two WAN ports, and up to 6 or 7 I think, with load balancing features. It also supports VLANs. The real problem with the docs is the lack of technical detail on WHY one might choose to do something. How to do it is almost obvious from the admin pages in the router, but if you don't know what the results would be or why one would want to use a particular feature because you don't have the intimate networking knowledge, life can be "interesting". I've been in the computer industry for 30 years, and I know a LOT of technical detail, especially in the software and hardware arena for PCs, but never had much detail exposure to networking. I'd like to think that, once explained, I would understand quite readily.

Steve

by sgmunson

The problem with the docs is they only say how to do something, and often don't give any info on why you might use the feature, or if there are limitations that might not be obvious to those who aren't intimately familiar with how networks operate. I tried forwarding port 3389 to the specific computer I wanted to control, and that failed to allow me to remotely control that machine from the PC with connections to both VLANs. The funny thing is that I can successfully NET USE to the computer on the other VLAN (from the PC connected to both), so obviously, SOME level of traffic is managing to make the trip between the two. I'd really love to talk to someone so I can explain in detail what I know vs. what I don't know, so that perhaps some level of my understanding will reach the point of figuring out how to make things work. I have a forum at http://iraqidinar.debtfreenewsblog.com where one can register and then send a PM to "admin" with a number I can call or a request for my number.

Steve

by cg it

like how are you accomplishing VLANs. The RV016 doesn't say it provides VLAN configuration for ports just that it allows certain ports to be configured as WAN ports [up to 7].

This is a VPN router and operates like any other consumer level router with the exception of supporting a large # of VPN connections and configuring LAN ports as WAN ports.

With that port forwarding for remote desktop through the router to a computer connected to 1 of it's switch ports ought to work.

So, not enough information to understand where the problem might be and suggest a solution.

Sorry but I don't join forums like debtfreenewsblog.com to answer IT related problems.

by sgmunson

The Port Management screen provides a drop-down for each port as well as a checkbox to enable VLAN to begin with. Each port defaults to VLAN1, and every non-WAN port could be in it's own VLAN, so the max number of VLAN's is 13.

As to my specific connectivity - I have my main PC connected to two different ports: one on each VLAN. The same is true for the server. The PC that I can NET USE to but not remotely control is on VLAN2. WAN1 is connected to one cable modem, and WAN2 is connected to a 2nd cable modem. The RV016 is the only network device other than the cable modems. Neither the main PC nor the server are configured to do IP Routing at this point. ALL the PCs are using DHCP through the router, including the 2nd connection on the main PC, and the server has two static IPs on the same subnet as everything else. The server is WIN2K3 Enterprise Edition. Is there any other info that you need that I haven't provided?

Steve

by sgmunson

I just realized that the Linksys site's doc on the RV016 makes no mention of a feature that's been there on the router since at least firmware 2.0.10 (I have 2.0.18, the latest). My primary problem is a lack of knowledge of networking details. The router has the feature, and it clearly stops me from getting to the other PC altogether unless I connect myself to both VLANs. It would appear that I need to somehow make my server be the only device connected to both, and then configure it to control the traffic so that the internet bound traffic never crosses that "bridge", but all local traffic does. Any and all help appreciated.

P.S. I was unable to reply at the lower message level due to some limitation on message levels.

Steve

by sgmunson

This is a start on the knowledge gap, but I'm going to need technical detail, as I currently find myself able to NET USE to the computer I want to remotely control, so some traffic is obvioulsy getting there, and I tested disabling the router port where the controlling PC connects to VLAN2, and that cuts off access to the NET USEd drive letter, so the traffic is passing through that connection for the NET USE. All help appreciated, and see my other reply for details on how I can be contacted or given a phone number to call. Thanks!

Steve

by cg it

doesn't indicate it supports VLANs.

It does support grouping of VPNs by ports but VPN isn't VLAN.

VPN is virtual private networking used for secure communications between computers via the internet.

VLANs are a way of group computers on a Local Area Network into a logical structure with their own subnet. An example would be grouping computers in the accounting department into it's own VLAN which has it's own addressing.

So nope, not enough information. Either your confusing VPN with VLAN or you have some other device on the network that supports VLANs or your talking about a different linksys router model that supports VLANs or a Linksys Web based or fully managed switch which does support VLANs but then that would connect to the RVO16.

by cg it

supports VLANs.

from linksys's web site:

To route packets between different VLANs, enable the
Multiple VLANs option on the Multiple VLANs screen, and
then select the VLANs on the Inter-VLAN Routing screen.
DHCP > Inter-VLAN Routing
Inter-VLAN Routing
VLAN1-4 Select the VLANs that can route packets to each
other. For example, if you select VLAN1 and VLAN2, then
packets can be routed between VLAN1 and VLAN2, but
packets cannot be routed between VLAN3 and VLAN4.
Click Save Settings to save your changes, or click Cancel

by sgmunson

I have a .bmp file with a screen shot of the Port Management menu, but where should I post that, as it appears there's no way to do so here...

Steve

by cg it

allows you to post a pic free.

by cg it

not worth the hassle. There's easier ways to accomplish what you want to do without a lot of complication and to make what you want to work with that RVO16 that doesn't have inter-VLAN routing support just seems to complicated.

by sgmunson

Try to keep in mind that additional expenditure on equipment just isn't justified. I'd also like to know WHY you think routing through the server is too complicated...

Steve

by cg it

here's a screen shot of the VLAN membership page on a linksys router that is VLAN capable.

http://i141.photobucket.com/albums/r79/Danna120/Linksys-VLAN.gif

So maybe Linksys forgot to add in VLANs and VLAN membership configurations with their firmware upgrade. I searched their boards as well and nothing on VLANs.

If you don't need 16 ports meaning you have a switch you can use and still want VLANs without having to invest heavy $$ on a managed switch, try the RVL200. VLAN capable with a 4 port switch which means you can connect up to 4 ports to 4 different non managed switchs and effectively create 4 VLANs. You can then specify which VLANs can communicate with each other by the method I posted earlier.

Not a dual WAN router though so might not be an option for you.

again, best to contact linksys about this and let them know you don't have a way to configure your RVO16 router for inter-vlan routing between 2 VLANs. maybe they can shed light on this.

by sgmunson

And I may need to talk to them again. At the time I contacted them, I wasn't anywhere near as close to solving my problem as I am now. They did suggest that I route between the VLANs using my Win2K3 server. However, while I have now activated IP routing on the server, and added what I'm hoping are appropriate filters to prevent problems, I still find myself unable to NET USE unless my PC has a connection to VLAN2 in addition to it's VLAN1 connection. Even with that additional connection in place, Remote Desktop fails to operate. I could use some help in at least understanding whether I need to add a static route, and if so, exactly how. Also, it would help to know if I might just have a DNS problem. My Win2K3 server does not have DNS active. I've been entirely relying on however DNS operates through the router. All the PC's refer to the router for DNS, as does the server. If that needs to be turned on and configured on the server, I could use detailed instructions on exactly what needs doing, along with the "why" associated with each logical step so that I understand the ramifications of what I'm doing.

Steve

by sgmunson

Yes, I have two NICs in my server as well as two in my primary PC. Because of the VLAN setup, my secondary PC would not be able to see the server if the server wasn't connected to both VLAN's. The primary PC is unable to NET USE to the secondary PC unless it has a connection to the 2nd VLAN in addition to it's connection to the 1st one.

I would prefer to think that if I can just setup the routing correctly on the server, then I can eliminate the 2nd NIC in the primary PC, as well as not need to switch the network printer to VLAN2 to allow the secondary PC to print to it.

The primary reason I'm doing this is to allow the secondary PC to have a separate IP address to the outside world from my primary PC. It's essential for some of the work that I do. Unfortunately, the only way I can get a 2nd IP address from my ISP at a reasonable cost is to have a 2nd cable modem, which, as indicated before, sits on WAN2 of the RV016.

I've setup routing on the Win2K3 server, but it doesn't appear to be accomplishing the intended task.

Steve

by sgmunson

As to the printer, it's an independent network-based printer, and is NOT used as network share because it doesn't need to be. The network drivers came with the printer, and I just install them on any PC that needs access.

The need to have separate IP addresses is fairly new, and didn't exist back when I found a really good deal on the RV016. The RV016 was indeed bought for it's 16 ports, of which I occupy all but four. I have two additional PCs on the network that use VPN passthrough, and don't need access to any resource other than the internet. Then there's the network printers(2), the Vonage adapter, the two server NICs, the two primary PC NICs, the laptop, the testbench port, and the secondary PC, for a total of twelve. My BEFSR81 was the previous device, and it was maxed out. At the time, the need was for at least 10 ports (no 2nd NICs in any one machine), and I was tiring of swapping out the printer for the laptop or testbench. While I still have it handy, it sits in reserve as a spare in case of a hardware failure.

So I got the RV016 for its port capacity more than anything else, and now that I have it, it would be unnecessary expenditure to get another device, especially if routing through the server can solve the problem. As I indicated before, I've invoked the routing feature, but I have little doubt that I have yet to correctly configure it to do what's needed.

Steve

by cg it

when you say additiona connection what does that mean? are you using 2 NICs ?

Another question, why are you doing this in the first place? Just out of curiosity...

Linksys certainly isn't the first mfg I would go to for equipment that does VLANs.

you don't need DNS running on your network.
your ISP provides DNS server for internet connectivity.

by cg it

why the RV016?

do you really use all 16 ports?

you could accomplish everything you want including Remote Desktop with just 2 consumer level routers and remote in over the internet.

I understand you want to use the printer attached on one PC which would be associated with 1 internet connect, with the other PC which is on a different internet connection, but you can do this with XP Pro.

here's a MS Technet article on internet printing...http://technet.microsoft.com/en-us/library/bb457170.aspx

you can also have printing with remote desktop.

http://support.microsoft.com/kb/312135

just my 2 cents....

I personally think Linksys goofed if they didn't provide inter-VLAN routing in your RVO16 yet provide the VLAN capability.

by cg it

if the existing equipment doesn't accomplish or can't accomplish what you want it to.

you want VLANs to seperate out some computers from each other [create seperate subnets], yet also want resources available on one accessible by the other, and vice versa. So the question is why? you can secure network resources from aunauthorized access by using NTFS permissions without having to use VLANs. VLANs create more administrative effort and complexity than simply securing resources using NTFS permission. VLANs are a software solution for creating subnets without having to place a router between each subnet, thus mitigating the proliferation of routing equipment in the equipment room. One can imagine a company wanting to seperate out its various departments computers from each other and for each department there's a router breaking up each departments into seperate broadcast domains and the associated switches for each deparments computers. Lots of equipment and lots of administrative effort. VLANs allow this breakup using switches and where necessary, allow inter-Vlan routing [collaboration effort]

For your purposes, you have 2 VLANs to create 2 subnets on a approximately $400.00 router that doesn't provide interVlan routing. To achieve 2 subnets and to also support 2 WAN connections, you could have purchased one perimeter router that supports dual WAN, and one other router that creates a seperate broadcast domain with a seperate subnet and a 8 port switch for the price of the RVO16. It's far easier to configure the the 2 routers to allow traffic between them than to try and get interVlan routing to work with your RVO16 which seems to not support it or to use the Windows Server which really isn't supposed to be a router. If the server ever goes down, you've lost your routing capability let alone what's store on the server. you can't just simply put another server or workstation online move files/folders over and your back in business. you would have to once again configure the new box to be a router. Routers on the other hand usually don't fail like computers do, don't do anything but what their inteneded to do, don't store file and folders and are cheaper than computers to replace should they fail.

Just my opinion.

For routing with your Windows Server, you can use routing and remote access to achieve the desired results.

here's a MS Technet article on routing.

http://technet2.microsoft.com/WindowsServer/en/library/63158f32-9fcd-42ea-ba2f-8008bb7bb5241033.mspx?mfr=true

Near the end of the article is a link for routing and remote access. here's the link

http://technet2.microsoft.com/WindowsServer/en/library/63158f32-9fcd-42ea-ba2f-8008bb7bb5241033.mspx?mfr=true

by robo_dev

I don't think it's possible to do inter-VLAN routing with that device. I believe the switch part is Layer2 only (multiple physical VLANs).

It takes a lot of RAM and processor to route on both the WAN interfaces and also do Layer3 routing on the LAN side.

A windows XP Pro machine (IMHO) is not the best lan-to-lan router, but it can be done.

A windows box is very limited when it comes to simple everyday router tasks like port redirection, access control lists, etc. It's kinda like asking if a honda accord can work as a tow-truck...well yes, sort of.

If I were advising a small business, I would recommend something like a small cheap lan-to-lan router like a Cisco 1600, or use some wired soho netgear for this purpose.

And don't forget that there are MANY open source routers that will run on an old PC (FreeSco, Linux Router Project, etc).

by sgmunson

I decided to try another tack, which involved setting up the old BEFSR81 as the router for the 2nd cable modem, and eliminating the VLAN's alltogether. This setup now uses two different subnets, whereas the VLAN setup I had was only using one. Thus I moved the 2nd NIC for the server to the BEFSR81, along with the 2nd NIC for the primary PC. Now, the only thing that doesn't work is printing to the network printer that's on the RV016 from the PC on the BEFSR81. I've tried numerous attemtps at static routes on the Win2K3 server, and even eliminated all the filters, and still no luck. I even tried just plugging in an Ethernet cable between the two routers. I'm 99% of the way there, but if I can't find a solution, I'll be forced back to the VLAN scenario and it's rather annoying problems.

Steve

by cg it

you mention having 2 VLANs with the same address and that's now how VLANs work. VLAN1 in Cisco terms is the default VLAN that all ports belong to. From this you can create new VLANs and assign ports to them. you also assign an address to the second VLAN which is different than the address assigned to the default VLAN1. The RVO16 should provide you with configuration screens like the one I posted which allow you to specify port typess, VLAN membership, etc. so that you can effectively subnet out your different devices [different addressing] and also provide inter-VLAN routing between those subnets.

here's a tutorial on IP subnetting.

http://www.ralphb.net/IPSubnet/

it might be all you need to do for VLAN2 is subnet.

but since you've now segregated out your 2 Internet Connections, it's probably easier to get traffic between the two AND provide internet printing ....

Just setup remote desktop for the comp on the BEFSR81 from the comp on the RVO16 [port forwarding]and vice versa...

you can also enable internet printing....

With collaboration tools and programs today, take your pick on which to use for sharing...

here's an article on how to setup internet printing on W2003 Server.

http://support.microsoft.com/?id=323428

and this on internet printing for XP

http://support.microsoft.com/kb/307847/en-us

by sgmunson

My final fix was a bit of a DUH !!!

Once I realized that I had the NET USE working in one direction, I figured it most likely worked in the opposite direction, so I just shared out the network printer from the primary PC, and connected the secondary PC to that shared printer. Problem solved, with no further routing concerns. I was able to disable routing on the Win2K3 box, and that's one less headache to worry about.

In any case, I've gotten one heck of an education on this topic. It's a shame I never got to the point of understanding the routing details, as that would have been pretty nifty, but given that my problem is solved, I can instead relish the victory over what initially seemed an intractable mess and a half.

I think I'll try and push LinkSys a little though, and see if they can incorporate VLAN routing in a firmware update for the RV016.

For details sake, here's the final config:
==========================================
RV016:
- Primary PC NIC #1
- Win2K3 Server NIC #1
- Vonage Adapter
- Network Printer
- VPN Passthrough machine #1
- VPN Passthrough machine #2
- Testbench port (open)
WAN: Cable Modem #1
==========================================
The RV016 has no VLAN's enabled and is the 1st subnet.
==========================================
BEFSR81:
- Primary PC NIC #2
- Secondary PC
- Win2K3 Server NIC #2
WAN: Cable Modem #2
==========================================
The BEFSR81 blocks all internet traffic to every port except the secondary PC, and is the 2nd subnet.
==========================================

Thanks everyone !!!

Steve

This discussion is closed to new replies.