Link to home
Start Free TrialLog in
Avatar of bgwinner
bgwinner

asked on

I want to share one printer between two LANS

LAN #1:

Wired
Default Gateway is 10.10.1.1
Subnet Mask is 255.255.255.0

LAN #2:

Wireless
Default Gateway 10.10.2.1
Subnet Mask is 255.255.255.0

The printer I would like to share between the two LANS is connected to LAN # 1 (Wired) and has a static IP address of 10.10.1.9

How could I make the printer visible to both LANS?

Thank you.
Avatar of zacdl
zacdl

Just share the printer. Do it like you normally would, your LANS are not subnetted and you can know that because you are using a default subnet mask. So there should be no problems there. Is this printer attached to a PC? Just run the Add Printer Wizard (XP right?) if you haven't added it yet, or if it already is added just go to Printers and Fax settings in Control Panel, right click your printer, choose Share, and then put what you want there. You would then need to go to each PC and just run the add printer wizard but specify it is over the network attached to a computer instead of on that PC.

Hope this helps, if this doesn't a little more info would be nice.
Windows won't see the printer on the other lan by browsing the network, but if you have it shared from a computer that is on the same network, going to network placees and in the address bar typing \\10.10.1.ipofothercomputer\ and see if that works. Alternativly the printer driver may support printing to an IP in which case you don't have to even bother sharing it.
Can you ping devices from one LAN to another?  If not, there is probably no layer3 (router) in between the two LANs, or, routing is not enabled.

What does your topology look like?  Device models and config, etc.?  Post how each is connected to each other and then we can possibly help some more.
Avatar of bgwinner

ASKER

I am sorry, I guess I should have been more specific.

I am dealing with two Broadband connections coming in.  One is going to a PC based firewall running DHCP and from there into a NETGEAR FS116 Switch, and then to the drops.  The other broadband connection is going into a Linksys WRT54GS wireless router, nothing is plugged into the 4 ports of the Linksys and currently only 2 laptops are connecting to it via wireless cards.  The printer in question is an HP LaserJet 6p with a HP JetDirect EX Plus print server attached, the print server is plugged into the 16 port switch.

So, I guess what I am trying to do is find a way for the laptops using the wireless connection 10.10.2.x to hop over onto or route print requests to the wired 10.10.1.x side.  I was hoping there would be a way to run a patch from the wireless router to the switch, but the problem with that is the wired DHCP conflicting with the wireless DHCP.

Did this clear anything up?  I am a security guy, but I love a networking challenge.  Is the equipment to low end?

Thank you.
Ok, so there is no routing in between.  Is there a reason why you are not integrating both LANs?  This would allow getting rid of one broadband connection.  Or, if you want redundancy while keeping your two ISPs, you could obtain a router that has dual-WAN ports.  Then, all your clients can be on the same LAN.  

If you really want to segregate the WLAN laptops from the other LAN, there are options to assign two VLANs/two SSIDs.  One guest VLAN/SSID would have no encryption and would allow only Internet access.  The other would be for internal trusted users and would use 802.11i to secure the WLAN.

Regardless, none of that can be done with your existing equipment and it will require a network redesign.  Because I think you have requirements of a business (not a simple SOHO home LAN), you need to investigate the possibility of trading up your Linksys equipment to Cisco equipment.  I think there is a link for that on Linksys.com.

See this link for a wizard that can help designing an SMB network:
http://www.ciscowebtools.com/designer/
This is not going to be easy since you have 2 networks 10.10.1.x and 10.10.2.x.

2 Options for this one;

A:
If the printer is a USB printer get a auto 2 port USB print switch (http://sewelldirect.com/usbautoswitch2to2.asp) connect one of the input USB ports to a wireless USB print server, and the other to your wired USB print server.

This way the 2 networks will be able to access the printer.

B:
First you need to connect the wireless network to the wired network with some kind of router:
      Connect the wired network to the internet jack on the router
      Connect the wireless network to the any of the LAN jacks

Then you will need a static rout that tells your computers on the wired land to use the IP of the new router as a default gate way when trying to access the 10.10.1.x network

route ADD XXX.XXX.XXX.XXX MASK YYY.YYY.YYY.YYY  ZZZ.ZZZ.ZZZ.ZZZ

XXX.XXX.XXX.XXX = DESTINATION NETWORK (wired network)
YYY.YYY.YYY.YYY = SUBNET MASK OF DESTINATION
ZZZ.ZZZ.ZZZ.ZZZ =  GATEWAY TO USE FOR ROUTE (the IP of the new router on the wireless side.



Option A is the simplest of the two solutions and maintains separation between the 2 networks

Option B is much more complicated and will allow traffic to flow between the networks
This kind of router (Cisco 1800 series) would allow you to keep your two WAN links while adding a WLAN card.  All of your requirements would be met (separate WLANs, single internal LAN, etc.)
http://www.cisco.com/en/US/products/ps5853/index.html
ASKER CERTIFIED SOLUTION
Avatar of biosin3
biosin3

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The solution that biosin3 has described would work fine.  However, it's a management headache as you have to remember to manually add (or add through a script) all the routes on all the computers including the network printer.  And, as far as I can remember, even on the high end external HP Jetdirect 300X with the latest firmware, this box will not allow you to enter additional routes.  So, you would have to make its default gateway to the new router IP address on its LAN.  

Regardless, it will not be a pretty solution.  So, I still recommend implementing a Cisco 1800 with a WLAN card to cleanly allow all to be on the same LAN and restrict the devices you don't want easily.
Note- Also, on the Cisco 1800 series routers, you gain other features not otherwise available like site-to-site VPN (if you ever need to cheaply add another site to the network), remote access VPN for users who travel or for admins to work from home, not to mention the Cisco IOS firewall and many other features such as bandwidth monitoring etc.  

Note2- If you ever choose to buy a Cisco device, make sure you buy a SmartNet contract and renew every year.  This is crucial to obtain advance replacements or obtain help from Cisco TAC support engineers for configuration and troubleshooting issues.
The price on a cisco 1811 from CDW is about $890 http://www.cdw.com/shop/products/default.aspx?EDC=788475 , which is more than I'd be willing to spend on a home network, but if this is for a buisness or anything reselmling a home office I wouldn't think twice about getting it. Especially if your network configuration changes in any way shape or form you will get a very large return on investment in the shape of your time and frustration by just getting a tool that was desgined for the job.
Well said!
Avatar of Steve Knight
I guess you could either add another network card to the firewall PC with a 10.10.2.x address on or open a hole in the firewall for port 9100 and port forward 9100 through to the printer's IP.  Do this specficially for the external address given to your wireless dhcp.  Then setup the printers on the wireless clients to print to the internet address of the firewall PC.

Messy though, much better to integrate it properly as various suggestions above.
Steve
just run file and printer wizard and u r done
on other pc just add network printer
and u r done :D
 
Thank you everyone, I ended up taking one of my spare PC's that was connected to the 10.10.1.x LAN, and added a second NIC and connected that to the back of the 4 port switch on the Linksys WRT54GS. I then created a Network Bridge within Windows XP inside the Network Connections folder. I wanted to use a router for this task, but I will have to continue studying and researching on how to do this, for now the laptops connected to the WRT54GS (10.10.2.x) can now print to the printer (10.10.1.9).  The first problem I noticed was that both my laptops grabbed 10.10.1.x ip addresses, since the wireless and the wired networks are both running DHCP, so I manually set the IP addresses on the laptops back to 10.10.2.x addresses.  I then went in to the Workgroup View, opened the PC on the 10.10.1.x LAN, located the printer connected to it from each laptop and then set it as the default printer.  I am going to look into this further, for I feel it is really sloppy and I don't like the thought of two DHCP servers.
Effectively all you have done is joined the two networks together now - it didn't need a network bridge, just a network cable -- a network switch is effectively just a multi-port network bridge.

Not being funny here but I think you need to think out what you need to achieve and why the networks do or don't need to be seperate.  You will need to disable the DHCP server in the 10.10.2.x router too now otherwise your other PC's could get those addresses too...

Steve
dragon-it:

I tried that first and I was unable to ping the IP address of the printer.  Are you saying all I needed to do was to plug in each network to the switch and make sure they are in the same workgroup?
If you plug both networks into the same switch they will need to be on ethe same subnet

Right now you have 10.10.1.x and 10.10.2.x these are 2 different subnets and can not talk to eachother with out a router.  

If you connect both netowrks to the same switch and disable DHCP on one of your networks, all the clients will eventualy get the same network IP range.

ebjers

I realize that, and that is what started this thread.  I wanted two different subnets to be able to talk to each other, in which case I have learned I do need a router or the temporary 'soft' network bridge I have created.  One is a DSL line and the other a Cable modem and I just want them seperate.

Thank you for your comment.
Just a side note bgwinner

If you use a sofrware firewall on your bdide system you can block the ports for DHCP.  This will allow you to use DHCP on both sides of the bridge and there will be no DHCP cross talk thrugh the bridge.