12-21-2023 02:07 AM - last edited on 12-21-2023 03:01 PM by Translator
Hi,
I need to make these PCs communicate between them but i think there are some steps of the configuration im missing.
this is the topology(nevermind about the f0/0 link).
the Layer 3 switch configuration i used:
.
.
.
conf t
vlan database
vlan 10
vlan 20
vlan 30
apply
conf t
int vlan 10
ip add 192.168.10.1 255.255.255.0
no shut
exit
int vlan 20
ip add 192.168.20.1 255.255.255.0
no shut
exit
int vlan 30
ip add 192.168.30.1 255.255.255.0
no shut
exit
int f0/1
switchport mode trunk
switchport trunk allowed vlan add 10
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 30
no shut
exit
int f0/2
switchport mode trunk
switchport trunk allowed vlan add 10
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 30
no shut
ip routing
exit
.
.
.
i try from PC1 to ping the PC5 but the host (192.168.10.1), (PC1 gateway) is not reachable.
I am very new to all this.....
Solved! Go to Solution.
12-21-2023 03:21 AM - edited 12-21-2023 03:40 AM
On Switch1, interface e3 is a Trunk, not access.
@Cdg2017, you should have this on Switch1:
12-21-2023 02:11 AM - edited 12-21-2023 02:19 AM
hello @Cdg2017
Does PC1 ping its Gateway hosted on L3 Switch, 192.168.10.1 ?
What about the L2 Switch configuration ? Port assigned to the correct vlan id ? Trunk port configured towards L3 Switch ?
12-21-2023 02:40 AM
PC1 does not ping its gateway on L3switch and I did nothing about the L2 switch
12-21-2023 02:42 AM - last edited on 12-21-2023 03:02 PM by Translator
Hello
Do sw1&2 have the their trunks created the same way as the L3 switch and also l2 vlans created.
Example:
SW1/2
conf t
vlan 10,20,30
exit
int x/x
description link to L3 switch
switchport mode trunk
switchport trunk allowed vlan add 10
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 30
int x/y
description pcx
switchport mode access
switchport access vlan x
PC1
IP =192.168.10.15
Mask=255.255.255.0
D/G= 192.168.10.1
PC5
IP =192.168.20.16
Mask=255.255.255.0
D/G= 192.168.20.1
12-21-2023 03:11 AM
My GNS3 version does not support the L2switch configuration ftom telnet. only what i can do from here:
i changed the VLAN on ports 0,1 and 2 to 10,20,and 30 but nothing happens
12-21-2023 03:21 AM - edited 12-21-2023 03:40 AM
12-21-2023 03:26 AM - last edited on 12-21-2023 03:09 PM by Translator
Hello Cdg2017,
If you want to see the communication betwenn PC's....The Layer-2 Switches(Switch1 and Switch2) must be configured...
in each L2 switch(Switch1&2)....You should create vlans, moving ports and Trunk...with out this you can't see the communication between PC's...
Either you should try the same lab setup in Cisco Packet tracer....or replace L2 switches with L3 switch....and finish the lab....
if you don't give
ip routing
command in it will act as L2 switch and complete the configurations...
Best regards
******* If This Helps, Please Rate *******
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