Ok.. I've got my first real jail setup but find it can only ping the host interface -- other numbered IP addresses fail, name lookups fail,etc... Any ideas? I do not have any firewall running (that I'm aware of).. Do I need something to route these requests properly or is it something else?
Below are the relevant config settings:
Host "rc.conf":
Here's the jailbase version of rc.conf:
Here's my jailbase resolv.conf:
Below are the relevant config settings:
Host "rc.conf":
Code:
# -- sysinstall generated deltas -- # Sun Mar 1 08:55:26 2009
# Created: Sun Mar 1 08:55:26 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="10.0.1.254"
hostname="srv1.mydomain.com"
ifconfig_fxp0="inet 10.0.1.198 netmask 255.255.254.0"
linux_enable="NO"
sshd_enable="NO"
rpcbind_enable="NO"
tcp_extensions="YES"
clear_tmp_enable="YES"
# -- sysinstall generated deltas -- # Sun Mar 1 17:35:09 2009
sendmail_enable="NO"
cyrus_pwcheck_enable="NO"
cyrus_imapd_enable="NO"
saslauthd_enable="NO"
spamass_milter_enable="NO"
spamd_enable="NO"
spamd_flags="-c -u nobody"
clamav_clamd_enable="NO"
clamav_milter_enable="NO"
clamav_freshclam_enable="NO"
ntpdate_flags="north-america.pool.ntp.org"
ntpdate_enable="YES"
inetd_enable="YES"
inetd_flags="-wW -a 10.0.1.198"
syslogd_flags="-a 10.0.1.198"
# Jail items...
jail_enable="YES"
jail_set_hostname_allow="NO"
jail_list="jailbase"
jail_socket_unixproute_only="YES"
jail_interface="fxp0"
jail_procfs_enable="YES"
# Jailbase
jail_jailbase_rootdir="/usr/jails/jailbase"
jail_jailbase_hostname="jailbase.mydomain.com"
jail_jailbase_ip="192.168.10.30"
jail_jailbase_devfs_enable="YES"
jail_jailbase_exec_start="/bin/sh /etc/rc"
ifconfig_vr0_alias0="inet 192.168.10.30 netmask 255.255.255.0"
Here's the jailbase version of rc.conf:
Code:
# -- sysinstall generated deltas -- # Sun Mar 1 08:55:26 2009
# Created: Sun Mar 1 08:55:26 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
ifconfig_fxp0="inet 192.168.10.30 netmask 255.255.255.0"
defaultrouter="10.0.1.254"
sshd_enable="NO"
#network_interfaces=""
sendmail_enable="NO"
rpcbind_enable="NO"
clear_tmp_enable="YES"
syslogd_enable="YES"
syslogd_flags="-ss"
Here's my jailbase resolv.conf:
Code:
nameserver 208.67.222.222
nameserver 208.67.220.220