TieuKimKe
Contributor
Contributor

Cannot ping VM's ESXi 6.7 from physical machine

I creat one VM window 10 (have a one network car) and one pfsense (have two network card) on ESXi 6.7.

one card of window 10 and one card of pfsense belong VLAN 10 port group VLAN vswitch 0

one card of pfsense belong VLAN 20 port group Internet vswich 1

sign vswitch 0 to physical network card 1

sign vswitch 1 to physical network card 2

physical network card 1 connect to cisco switch 2960, cisco switch 2960 connect to cisco router

physical network card 2 connect to modem

i cannot ping vm window and pfsense from cisco router

diagram i attach below.

please help me

0 Kudos
4 Replies
berndweyand
Expert
Expert

can you ping pfsense from win10 and vice versa ? if yes look at the vlan-config of the cisco-switch

0 Kudos
TieuKimKe
Contributor
Contributor

on cisco switch i configured access vlan 10 for physical connect to virtual network card of pfsense and win 10.

my config below:

interface FastEthernet0/23

switchport access vlan 10

switchport mode access

end

0 Kudos
berndweyand
Expert
Expert

was the ping between pfsense and win10-vm successful ?

do you have set the vlan-id on the portgroup of switch0 ? i´m not a networker, but i think with switchport mode access you need no vlan-id on the portgroup, so leave it blank

0 Kudos
TieuKimKe
Contributor
Contributor

i resolved it.

i forget enable trunk port on cisco switch connect to cisco router.

thank you very much

0 Kudos