Can I assign an IP to an epair interface for a jail that would be on the same subnet as my LAN?
I have a router jail with 2 interfaces (wired and wan) and a 'workstation' jail which has an epair to the host system and an epair to the router jail. I'd like to assign the workstation an IP on the wired subnet so that I could talk to other clients on that network and vice versa.
I am thinking that perhaps it should not be a vnet jail:
Then, I should assign the IP address and interface that I want and it *should* magically work. The interface in my situation would be wired. Would that pose any problems that the wired interface is assigned to a jail?
I have a router jail with 2 interfaces (wired and wan) and a 'workstation' jail which has an epair to the host system and an epair to the router jail. I'd like to assign the workstation an IP on the wired subnet so that I could talk to other clients on that network and vice versa.
I am thinking that perhaps it should not be a vnet jail:
Chapter 17. Jails and Containers
Jails improve on the concept of the traditional chroot environment in several ways
docs.freebsd.org
Then, I should assign the IP address and interface that I want and it *should* magically work. The interface in my situation would be wired. Would that pose any problems that the wired interface is assigned to a jail?