Link to home
Start Free TrialLog in
Avatar of gayagaya2
gayagaya2Flag for United States of America

asked on

how can i see a computer on LAN1 when logged in LAN2, behind 2 linksys befsr41 routers?

i have 2 separate local area networks. each has their own static IP. both uses BEFSR41 linksys router. LAN 1 has a client/server configuration and is active directory integrated. LAN 2 has a peer2peer workgroup. i would like a workstation from LAN1 be able to access a workstation in LAN2. How will i do it?
Avatar of stevenlewis
stevenlewis

since you have sttic ip's set up, try na lmhosts file entry
lmhosts file info
http://www.realcomputerguy.com/lmhosts.htm
and
http://support.microsoft.com/default.aspx?scid=kb;en-us;314884
Note: the two networks must have conectivity (some sort of connection between the two routers)
as an alternate, (if you don't want to touch the lmhosts file of each pc...) you could set up a WINS server, and change every PC to be a client of that server (although, since the ip's are static, you have to touch each pc anyway....) the advantage of WINS is that if ip addresses change later, you don't have to go back and touch every lmhosts file again....
Probably already done this but in case you havent.... Lan1 computers must have linksys router1 as their gateway or add a static route via "route add" command from dos. Lan2 must do the same with router2. Router1 has router2 as gateway and vice versa. If those routers support firewall configuration then you must open ports that are blocked by default. Make sure they allow access via tcp port 139. Much more you can do with this but that should get you to the point that you can see each Lan and share files.
hmmmmm..... What about routing? Are the routers routing the traffic between the two subnets or not?

Avatar of gayagaya2

ASKER

i tried adding static route between the two routers. however, they still would not communicate. do i need a cable between router a to router b?

how do i set up the following fields:

router a:
destination LAN IP:
subnet mask:
default gateway
hop count:
interface: (choices: LAN/WAN)

router b:
destination LAN IP:
subnet mask:
default gateway
hop count:
interface:(choices: LAN/WAN)

if  router A set up is as follows:
LAN IP Address: 192.168.1.1
Subnet mask: 255.255.255.0

Static IP Address
IP WAN: 12.34.567.89
Subnet mask:255.255.255.248
Default gateway: 12.35.568.88
DNS:123.456.789.12
234.56.789.12
234.56.789.13

router b is set up as:
LAN IP Address: 192.168.2.1
Subnet mask: 255.255.255.0

Static IP Address
IP WAN: 12.34.567.90
Subnet mask:255.255.255.248
Default gateway: 12.35.568.88
DNS:123.456.789.12
234.56.789.12
234.56.789.13

thanks for your help.
ASKER CERTIFIED SOLUTION
Avatar of JammyPak
JammyPak
Flag of Canada image

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
Hi,

I imagine this is a bit to simple for what you want but if  it is only a temporary thing - to install some software or something of the sort - perhaps an straightforward solution would be to set both routers to consider the two PC each as a DMZ host of its net?

DMZ (Demilitarized zone) refers to the possibility that the router has to act transparently towards a PC on its inner LAN. Mind you that it is like the PC having all its ports wide open to the WAN, having all traffic to all the ports of the true IP of the router routed to it... Needless to say it is a *HIGH* security risk: the DMZ puts the PC on the wide open ;-)

How to do it?
1. Set both routers to begin the DHCP interval at 10, leaving the first few IP to become static
2. Set the IP on each PC to one of these static numbers - it may be the same since the PC are on different LAN
3. Set the DMZ (advanced section of the web configuration utility) host on each router to the static IP you choosed.
4. Set a network connection to the WAN (true and real) IP of the router for instance ftp real.ip.of.router
5. Remember to check if you have set any filters on each router that could prevent the proper use of the desired communication software to work...

Of course this assumes there are no other routers in between these two! :-)

Hope it works.

Regards,
Joao