cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
991
Views
5
Helpful
19
Replies

Unable to ping router from PC

Gianluchko
Level 1
Level 1

Hi guys, I have been spending quite a lot of time to figure this out, why I am unable to ping from PC to routers?
I am trying to create 3 different office location and I did all the IP Addressing table as per below.

LocationDepartmentHostsIP addressSubnet MaskAvailable HostsAvailable NetworksNetwork AddressFirst Available AddressLast Available AddressBroadcast
Address
BristolHQ (ISP)200192.168.0.0/242541192.168.0.0192.168.0.1192.168.0.254192.168.0.255
BristolHQ (Servers)192.168.10.0/24192.168.10.0192.168.10.2192.168.10.254192.168.10.255
BristolHQ (Servers)192.168.20.0/24192.168.20.0192.168.20.3192.168.20.254192.168.20.255
           
GlasgowVID134192.168.1.0/242541192.168.1.0192.168.1.1192.168.1.254192.168.1.255
GlasgowLID126192.168.2.0/251262192.168.2.0192.168.2.1192.168.2.126192.168.2.127
           
CardiffHID40192.168.2.128/26624192.168.2.128192.168.2.129192.168.2.190192.168.2.191
CardiffTID16192.168.2.192/27308192.168.2.192192.168.2.193192.168.2.222192.168.2.223

I am quite confident this address table is correct; however, when I am trying to work around the Cardiff Area, I am unable to ping from PC1-24-HID to Router Cardiff and from PC1-24-HID to PC1-24-TID. I have activate ospf in Bristol HQ router and Cardif router, I also tried with static route, but nothing, I am unable to make devices go outside the network and ping other devices.

Gianluchko_0-1688828192301.png

 

 

19 Replies 19

M02@rt37
VIP
VIP

Hello @Gianluchko,

Please share Ro Cardiff configuration or zip your project and share it here.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Absolutely, this is my file 

Martin L
VIP
VIP

in order to use switching module in router Cardiff, you must use interface vlan x, aka SVI.  PCs in vlan 5 will ping SVI vlan 5 as its default gateway and then either go out off ports in the same vlan 5 or go to physical router interface to reach remote networks. Such router will do also routing between vlans using inteface VLan , aka int vlan 5 to int vlan1. 

if u create vlan 5 and do no shut, then move IP 192.168.2.130 from gig0/0/0 to interface vlan 5, u will be able to ping PCs in vlan 5. But then I am not sure what IP should be assigned to gig0/0/0.  usually /30 is used between routers on point to point networks.

Regards, ML
**Please Rate All Helpful Responses **

 

Yeah but I will have to connect all the networks and need to setup all the routing table, but my main problem is that in a router I can have only 3 ports where gives me the possibility to assign IP address and subnet mask, all the rest in the router gives me only the option for the Vlan 

Gianluchko_0-1688839776573.png

 




Hi @Gianluchko 

 Either you work with subinterface on the router or you assign different networks to differents interfaces. The router needs to have IP address on the interface facing the topology and on the interface facing the PCs. You are mixing router and switch function.

The way you did will not work.

Hi Flavio, thank you for the advise, how could I do it?

Hi @Gianluchko 

 I touched only the part you highlighted on this thread.  You can apply the same concet to the whole network.

The solution I suggest is the classic "Router in a stick" solution widely used for CCNA studant. Where you use interface vlan with dot1q encapsulation and trunk on the switch side.  I create two DHCP scope and propagated to vlan 5 and vlan 10.

On the WAN side I put a /30 network, which is the standard for WAN links, and put the OSPF between routers.

 

 

Thank you so much for sharing this with me.

I do not understand how you changed the router and now I can communicate from PC to ROuter, where my previous solution did not work, is it the ISR4331 that is the problem, I can see how to do this in Cardiff, but I am not sure if I will be able to do to the whole network. I am thinking to daisy chain the switches and then connect 1 switch to the router in Glasgow and Bristol.
Sorry for being a pain, trying to understand the whole concept and make sure I will be able to succeed in any other types of networks.

I dont recommend ISR4331, it add extra complexity  and you dont need it now. Use those models

FlavioMiranda_0-1688904397536.png

"Sorry for being a pain, trying to understand the whole concept and make sure I will be able to succeed in any other types of networks."

Dont feel sorry, the whole idea of this forum is share knowledge.

Try to do and go asking here.

 

I will try for learning purposes with those models you listed, however, could I ask you which extra complexity would add to the ISR4331, so I can research it and learn more?

Thank you again! I truly appreciate you dedicating your time!

When you start handling those models I suggested you might understand.  They may not have vlans as 4331 has

They use IOS-XE instead standard IOS.

I dont recall all the differences but those routers 1900 and 1800 are standard routers and will support only dot1q encapsulation for trunk /Switch connection and layer3 interface for the rest.

 However,  they offer the necessary to simulate a standard network with WAN.

I have tried with the 1941 device, and it seems to have the same result, I need to find a way to give the IP address to the interface from router 0 to Switch one, which I can do with g0/1, however Switch 1 then will not have an interface to communicate with the other network.
I have attached below the test, I would love if you could have a look and direct me on what I am doing wrong.

That´s where the subinterface take place. You can not use two router´s interface on the same network.

Keep in mind that for routers, each interface must hold its own   IP address.

What you are trying to accomplish is not possible. As soon as you connected switch 0 in the interface Fa0/0/0 and switch1 in the interface Fa0/0/1 they need to be on different network

Stop trying to extend switch functionality to router, router is not switch. This module you are using HWIC is meant for very small network where company dont want to use a switch and they want to collapse on the router the routing and switching function.

Use router layer3 interface and use encapsulartion dot1q and connect to a trunk port. Use additional switch to extend the network but connect it to the first switch. You dont need all the switches connected to the routers, this is not how network works.

 

I see, so I need to connect maybe switches in a daisy chain and then connect one switch to the router in gig0/0 - 0/2.
Also I did not quite get this "That´s where the subinterface take place. You can not use two router´s interface on the same network.Keep in mind that for routers, each interface must hold its own   IP address."
Does it mean that this below is wrong?

Gianluchko_0-1688915008148.png

If I want to connect Router 0, which is a small office to Router 1, which is a router that provides connection to ISP. I do not have to treat the gig0/0 of Router 0 in the same subnet (/30) of Router 1 interface gig0/0?

Review Cisco Networking for a $25 gift card