Welcome,
I have issue with jails networking.
I have two LAN's, one is my main lan, second is for web services.
Main LAN is: 10.20.0.0/16, web LAN is: 100.200.0./24.
They are both on separate routers, and have different public IP's (two ISP's).
FreeNAS server has one NIC (bge0) on main LAN (SMB, plex, and all), and second NIC (bge1) on web LAN.
I'm trying to set up transmission jail to use web LAN, not main LAN.
When I uncheck VIMAGE I can choose NIC bge1, transmission interface works, and I can ping all addresses from web LAN. But I can't ping anything in internet.
I had tried to to add defaultrouter=”gwIP” to /etc/rc.conf in jail, no results.
Also #
100.200.0.23 link#2 UHS lo0
When I enable VIMAGE and setup IP manually, jail is always using bge0.
I had similar setup but with debian with phpvirtualbox and it is working, VM has bridged adapter and it is using second NIC.
I have no idea how what else I can do to make it works.
Thanks for any suggestions.
I have issue with jails networking.
I have two LAN's, one is my main lan, second is for web services.
Main LAN is: 10.20.0.0/16, web LAN is: 100.200.0./24.
They are both on separate routers, and have different public IP's (two ISP's).
FreeNAS server has one NIC (bge0) on main LAN (SMB, plex, and all), and second NIC (bge1) on web LAN.
I'm trying to set up transmission jail to use web LAN, not main LAN.
When I uncheck VIMAGE I can choose NIC bge1, transmission interface works, and I can ping all addresses from web LAN. But I can't ping anything in internet.
I had tried to to add defaultrouter=”gwIP” to /etc/rc.conf in jail, no results.
Also #
route add 100.200.0.1
returns: route: writing to route socket: operation not permited netstat -nr
100.200.0.23 link#2 UHS lo0
When I enable VIMAGE and setup IP manually, jail is always using bge0.
I had similar setup but with debian with phpvirtualbox and it is working, VM has bridged adapter and it is using second NIC.
I have no idea how what else I can do to make it works.
Thanks for any suggestions.
Last edited by a moderator: