Hi,
I have trouble understanding the reason of these warning messages.
When I try to create a jail with this command:
I get the warnings:
I am very surprised by the first warning: Warning: IP 10.0.0.4 not configured on a local interface
Here's the result of
So it seems the IP is configured on a local interface. Or isn't it?
Here is my /etc/rc.conf:
So, what am I doing wrong here?
Thanks for your help.
I have trouble understanding the reason of these warning messages.
When I try to create a jail with this command:
$ sudo ezjail-admin create myjail 10.0.0.4I get the warnings:
Code:
Warning: IP 10.0.0.4 not configured on a local interface.
Warning: Some services already seem to be listening on IP 10.0.0.4
This may cause some confusion, here they are:
root ntpd 681 26 udp4 10.0.0.4:123 *:*
Warning: Some services already seem to be listening on all IP, (including 10.0.0.4)
This may cause some confusion, here they are:
root natd 1177 3 div4 *:8668 *:*
root ntpd 681 20 udp6 *:123 *:*
root ntpd 681 21 udp4 *:123 *:*
root syslogd 595 6 udp6 *:514 *:*
root syslogd 595 7 udp4 *:514 *:*
I am very surprised by the first warning: Warning: IP 10.0.0.4 not configured on a local interface
Here's the result of
$ ifconfig lo1:
Code:
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 10.0.0.4 netmask 0xff000000
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
So it seems the IP is configured on a local interface. Or isn't it?
Here is my /etc/rc.conf:
Code:
hostname="myhostname"
ifconfig_re0="DHCP"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
sshd_enable="YES"
ezjail_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
firewall_enable="YES"
firewall_script="/etc/ipfw.rules"
cloned_interfaces="lo1"
firewall_logging="YES"
ifconfig_lo1_alias0="inet 10.0.0.4 netmask 255.0.0.0"
gateway_enable="YES"
natd_enable="YES"
natd_interface="re0"
natd_flags="-f /etc/natd.conf"
So, what am I doing wrong here?
Thanks for your help.