I am mostly a Linux user, and my knowledge on FreeBSD is quite limited (learning now, as I need to use some FreeBSD servers). On some of them, when I create a jail, it doesn't have networking access, even if I configure it correctly (well, I would say it is correct, but if it doesn't work, something is missing).
Follows details. Not sure if I post everything needed. Let me know if I can help debugging the issue.
Jail has IP 10.20.0.13. It is correctly defined in the network interface:
Note that some of the other configured jails have networking, so the interface should be working correctly.
My ezjail-admin config is:
I have [FONT=Courier New]/etc/resolv.conf[/FONT] in the jail configured with the same IP as other working jails.
The firewall (pf) is allowing all outgoing traffic...
[FONT=Courier New]netstat -r[/FONT] result is similar for both working/non-working jails
No idea where else I should look. Thanks
Follows details. Not sure if I post everything needed. Let me know if I can help debugging the issue.
Jail has IP 10.20.0.13. It is correctly defined in the network interface:
Code:
bce0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
ether xxx
hwaddr xxx
inet 10.20.0.1 netmask 0xffffffff broadcast 10.20.0.1
inet 10.20.0.4 netmask 0xffffffff broadcast 10.20.0.4
inet 10.20.0.13 netmask 0xffffffff broadcast 10.20.0.13
Note that some of the other configured jails have networking, so the interface should be working correctly.
My ezjail-admin config is:
Code:
export jail_pdfs2_hostname="pdfs2"
export jail_pdfs2_ip="bce0|10.20.0.13"
export jail_pdfs2_rootdir="/usr/jails/pdfs2"
export jail_pdfs2_exec_start="/bin/sh /etc/rc"
export jail_pdfs2_exec_stop=""
export jail_pdfs2_mount_enable="YES"
export jail_pdfs2_devfs_enable="YES"
export jail_pdfs2_devfs_ruleset="devfsrules_jail"
export jail_pdfs2_procfs_enable="YES"
export jail_pdfs2_fdescfs_enable="YES"
export jail_pdfs2_image=""
export jail_pdfs2_imagetype=""
export jail_pdfs2_attachparams=""
export jail_pdfs2_attachblocking=""
export jail_pdfs2_forceblocking=""
export jail_pdfs2_zfs_datasets=""
export jail_pdfs2_cpuset=""
export jail_pdfs2_fib=""
export jail_pdfs2_parentzfs=""
export jail_pdfs2_parameters=""
export jail_pdfs2_post_start_script=""
export jail_pdfs2_retention_policy=""
I have [FONT=Courier New]/etc/resolv.conf[/FONT] in the jail configured with the same IP as other working jails.
The firewall (pf) is allowing all outgoing traffic...
[FONT=Courier New]netstat -r[/FONT] result is similar for both working/non-working jails
No idea where else I should look. Thanks