Link to home
Start Free TrialLog in
Avatar of shigh01
shigh01

asked on

Route 2 Lans Together With Cisco 2600 Router

Is it possible to route 2 Lans together just using one router with 2 Lan interfaces..  I have a Cisco 2600 Router, LAN A is setup as 192.168.1.x  LAN B is setup as 192.168.0.x.  From network A i am able to ping the LAN A interface on the routers, as well as the LAN B interface on the router, but am not able to get to any computers, or devices on the LAN B network.  Any suggestions would be much appreciated.  Below is a copy of the config.

ip subnet-zero
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.0.254 255.255.255.0
 no ip directed-broadcast
!
interface Serial0/0
 no ip address
 no ip directed-broadcast
 no ip mroute-cache
 shutdown
!
interface FastEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 no ip directed-broadcast
!
ip classless
no ip http server
!
!
line con 0
 transport input none
line aux 0
line vty 0 4
 password ******
 login
!
end
Avatar of ded9
ded9
Flag of India image

In TCP IP in both A and B
provide default gateway That should be 192.168.1.1 in your case

and prefered dns 127.0.0.1

Try it

Reps
Also check whether firewalls are not blocking access

1. windows firewall
and

2.  any other firewalls ( norton) etc

Reps
ASKER CERTIFIED SOLUTION
Avatar of NYtechGuy
NYtechGuy

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
If the above solution of my doesnt work


Okay one more thing i noticed Lan B ip should be 192.168.1.3 subnet 255.255.255.0
and default gateway 192.168.1.1

Reps
Avatar of shigh01
shigh01

ASKER

That was the problem, I talked to the other Admin at the Other Office and he had a default route that he was not telling me about at all.  So that was the problem, i didn't even think about it.  Thanks all for the quick responses and info.  
All you need to do is to configure each machine on network A with default gateway 192.168.0.254.
On network B default gateway should be 192.168.1.1.

Then add the ip routes.

ip route 192.168.0.0 255.255.255.0 192.168.0.254
ip route 192.168.0.1 255.255.255.0 192.168.1.1

That about it, router will do the rest.