Can't appear to get routing working on a 2621 router

Unanswered Question
Mar 9th, 2007
User Badges:

Hi,


I am trying to set up a router to route between 2 subnets. Unfortunately they are 2 different segments of the same class c and I guess this is why I am having trouble.


I have attached my router configuration.


I can not seem to ping from a workstation attached to the ethernet 1 interface on this box to anything beyond the Ethernet 0 interface. Any ideas?


I have a visio drawing of what I am trying to do if that would help.


Thanks


John






  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
sundar.palaniappan Fri, 03/09/2007 - 12:09
User Badges:
  • Green, 3000 points or more

John,


Your configuration looks alright. You don't need routes as both interfaces are directly connected to the 2621. You don't need the default gateway command in there as that's only needed for non-routing devices.


Can you check whether the workstation and the devices connected to e0 are using the respective router interface IP address as their default gateway. That's, very likely, where the problem might be.


HTH


Sundar

Jmorgan1413_2 Fri, 03/09/2007 - 12:27
User Badges:

Hi Sundr,


Ethernet 0? No they are not. Perhaps the accompanying Visio drawing will show you better what I am trying to do.


We only have control over the test router, not the outside router. We are going to have the folks in charge of the outside router put in a static route for us, but they have not done that yet. Is that necessary for the ping command I am issuing to work?


From the test PC I can ping 199.222.135.225 and 199.222.135.105. I can't ping anything beyond that. Is that because there is no route configured in the outside router?



sljwampa Fri, 03/09/2007 - 13:00
User Badges:

If the outside router does not have a route for 199.222.135.224/28 then it will not know where to send the pings it is receiving. Also nothing in the 199.222.135.1/25 network will know where the test network is as well. If this a new setup and test environment then the outside router probably doesn't have a route back and you will need one added.


Michael

sundar.palaniappan Fri, 03/09/2007 - 13:04
User Badges:
  • Green, 3000 points or more

You are correct. The outside router needs a route to get to the network your PC is residing on.


Actually, there's a way you can get to the outside router/network from your PC without having to add a static route on the outside router. Configure NAT as follows on your test router and all traffic from your subnet would appear as having sourced from f0/0 of the test router. This is an option for you.


ip nat inside source list 100 interface f0/0 overload

access-list 100 permit ip 199.222.135.224 0.0.0.15 any


int f0/1

ip nat inside


int f0/0

ip nat outside


HTH


Sundar



Actions

This Discussion