<div dir="ltr">After commenting out all related variables, and bringing up the jail manually from scratch, it was able to access the network.<div><br></div><div>Apologies for firing off that last email on a whim. </div><div><br></div><div>Still researching the inability to initiate a networked jail during startup. Since the host system gets is IP address via DHCP, maybe something is conflicting.</div><div><br></div><div>Best</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 2, 2023 at 4:42 PM Mayu Inc. <<a href="mailto:pomomayu@gmail.com">pomomayu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Unable to get network access from a jail.<div><br></div><div>DragonflyBSD 6.4-RELEASE<br><div><br></div><div># ping 8.8.8.8</div><div> ping: socket: Operation not permitted</div><div><br></div><div>Listen sockets are configured on the host machine per the manpage</div><div><br></div><div> /etc/sysctl<div> jail.defaults.allow_raw_sockets=1</div><div> jail.defaults.allow_listen_override=1</div><div><br></div><div>Tail is enabled via /etc/rc.conf</div><div><br></div><div> jail_enable="YES"</div><div> jail_list="myjail"</div><div> jail_myjail_devfs_enable="YES"</div><div> jail_myjail_rootdir="/path/to/myjail"</div><div> jail_myjail_hostname="myjail"</div><div> jail_myjail_ip="10.0.0.1"</div><div><br></div><div>ifconfig was configured as shown:</div><div> # ifconfig lo0 127.0.0.2 alias</div><div> # ifconfig re0 10.0.0.1 alias</div><div><br></div><div>The host IP is 192.168.10.2</div><div><br></div><div>The jail devfs is mounted in /etc/fstab</div><div><br></div><div> devfs /path/to/myjail/dev devfs rw 0 0</div><div><br></div><div><br></div></div></div></div>
</blockquote></div>