Cisco 2621 Can't connect 2 LANs

Unanswered Question

I have a Cisco 2621, and Can't connect 2 LANs. I have 2 Fast Ethernet interfaces, but need some help with the code to get the 2 to see each other, and share resources.


I have 2 LANs - 10.38.77.0 and 192.168.0.0. I can ping both LANs from the router, but, from each side, can only ping that LAN.


Any help would be greatly appreciated!!


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Harold Ritter Tue, 04/17/2007 - 07:52
User Badges:
  • Cisco Employee,

Make sure that the workstations are configured with a default gateway, which is the router interface address in the respective subnet.


Hope this helps,

Jon Marshall Tue, 04/17/2007 - 07:55
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi Larry


Can you make sure ip routing is enabled on the 2621 router. It should be by default so unless there is a statement


"no ip routing" in the config you should be okay.


Could you send a copy of the 2621 config ?.


Have you set the PC's default gateway to be the relevant router interface ?


Jon

Routing is enabled.

I have the router I/Fs set to 10.38.77.35 and 192.168.0.35


I have 2 test machines with respective addresses of 10.38.77.177 and 192.168.0.6


The config is below:


Router#sho runist

Building configuration...ntry


Current configuration : 714 bytes alias Crea

!

version 12.2

service timestamps debug uptime

alps

service timestamps log uptimeol

!d

call rsvp-syncp parameters

!

!

!

!

!

!

!

!

interface FastEthernet0/0

autonomous-sys

ip address 10.38.77.35 255.255.255.0to which we belong

duplex auto

speed auto

!

interface FastEthernet0/1ger Configure Backhaul

ip address 192.168.0.35 255.255.255.0

speed auto

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.0.2

ip route 10.38.77.0 255.255.255.0 10.38.77.177

ip route 10.38.77.0 255.255.255.0 192.168.0.0

ip route 192.168.0.0 255.255.255.0 192.168.0.6

ip route 192.168.0.0 255.255.255.0 10.38.77.0

no ip http server

ip pim bidir-enable

!

!

dial-peer cor custom

!

!

!

!

line con 0

line aux 0

line vty 0 4

!

end



bmbreer Tue, 04/17/2007 - 10:10
User Badges:

ip route 0.0.0.0 0.0.0.0 192.168.0.2

ip route 10.38.77.0 255.255.255.0 10.38.77.177

ip route 10.38.77.0 255.255.255.0 192.168.0.0

ip route 192.168.0.0 255.255.255.0 192.168.0.6

ip route 192.168.0.0 255.255.255.0 10.38.77.0


Get rid of the static routes you have configured(see above). Make sure the hosts on the 192.168.0.0/24 network are using 192.168.0.35 as their default gateway.

Make sure the hosts on the 10.38.77.0/24 network are using 10.38.77.35 as their default gateway.


Well, I thought it worked on the test machines, but didn't test internet on Both - only one of them. So, when I put them on-site, the only way they talked to each other was to set each LAN gateway as the other's firewall.


So am I correct in thinking that I need to (as stated in an earlier reply) set each LAN's workstations' gateway as the corresponding FA address? And then add routes from each of those to their respective firewalls as below?


ip route 10.38.77.35 255.255.255.0 10.38.77.130


ip route 192.168.0.35 255.255.255.0 192.168.0.4


Actions

This Discussion