07-08-2023 08:19 AM
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.
Location | Department | Hosts | IP address | Subnet Mask | Available Hosts | Available Networks | Network Address | First Available Address | Last Available Address | Broadcast Address |
Bristol | HQ (ISP) | 200 | 192.168.0.0 | /24 | 254 | 1 | 192.168.0.0 | 192.168.0.1 | 192.168.0.254 | 192.168.0.255 |
Bristol | HQ (Servers) | 192.168.10.0 | /24 | 192.168.10.0 | 192.168.10.2 | 192.168.10.254 | 192.168.10.255 | |||
Bristol | HQ (Servers) | 192.168.20.0 | /24 | 192.168.20.0 | 192.168.20.3 | 192.168.20.254 | 192.168.20.255 | |||
Glasgow | VID | 134 | 192.168.1.0 | /24 | 254 | 1 | 192.168.1.0 | 192.168.1.1 | 192.168.1.254 | 192.168.1.255 |
Glasgow | LID | 126 | 192.168.2.0 | /25 | 126 | 2 | 192.168.2.0 | 192.168.2.1 | 192.168.2.126 | 192.168.2.127 |
Cardiff | HID | 40 | 192.168.2.128 | /26 | 62 | 4 | 192.168.2.128 | 192.168.2.129 | 192.168.2.190 | 192.168.2.191 |
Cardiff | TID | 16 | 192.168.2.192 | /27 | 30 | 8 | 192.168.2.192 | 192.168.2.193 | 192.168.2.222 | 192.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.
07-08-2023 08:38 AM
Hello @Gianluchko,
Please share Ro Cardiff configuration or zip your project and share it here.
07-08-2023 08:46 AM
07-08-2023 10:33 AM
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 **
07-08-2023 11:09 AM
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
07-08-2023 04:48 PM
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.
07-08-2023 05:46 PM
Hi Flavio, thank you for the advise, how could I do it?
07-09-2023 04:43 AM
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.
07-09-2023 04:54 AM
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.
07-09-2023 05:13 AM
I dont recommend ISR4331, it add extra complexity and you dont need it now. Use those models
"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.
07-09-2023 06:36 AM
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!
07-09-2023 06:41 AM - edited 07-09-2023 06:48 AM
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.
07-09-2023 07:07 AM - edited 07-09-2023 07:14 AM
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.
07-09-2023 07:53 AM
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.
07-09-2023 08:05 AM
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?
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide