ESXi Box with FreeNas VM with 2 Physical Systems attached to ESXI/FreeNAS VM, possible?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

n00bftw

Member
Jul 16, 2020
39
4
8
United Kingdom
As the title states, I have a system with ESXi that has 2 physical NICs, and a FreeNAS VM inside. Currently, I have one physical system connected via port 1 on the ESXI systems NIC, I can successfully connect to both the ESXi management network and the FreeNAS VM on said machine. I would like to set up a second physical system (port 2 on ESXi box NIC) to be able to access the FreeNAS VM, if not the ESXi management network also.

The current switch etc..... setup inside VMware is currently untouched.
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
Thats no problem if you use a second network for the second NIC/mgmt network/FN interface
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
Well then it might help explaining what you have so far and where the problems lie...
 

n00bftw

Member
Jul 16, 2020
39
4
8
United Kingdom
Well then it might help explaining what you have so far and where the problems lie...
I just want the second machine (VMNIC1) to be able to connect to FreeNAS, like the first machine already can on VMNIC0. I currently have it all wired up, no settings in ESXi have been changed as of yet.

1599309641773.png

1599309694318.png

1599309711637.png

1599309731005.png

1599309753460.png

1599309777595.png1599309606925.png1599309641773.png1599309694318.png1599309711637.png1599309731005.png1599309753460.png1599309777595.png
 

n00bftw

Member
Jul 16, 2020
39
4
8
United Kingdom
This is the FreeNas VM currently, setup for the first machine, and works fine, connected to port1 on the ESXi box's NIC, which is VMNIC0 under ESXI. Now i need to sort the seconds machine out, which connects to the ESXI box on port 2 - VMNIC1?
1599309991135.png
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
Just replicate the first vswitch with a second identical one (ie second vswitch, second vmkernel adapter, second client network), assign that with the second nic and a second network ip in a separate subnet. make sure to tag it with management if you want to manage esxi from that too.
assign a new nic from the new client network to freenas.

If you want Network1 (client1) to be able to talk to network2 (client2) as well you'll need a router vm too
 
  • Like
Reactions: n00bftw

n00bftw

Member
Jul 16, 2020
39
4
8
United Kingdom
Just replicate the first vswitch with a second identical one (ie second vswitch, second vmkernel adapter, second client network), assign that with the second nic and a second network ip in a separate subnet. make sure to tag it with management if you want to manage esxi from that too.
assign a new nic from the new client network to freenas.

If you want Network1 (client1) to be able to talk to network2 (client2) as well you'll need a router vm too
Can i not just put both nics on the same vswitch?
 

Rand__

Well-Known Member
Mar 6, 2014
6,633
1,767
113
Theoretically it might work if you properly route the traffic through the uplinks, but a vswitch is free so why not make it clean?
 

n00bftw

Member
Jul 16, 2020
39
4
8
United Kingdom
Just replicate the first vswitch with a second identical one (ie second vswitch, second vmkernel adapter, second client network), assign that with the second nic and a second network ip in a separate subnet. make sure to tag it with management if you want to manage esxi from that too.
assign a new nic from the new client network to freenas.

If you want Network1 (client1) to be able to talk to network2 (client2) as well you'll need a router vm too
Thanks for the help Rand, managed to do it ;)