Please, i need your help. I have read all the posts from the internet, but i don't know what is wrong. i want to ping from PC10 (portgroup in Vlan 10 with ip, GW to the int vlan 10 from the switch (ip but it says Destination host unreacheable. I want to configure a topology with a Cisco L3 Switch with vlan routing between 2 VM's created inside an ESXi host.

TOPOLOGY WITH ESXI AND GNS3 enter image description here

So i have the following: - on my laptop i have installed VMWare Workstation - inside the workstation i created 2 VM's: one ESXI host and one GNS3 VM Server - on ESXI host i have created two VM's:
-----PC10 on portgroup V10 allocated to Vlan 10 with ip GW -----PC20 on portgroup V20 allocated to Vlan 20 with ip GW -----the management interface has the ip:

ESXI CONFIGURATION enter image description here

  • the switch is configured as a L3 SW: ----- the switch runs inside the GNS3 VM and it is a QEMU VIRL image ----- i have created vlan 10 and vlan 20 ----- int vlan 10 with ip ----- int vlan 20 with ip ----- int g0/0 (connected to ESXI host) is configured as a trunk


enter image description here

I want to mention that i have tested the connectivity between the switch and a PC inside the ESXI and it worked as follows: - Switch: int g0/0 (connects to ESXi host) --- no switchport --- ip addr - ESXI host: mangement int - GW - PC inside ESXI: ip add GW (connected to VM Network) - no vlan configuration was done, neither inside the switch, nor inside ESXI.

I have just wanted to test connectivity between switch and PC inside ESXi, and after that to configure vlan. But it didn;t work.

  • Please post text configurations as text (using the { } function) and NOT AS SCREENSHOT!
    – Zac67
    Apr 30, 2020 at 17:51
  • You can't trunk VLANs outside of GNS3. you'll need to run your ESXI inside it.
    – Ron Trunk
    Apr 30, 2020 at 17:53
  • Could you be more specific please? How should i do?
    – bogdan
    Apr 30, 2020 at 17:59
  • You can't trunk vlans to VMWare workstation
    – Ron Trunk
    Apr 30, 2020 at 18:49
  • K. Thank you! So how should i do this lab to make vlan routing work between an ESXi with VM's and a cisco router/switch?
    – bogdan
    Apr 30, 2020 at 18:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.