cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2403
Views
10
Helpful
3
Replies

VLAN Interface on layer 2 switch

Rem Markov
Level 1
Level 1

Hey ! So I have configured an eve-ng lab.

I have a cloud which what connects me to the bridge (My network).

To the bridge I have connected a router and a switch (Cisco IOL L3 and L2).

My router automatically received an IP address.

On the switch I have configured Vlan 10 interface with a static IP address of the network and added the default gateway as the router as they both connected to the same router. 

However I can't ping out or in the switch. I have tried configuring the VLAN10 on the e0/0 (the port that connects to to the cloud) and still nothing. 

Screenshot_2023-01-30-21-53-36-67_6012fa4d4ddec268fc5c7112cbb265e7.jpg

Help please ?

 

1 Accepted Solution

Accepted Solutions

Actually I solved it, I need to put on the interface I want to work, switchport mode access , and then switchport vlan <Vlan-id of the vlan interface I want>

There problem was is that i set it as trunk instead of access.

View solution in original post

3 Replies 3

Rem Markov
Level 1
Level 1

Screenshot_2023-01-30-21-53-42-62_6012fa4d4ddec268fc5c7112cbb265e7.jpg

 The configuration on the port on the switch

Martin L
VIP
VIP

can't really see anything; picture too small; copy and paste your configs directly from cli window here; and write topology u have , et. Cloud > IOL switch > IOL rotuer ?

Note: using Cisco IOL L3 and L2 outside of CML may not work and it is illegal to do so !

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

Actually I solved it, I need to put on the interface I want to work, switchport mode access , and then switchport vlan <Vlan-id of the vlan interface I want>

There problem was is that i set it as trunk instead of access.