12-21-2022
04:55 AM
- last edited on
01-10-2023
02:38 AM
by
Translator
I have a topology of PCs A, B, D, and E, 2 routers R1 and R2, and 4 switches A, B, D, and E for each of my PCs respectively.
PC A IP is 201.4.100.1/28 with a default gateway of 201.4.100.2,
PC-B IP is 201.4.100.17/29 with a default gateway of 201.4.100.18,
PC-D IP is 201.4.100.33/27 with a default gateway of 201.4.100.34,
PC-E IP is 201.4.100.65/29 with a default gateway of 201.4.100.66.
R1 **LAN g0/0** ip is 201.4.100.14/28, **LAN g0/1** ip is 201.4.100.22/29 and **WAN s0/0/0** ip is 201.4.100.25/30.
R2 **LAN g0/0** is 201.4.100.62/27, **LAN g0/1** ip is 201.4.100.70/29, **WAN s0/0/0** ip is 201.4.100.26/30.
They are subnets A B C D E subnet numbers 0, 1, 2, 4, and 6 respectively.
Subnet addresses 201.4.100.0/28 (**A**), 201.4.100.16/29 (**B**), 201.4.100.24/30 (**C**), 201.4.100.32/27 (**D**), 201.4.100.64/29 (**E**) respectively.
The network address number is 201.4.100.0/24.
Switches A, B, D, and E have Vlan1 IPs of
201.4.100.3/28 and default gateway 201.4.100.2(**A**),
201.4.100.19/29 and default gateway 201.4.100.18(**B**),
201.4.100.35/27 and default gateway 201.4.100.34(**D**),
201.4.100.67/29 and default gateway 201.4.100.66(**E**).
My problem is that my PCs are only able to ping their respective switches and the rest fails to ping successfully like
default gateway
routers, and pcs. On the other hand, R1 and R2 can ping each other successfully, and R1 can ping Switches and PCs A and B but not D and E, as well as all the
default gateways
R2 can ping Switches and PCs D and E but not A and B, as well as all the
default gateways
I need to be able to ping PC-B to PC-A, PC-E to PC-D, and PC-A to D.
And also R1 and R2 are connected by a Serial DCE clock rate of 128000 to DTE
Subnets A, B, C, D, and E are to have 10, 6, 2, 26, and 5 usable IP addresses respectively. And also therefore a mask of /28, /29, /30, /27, and /29 was used.
Solved! Go to Solution.
12-23-2022
01:25 AM
- last edited on
01-10-2023
02:41 AM
by
Translator
Hello,
make sure that the
default gateways
of the PCs and the switches point to the respective IP addresses that are actually configured on the router interfaces. In your case, the
default gateways
were pointing to non-existing IP addresses.
Also, the static routes need to look like this:
ip route x.x.x.x y.y.y.y (destination network/subnet mask) z.z.z.z (next hop)
In your case, you were specifying non-existing next hop addresses.
Review the attached revised file.
12-23-2022
01:25 AM
- last edited on
01-10-2023
02:41 AM
by
Translator
Hello,
make sure that the
default gateways
of the PCs and the switches point to the respective IP addresses that are actually configured on the router interfaces. In your case, the
default gateways
were pointing to non-existing IP addresses.
Also, the static routes need to look like this:
ip route x.x.x.x y.y.y.y (destination network/subnet mask) z.z.z.z (next hop)
In your case, you were specifying non-existing next hop addresses.
Review the attached revised file.
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