Routing problem

I am in the process of configuring the router for the first time. The router is 2651 with two fastethernet interfaces. I have configured the following ip addresses for the interfaces. Fastethernet0/0 ipaddress, Fastethernet0/1 ipaddress The routing RIP is enabled for both networks. Now I sit on a PC and try to ping computer, I cannot. I have set the default gateway for the PC as IP address of the router interface. I can ping both IP addresses of the interfaces but not any other address on other network.
Who is Participating?
If one PC on can ping but none of the others can, it's not a router problem- unless the subnet mask on one of the router interfaces is not configured as you think it is. Otherwise either one PC is also configured as (duplicate IP), or they mostly have incorrect subnet masks or default gateways. You mentioned earlier, but then it was Same PC or different one?

So, check your router config to make sure the masks are right; Check your PCs to make sure the masks and default gateways are right. Make sure that none of the other PCs are configured with the router interface address as their own address.

You can type "show arp" on the router and look to see that every IP that should be there is there.

Not sure why you're running RIP unless you're connecting the 2 LANS to some other site via serial interface. Otherwise remove RIP with "no router rip" but leave IP routing on. The router will always forward packets between directly connected networks. Turning on RIP on a single router justs broadcasts RIP onto the LANS. With one way out of the LAN this is useless.

By the way, "ip routing" is ON by default. You couldn't have typed "router rip" without it- the router wouldn't have accepted the command.
Can the computer ping

I assume you haven't turned of IP routing with "no ip routing".  You might want to type "ip routing" just for the halibut.

You might want to type "show ip route" from global exec mode to examine the routing table.  All interfaces up?  You could type "show ip int" and examine them.

funny thing is that ip routing is usually DISABLED by default when you first configure a router. It's one of the gotchas, you do need to explicitly enable it as pseudocyber has described.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

shifka_75Author Commented:
Thanks a lot for your comments.... I typed ip routing command. As you mentioned. I can only ping computer on the other network from PC and vice versa. But I cannot ping any other computer on this network from network and vice versa.

For testing purposes I have attached one router interface to the computer directly, and other interface to the switch network with around 40 computers. Only can access other network and vice versa

Any suggestions!!! Thanks

OK, let me get this correct, you have:

PC1 -
PC2 -
Fa0/0 -
Fa0/1 -

To debug this, you need to work out where the problem is.

1. From PC1, ping Fa0/0
2. From PC1, ping Fa0/1
3. From PC1, ping PC2

4. From router, ping PC1
5. From router, ping PC2

6. From PC2, ping Fa0/1
7. From PC2, ping Fa0/0
8. From PC2, ping PC1

and the results are ?

As requested by pseudo, can you post the output from the router command "show ip route". Can you also post the output from the router command "sho ip int brief". It would also be helpful if you can post the config of the router (use "show run").
oops, I just reread your comment, are you saying that from PC you CAN ping ? If so, then it looks like your router may be working as expected.

If so, then I would check that the rest of the PC's on the network have the default gateway set correctly to
Also, make sure all subnet masks are set correctly.
2 things you can try that will point you to where the promlem is.

1. Do a tracert from a pc on one side of the router to a pc on the other? where does it start timing out.

2. From the router itself  and do an extended ping to a pc using the opposite side router interface.

If you need help with extended ping let me know.
shifka_75Author Commented:
Thanks a lot for such informative comments. Now my problem is solved, I am able to ping the other network and vice versa.

Now another problem, I can ping machine from machine across router and vice versa. My machine in the domain controller with DNS and DHCP running on this machine.

I want that my computer should now get the ip address from this DHCP server, and also use this as DNS. When I write the command ipconfig/renew (after selecting the option "obtain ip address automatically"), it says cannot connect to DHCP, similarly NSLOOKUP doesnot work from other network 192.168.1   .

Although I tried to add this computer to domain ( domain controller), it worked and I can login using my domain account.

PLease help me out of it.  
Use the IP Helper command on the Cisco router to point one subnet to the other for DHCP.
Yes, on the interface, type
ip helper-address

and you should be good to go
shifka_75Author Commented:
Thanks a lot for your suggestions. Now everything is setup and next step is applying the access lists. What I want is that

1) Any user on the network can login to the server with his domain account in active directory,

2) Same server to be used as DNS and DHCP for Network.

3) The users should not have any access to computers or or files etc on Network

4) The users on Network can access the Web services (IIS) from computer

5) The users on Network can access the Microsoft exchange server with Ip address

6) The users on Network should be able to access the file server only for saving their data.

7) The users in Network should be able tyo access the Database server with Ip address

8) The users in Network should be able to access the ISA proxy server with Ip address for Internet access.

Any other access is restricted

Waiting for your suggestions

Thanks a lot!!
Well, this question has really gotten involved for only 50 points - but you did get it answered.

If you want help configuring your access lists, I'd suggest opening a new question for more points.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.