Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 14:43:44 -0500
From:      "Bender, Chris" <chris_bender@cellularatsea.com>
To:        "Dirk Engling" <erdgeist@erdgeist.org>
Cc:        freebsd-jail@freebsd.org
Subject:   RE: jails
Message-ID:  <assp.0377cb8f99.863259E16B6C464DAD1E9DD10BB311540582ED5D@wmsexg01.corp.cellularatsea.com>
In-Reply-To: <4F283FE6.1060905@erdgeist.org>
References:  <863259E16B6C464DAD1E9DD10BB311540582ED4C@wmsexg01.corp.cellularatsea.com> <4F283FE6.1060905@erdgeist.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Host system rc.conf :

zs1# more rc.conf
zfs_enable=3D"YES"
hostname=3D"zs1.wms.cellularatsea.com"
defaultrouter=3D"172.19.4.2"
sendmail_enable=3D"NO"
sshd_enable=3D"YES"
#ntpd_enable=3D"YES"
accounting_enable=3D"YES"
auditd_enable=3D"YES"
rpc_lockd_enable=3D"YES"
rpc_statd_enable=3D"YES"
rpcbind_enable=3D"YES"
nfs_client_enable=3D"YES"

# Network IPs
ifconfig_em0=3D"inet 172.19.4.67 netmask 255.255.255.0 mtu 9000 polling
up"

#
# Jails em0
ifconfig_em0_alias0=3D"172.19.4.44 netmask 255.255.255.255"
ifconfig_em0_alias1=3D"172.19.4.36 netmask 255.255.255.255"
ifconfig_em0_alias2=3D"172.19.4.38 netmask 255.255.255.255"
ifconfig_em0_alias3=3D"172.19.4.45 netmask 255.255.255.255"
ifconfig_em0_alias4=3D"172.19.4.39 netmask 255.255.255.255"
ifconfig_em0_alias5=3D"172.19.4.190 netmask 255.255.255.255"
ifconfig_em0_alias6=3D"172.19.4.43 netmask 255.255.255.255"
ifconfig_em0_alias7=3D"172.19.4.42 netmask 255.255.255.255"
ifconfig_em0_alias9=3D"172.19.4.41 netmask 255.255.255.255"
ifconfig_em0_alias10=3D"172.19.4.46 netmask 255.255.255.255"
ifconfig_em0_alias11=3D"172.19.4.47 netmask 255.255.255.255"
ifconfig_em0_alias12=3D"172.19.4.48 netmask 255.255.255.255"
ifconfig_em0_alias13=3D"172.19.4.37 netmask 255.255.255.255"
# ifconfig_em0_alias2=3D"172.19.4.32 netmask 255.255.255.255"

# ifconfig_em0_alias8=3D"172.19.4.200 netmask 255.255.255.255"
# ezjail
ezjail_enable=3D"NO"
sysvipc_enable=3D"YES"
jail_sysvipc_allow=3D"YES"

# bsnmpd
bsnmpd_enable=3D"YES"
# smartd
smartd_enable=3D"YES"
# istatd
istatd_enable=3D"YES"





RC.CONF on jails system

# Pretuned by German Engineers

# No network interfaces in jails
network_interfaces=3D""

# Prevent rpc
rpcbind_enable=3D"NO"

# Prevent loads of jails doing their cron jobs at the same time
cron_flags=3D"$cron_flags -J 15"

# Prevent syslog to open sockets
syslogd_flags=3D"-ss"

# Prevent sendmail to try to connect to localhost
sendmail_enable=3D"NO"
sendmail_submit_enable=3D"NO"
sendmail_outbound_enable=3D"NO"
sendmail_msp_queue_enable=3D"NO"

# Bring up sshd, it takes some time and uses some entropy on first
startup
sshd_enable=3D"YES"
# inetd
inetd_enable=3D"YES"
inetd_flags=3D"-wW -C 60 -a tools2"
# apache22
apache22_enable=3D"YES"
# squid
squid_enable=3D"YES"
# postfix
postfix_enable=3D"YES"
# balance
balance_enable=3D"YES"
balance_hosts=3D"iphone dot48"
balance_iphone_flags=3D""
balance_iphone_address=3D"iphone.wms.cellularatsea.com"
balance_iphone_ports=3D"80 443"
balance_iphone_targets=3D"owa.cellularatsea.com"
balance_dot48_flags=3D""
balance_dot48_address=3D"172.19.4.48"
balance_dot48_ports=3D"8085"
balance_dot48_targets=3D"172.19.231.11"

# vsftpd
vsftpd_enable=3D"YES"

# nrpe
nrpe2_enable=3D"YES"





I don't see an ssh issue anywhere but maybe I am missing that. The other
subsystems can ssh, but this one can't.





-----Original Message-----
From: Dirk Engling [mailto:erdgeist@erdgeist.org]=20
Sent: Tuesday, January 31, 2012 2:24 PM
To: Bender, Chris
Cc: freebsd-jail@freebsd.org
Subject: Re: jails

On 31.01.12 20:16, Bender, Chris wrote:

> Outside world cannot see one of my jails.  I can ping it, but that's
it. My other jails work fine. I am not sure as why.=20

Once you configure the IP address on your interface, you can ping it,
with or without jails.

> I have searched the intenet over but nothing seems to work.=20

Can you type "ezjail-admin list" and paste the results, please?

  erdgeist



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.0377cb8f99.863259E16B6C464DAD1E9DD10BB311540582ED5D>