Jail network setup when server is connected with a bridge

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
I have a server that has a dual Melanox 10Gb card that I have configured with a bridge consisting of those two ports. I can access the server and the attached 10Gb system. That works fine but I cannot seem to get network access to my Plex server that is running in a jail. I hope someone has done something similar and can suggest the parameters for the jail.
 

Attachments

  • 2023-03-19 (1).png
    2023-03-19 (1).png
    343.5 KB · Views: 193
  • 2023-03-19 (2).png
    2023-03-19 (2).png
    404.4 KB · Views: 178
  • 2023-03-19 (3).png
    2023-03-19 (3).png
    479.1 KB · Views: 158
  • 2023-03-19 (4).png
    2023-03-19 (4).png
    394.2 KB · Views: 180

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
vnet_default_interface none
interfaces vnet0:bridge1
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
vnet_default_interface none
interfaces vnet0:bridge1
thanks for responding. GUI will not let me set the interfaces to anything but vnet0. Do I have to modify the bridge to include vnet0 to have that option appear? I tried but, vnet0 does not show as an option in the bridge configuration interface.
for the other settings NAT off, VNET on, DHCP off, berkley packet on? What IP address to set this to? The bridge is 192.168.0.61, It won't let me set the IP to that. My router is192.168.0.1 and I reserved addresses over 192.168.0.190 for fixed addresses.

Please help me understand what the issue is. The vnet0 needs to somehow be connected to the bridge. Can I side step the issue by connecting one of the 1Gb ports and using that to interface to the jail's vnet port? BSD does not like multiple interfaces on the same subnet how would I configure that?
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Further down in the networking section. vnet0 is the correct interface for the jail but you need to connect it to bridge1 by changing vnet_default_interface from auto to none and way below the IP,configuration you will fund a field named "interfaces" which you must set to vnet0:bridge1 as I wrote. The in the top section you can configure DHCP for vnet0 or set a static address as you prefer.
 

ZiggyGT

Contributor
Joined
Sep 25, 2017
Messages
125
Further down in the networking section. vnet0 is the correct interface for the jail but you need to connect it to bridge1 by changing vnet_default_interface from auto to none and way below the IP,configuration you will fund a field named "interfaces" which you must set to vnet0:bridge1 as I wrote. The in the top section you can configure DHCP for vnet0 or set a static address as you prefer.
Thanks so much. That did the trick. I changed the vnet0:bridge0 to vnet:bridge1 in the Network Properties section at the bottom. Now I can access Plex through the DHCP address that was set up.
 

Attachments

  • 2023-03-20.png
    2023-03-20.png
    391.1 KB · Views: 218
Top