02-17-2024 06:00 PM - edited 02-17-2024 06:06 PM
Switch1
R1
R2
R3
P3,P2 on vlan 10 and PC W10 on vlan 20 can ping interface e0/0 (168.0.0.1) on R2 but cannot ping interface e0/0 (168.0.0.2) on R3. I configured OSPF protocol on all routers.
I would like to connect vlan 10 to vlan 10 and vlan 20 to vlan 20 on differend networks.
Please can anyone help me to solve it.
Thank you.
02-18-2024 12:37 AM
friend you can not split L2 subnet by L3 router
here you split 10.0.0.0 by three routers and this not work
you need to config different subnet in each R1 and R3
or make L2VPN (this hard and can not run in gns3 lab)
MHM
02-18-2024 02:34 PM
Okay, Thank you, I assigned different IP addresses to each subnetwork and the ping works very well. But now the problem is that a PC from one subnet pings all the PCs from another subnet regardless of whether they are in the same vlan or not. on the other hand respects the conditions in its own subnetworks, that is to say in its subnetwork it can only ping the PCs which belong to its vlan which is normal. I'm a little confused.
02-19-2024 06:07 AM
same vlan
the vlan tag is locally in router
so you can use vlan 10 with subnet 10.0.0.0/24 in router 1
and use vlan 10 with subnet 100.0.0.0/24 in router 2
the host in vlan 10 connect to both router can connect to each other
MHM
02-18-2024 12:38 AM
Hello
@Romuald Tiwa wrote:
I would like to connect vlan 10 to vlan 10 and vlan 20 to vlan 20 on differend networks.
This will not be applicable, you cannot extended the L2 vlan with this topology, the 10.x.x.x subnet needs to reside on just the one network, the only way this is possible is to incorporate some NAT to "hide" one of the 10.x.x.x networks or to re-address one of them
02-18-2024 05:21 PM
Okay, Thank you, I assigned different IP addresses to each subnetwork and the ping works very well. But now the problem is that a PC from one subnet pings all the PCs from another subnet regardless of whether they are in the same vlan or not. on the other hand respects the conditions in its own subnetworks, that is to say in its subnetwork it can only ping the PCs which belong to its vlan which is normal. I'm a little confused.
02-19-2024 05:49 PM
Hello
@Romuald Tiwa wrote:
Okay, Thank you, I assigned different IP addresses to each subnetwork and the ping works very well. But now the problem is that a PC from one subnet pings all the PCs from another subnet regardless of whether they are in the same vlan or not. on the other hand respects the conditions in its own subnetworks, that is to say in its subnetwork it can only ping the PCs which belong to its vlan which is normal. I'm a little confused.
What is it you are confused about?
Most devices in a network should be reachable to one another unless you wish for that not to be or a security policy states so.
A host that is reachable not only in its own vlan but to other hosts in other vlans is due to inter-vlan routing performed by a routing device such as a Router/Firewall/L3 switch.
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