Hi all,
I found this problem while trying to install an in-jail software from the ports, but I think it is not related to the ports. I've got a FreeBSD machine with two nics: em0 is used to go outside on the Internet, em1 is used internally. Then I've got one jail that is attached to an alias of em1, since it has to provide services only within the LAN. The problem is that from the jail I cannot get outside to download software, of course, and this should be fine once the jail is ready to run (in production mode), but now how can I overtake the problem and allow the jail to go outside using em0? Should I attach also an alias to em0 and give it to the jail? Because em0 is coming from dhcp, so I don't know how to assign a valid alias....
I found this problem while trying to install an in-jail software from the ports, but I think it is not related to the ports. I've got a FreeBSD machine with two nics: em0 is used to go outside on the Internet, em1 is used internally. Then I've got one jail that is attached to an alias of em1, since it has to provide services only within the LAN. The problem is that from the jail I cannot get outside to download software, of course, and this should be fine once the jail is ready to run (in production mode), but now how can I overtake the problem and allow the jail to go outside using em0? Should I attach also an alias to em0 and give it to the jail? Because em0 is coming from dhcp, so I don't know how to assign a valid alias....