VMware Cloud Community
FlatironsAdmin
Contributor
Contributor

Issue with VM's with multiple network adapters and multiple port groups

We have an ESXi 6.5 server running vm's with the following networking conviguration:

vswitch0 - phyiscal nic vmnic0, port group Management Network with VLAN ID 0

vswitch1 - physical nic vmnic1, port groups (PG-VLAN700 with VLAN ID 700, PG-VLAN200 with VLAN ID 200, and PG-ALL_VLANs-Trunk with VLAN ID 4095)

vswitch2 - physical nic vmnic2, port  group PG-VLAN300 with VLAN ID 300

The guests are RHEL 6/7

Issue 1:  VM has 2 interfaces both on PG-VLAN200.  Interface 1 works but interface 2 is never accessable, can't ping the IP on the interface event though it shows as up.

Issue 2, which may be related to issue 1:  VM has 4 interfaces, 2 on PG-VLAN200, 2 on PG-VLAN300.  I started with just 2 interfaces on PG-VLAN200 and it was working.  As soon as I added interfaces 3 & 4 to the VM and assigned them to PG-VLAN300 and rebooted, all 4 interfaces stopped working.

I have tested that PG-VLAN300 works on another VM that just has 1 interface assigned to PG-VLAN300.

I hope that someone can point me in a direction why these are not working correctly.

Thanks

Robert

0 Kudos
2 Replies
sk84
Expert
Expert

Do you have 2 default gateways configured? Please show an output of "route ip".

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
0 Kudos
HassanAlKak88
Expert
Expert

Hello,

Regarding issue 1: first, what about the default gateway of two interfaces ? kindly clarify the needs of two interfaces with same VLAN in a VM.

For issue 2: you said "I started with just 2 interfaces on PG-VLAN200 and it was working" how did you test that were working ? and what is the difference between this case and issue 1 ?

When you add another network for any computer, i recommend to help traffic using some static route. please i prefer to more clarify your test.

Please consider marking this answer "CORRECT" or "Helpful" if you think your question have been answered correctly.

Cheers,

VCIX6-NV|VCP-NV|VCP-DC|

@KakHassan

linkedin.com/in/hassanalkak


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
0 Kudos