What have I neglected to do in order to get networking in a jail?
James B. Byrne
byrnejb at harte-lyne.ca
Thu May 31 13:15:17 UTC 2018
On Thu, May 31, 2018 04:55, Herbert J. Skuhra wrote:
> On Wed, 30 May 2018 17:24:03 +0200, "James B. Byrne via
>> root at mx31:~ # ifconfig
>> vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST>
>> metric 0 mtu 1500
>> ether 58:9c:fc:0e:cd:bb
>> hwaddr 58:9c:fc:0e:cd:bb
>> inet 126.96.36.199 netmask 0xffffffff broadcast 188.8.131.52
>> Why does this jail not have a network connection?
> After a quick check I guess you are missing NAT on the host (pf or
One does not require NAT when one has a public IP address assigned to
the I/F. The jail network traffic is not getting off the host system
as I have determined from tcpdump.
I have set jails up before on a similarly configured host and have
gotten them to work, albeit always with some difficulty or other.
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions