cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
705
Views
0
Helpful
4
Replies

Problems with routing

DucAnhLe36058
Level 1
Level 1

Hi,

I've got a problem with routing and I can't seem to figure out where the problem is. I am able to ping from PC0 and PC1 to PC3, from PC3 do Cisco1, but I cannot ping from PC0 or 1 to Cisco 1. It's the same on the other side, I can go from PC4 to Cisco2, but I can't go to Cisco1. Photoshop_r3dYgOtTIa.png

Cisco 1 ip route:

ip route 0.0.0.0 0.0.0.0 172.18.0.2
ip route 192.168.30.0 255.255.255.240 192.168.30.2
ip route 192.168.30.48 255.255.255.240 192.168.30.34

Cisco 2 ip route:

ip address 192.168.30.34 255.255.255.240

 

All the IP addresses and default gateways I believe are set up correctly.

4 Replies 4

luis_cordova
VIP Alumni
VIP Alumni

Hi @DucAnhLe36058 

 

At first glance, the routing looks ok.
Review the gateway theme assigned to PCs.
If you are working with physical devices, try disabling PC firewalls.

 

Regards

thrtnastrx2
Level 1
Level 1

ip route 192.168.30.0 255.255.255.240 192.168.30.2  appears to be wrong because first it doesn't encompass the entire network of PC1 and PC2, and second you are routing the traffic to a PC not a router.  You would need to change PC3 to a router and change the route to "ip route 192.168.30.0 255.255.255.228 192.168.30.2" or enable/configure Windows Routing Service on PC3.

Hello,

 

not sure if the other posts have already solved your problem, but it seems to me that you only need the following routes:

 

Cisco 1

 

ip route 0.0.0.0 0.0.0.0 172.18.0.2
ip route 192.168.30.48 255.255.255.240 192.168.30.34

 

Cisco 2 

 

ip route 0.0.0.0 0.0.0.0 192.168.30.33

Hello

IPV4
Cisco 1
no ip route 192.168.30.0 255.255.255.240 192.168.30.2
ip route 192.168.30.16 255.255.255.240 192.168.30.2
ip route 192.168.30.48 255.255.255.240 192.168.30.34

pc3
nic1
192.168.30.2
255.255.255.240
192.168.30.1

nic 2
192.168.30.17
255.255.255.240

pc1
192.168.30.18
255.255.255.240
192.168.30.17

pc2
192.168.30.18
255.255.255.240
192.168.30.17


Cisco 2
no ip address 192.168.30.34 255.255.255.240
ip address 192.168.30.0 255.255.255.224 192.168.30.33
ip route 147.32.82.139 255.255.255.255 192.168.30.50

pc4
nic1
192.168.30.50
255.255.255.240
192.168.30.49

147.32.82.139
255.255.255.255

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card