VMware Cloud Community
ericyoung
Contributor
Contributor

Multiple NICs and multiple segments

I am trying to VM's of a Linux box that will need to send traffic to two different segments. I have configured my ESX host with 2 virtual switches, one to each NIC, which corresponds to that segment. When I set up the VM with a single NIC to each segment, I don't have any communication issues. When I set them up with multiple NICs, I can communicate to one of the segments, but not the other.

0 Kudos
2 Replies
jcwuerfl
Hot Shot
Hot Shot

What do you mean by multiple nics?

So you have

ESX1

-vSwitch0 - 1 primary network card assigned with an uplink to Segment A.

- PortGroup: SegmentA

-vSwitch1 - 1 primary network card assigned with an uplink to Segment B

- PortGroup: SegmentB

- VM1 - vNic0=SegmentA

vNic1=SegmentB

And the above works fine? until you do this below?

- VM1 - vNic0=SegmentA

vNic1=SegmentA

vNic2=SegmentB

vNic3=SegmentB

Why add the second nic for each segment to the VM?

0 Kudos
ericyoung
Contributor
Contributor

Close, but not quite. My setup is

ESX1

-vSwitch0 - 1 primary network card assigned with an uplink to Segment A.

- PortGroup: SegmentA

-vSwitch1 - 1 primary network card assigned with an uplink to Segment B

- PortGroup: SegmentB

But this is a little different. I am able to successfully do the following:

VM1 - vnic0=SegmentA

OR

- VM1 - vNic0=SegmentB

What I cannot do is:

VM1 -vnic0=SegmentA

-vnic1=SegmentB

Under this setup, only Segment A can be reached. I am attempting this because I am looking to restore some Linux servers that were configured this way prior to my arrival, and I need to mirror that networking.

0 Kudos