Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Unable to ping to dc from the router

Unable to ping to dc from the router. Below are the details of the routers (CISCO 1841 modular router)

.
Router A config
interface FastEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.4.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/0/0
 ip address 10.10.1.2 255.255.255.0
 duplex auto
 speed auto
!
ip route 192.168.0.0 255.255.255.0 FastEthernet0/0/0
ip route 192.168.2.0 255.255.255.0 FastEthernet0/0/0

sh ip route of Router A

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.4.0/24 is directly connected, FastEthernet0/1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.1.0 is directly connected, FastEthernet0/0/0
S    192.168.0.0/24 is directly connected, FastEthernet0/0/0
S    192.168.2.0/24 is directly connected, FastEthernet0/0/0
C    192.168.3.0/24 is d is directly connected, FastEthernet0/0

Router B config
interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.0.7 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/0/0
 ip address 10.10.1.1 255.255.255.0
 duplex auto
 speed auto
!
ip route 192.168.3.0 255.255.255.0 FastEthernet0/0/0
ip route 192.168.4.0 255.255.255.0 FastEthernet0/0/0

sh ip route of Router B

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

S    192.168.4.0/24 is directly connected, FastEthernet0/0/0
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.1.0 is directly connected, FastEthernet0/0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/0
C    192.168.3.0/24 is directly connected, FastEthernet0/1
S    192.168.3.0/24 is directly connected, FastEthernet0/0/0


Now the problem is that I can not ping to our dc 192.168.2.2 from router A. But I can ping any of the above IP from any PC which is connected to the net work. Can any one tell me where is the trouble. By the way, all these settings are done by another person who was working with this company.
0
Zacharia Kurian
Asked:
Zacharia Kurian
  • 6
  • 4
  • 2
2 Solutions
 
http:// thevpn.guruCommented:
Judging from

Router B config
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto

and

S    192.168.2.0/24 is directly connected, FastEthernet0/0/0

and

dc 192.168.2.2

It seems that it could be either a faulty or misplaced cable..can clients from other networks lets say 192.168.3.0/24 ping the DC ?

0
 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
yes they can ping 192.168.3.0/24. The connection between the 2 routers is through a cross over cable. It is connected through the extra HWIC port of the routers(10.10.1.1 -10.10.1.2). So you suggest me to change the cross over cable ?

0
 
http:// thevpn.guruCommented:
can you ping 10.1.1.2 from 10.10.1.1 ?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
yes I can ping 10.1.1.2 from 10.10.1.1. Moreover I can ping the IP of the DC from the Pcs which are connected on the router A. Examaple

                Router A                                                                   Router B
 PC A  :- 192.168.4.10           can ping  to                  PC B :- 192.168.2.0/24 and 192.168.0.0/24
0
 
trinak96Commented:
Are you specifying  a source interface with your ping, ie:
ping 192.168.2.2 source FastEthernet0/1
0
 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
192.168.2.2 is the IP of the DC (Server). When I input - ping 192.168.2.2 from the router A, it doesn't ping.
0
 
trinak96Commented:
did you try with the source interface included in the command ?
0
 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
I tired and this is the result

ping 192.168.2.2 source fast0/0/0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
Packet sent with a source address of 10.10.1.2
.....
Success rate is 0 percent (0/5)

ping 192.168.2.2 source fast0/1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.4.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
ping 192.168.2.2 source fast0/0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.4.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
0
 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
sorry the last ping results  "ping 192.168.2.2 source fast0/0"  is woring (when copied). below is the correct one
 
ping 192.168.2.2 source fast0/0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
Packet sent with a source address of 192.168.3.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msback to top
0
 
trinak96Commented:
OK, so you can't ping the DC from the 10.10.1.x/24 network.
You have the same the same subnet sitting on both oruter interfaces fastethernet0/0/0. When you ping across to the server the reply packets are first going to hit router A which believes 10.10.1.0/24 is directly connected so will push out of its own fastethernet0/0/0 instead of forwarding to router B.
You have to change your subnet on A or B....
0
 
Zacharia KurianAdministrator- Data Center & NetworkAuthor Commented:
Can you explain with an example?
0
 
trinak96Commented:
Zackur,
You have 2 routers in the same subnet. If you look at the routing table for each they show that 10.10.1.0/24 is directly connected to fastethernet0/0/0.

So if router A sends to 192.168.2.2 it will get to router B, router B will forward to the server out of interface fa0/0/0 - so far so good !!  It gets to the server, server replies send echo reply to the source of the ping request, ie:10.10.1.1. This packet gets to router A, router A knows that 10.10.1.0/24 is on its fa0/0/0 interface which is the interface it just recieved it on -same interface as the server !! So it will not route to router B where the packet originated from.

You should have router B in subnet 10.10.2.0/24 for example (if your not using that anywhere else) with the correct routing statements in each router.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 6
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now