Hi,

I'm receiving some messages regarding a possibly duplicate IPv6 address when starting a vnet jail. I have 3 jails, and the second one get started is generating some errors. Starting the third one does not generate any similar error messages. I've pasted the relevant log sections below:

fileserve's /var/log/messages
Sep 1 17:16:08 fileserve sm-mta[2102]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: cannot bind: Address already in use Sep 1 17:16:08 fileserve sm-mta[2102]: daemon Daemon0: problem creating SMTP socket
...
Sep 1 17:16:08 fileserve sm-mta[2102]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon Daemon0: server SMTP socket wedged: exiting
(sendmail or any other MTA is not enabled/running)

base system:
Sep 1 17:16:08 frank-server kernel: epair1b: DAD detected duplicate IPv6 address fe80:2::ff:fe00:70b: NS in/out=0/1, NA in=1 Sep 1 17:16:08 frank-server kernel: epair1b: DAD complete for fe80:2::ff:fe00:70b - duplicate found
Sep  1 17:16:08 frank-server kernel: epair1b: manual intervention required
Sep 1 17:16:08 frank-server kernel: epair1b: possible hardware address duplication detected, disable IPv6


From dmesg on boot:
bridge0: Ethernet address: 3a:fa:3f:1e:0e:2e
epair0a: Ethernet address: 02:fa:c2:00:04:0a
epair0b: Ethernet address: 02:00:00:00:05:0b
epair0a: promiscuous mode enabled
nfe0: link state changed to DOWN
nfe0: link state changed to UP
epair1a: Ethernet address: 02:aa:d1:00:05:0a
epair1b: Ethernet address: 02:00:00:00:06:0b
epair1a: promiscuous mode enabled
epair2a: Ethernet address: 02:9a:d2:00:06:0a
epair2b: Ethernet address: 02:00:00:00:07:0b
epair2a: promiscuous mode enabled

-they seem unique to me.

I've also attached my full /etc/rc.conf. I have applied the patch on http://wiki.polymorf.fr/index.php/Howto:FreeBSD_jail_vnet on my /etc/rc.d/jail script so that the parameter -c vnet is passed on, and the jail_jname_earlypoststart* variables are issued on jail start.

The jail's networking seems a little unstable. I can usually ssh into it at 10.31.45.12 but at random times the connection just stalls. Then, I can only return to the jail using jexec from the base.
Could someone point out what I'm doing wrong? Thanks in advance.

Frank

# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.

# Enable network daemons for user convenience.
# Created: Thu Mar 25 19:27:46 2010
# -- sysinstall generated deltas -- # Thu Mar 25 19:28:36 2010

hostname="frank-server"
defaultrouter="10.31.45.1"
ifconfig_nfe0="inet 10.31.45.10 netmask 255.255.255.0"

syslogd_flags="-ss -c"
zfs_enable="YES"
sshd_enable="YES"
denyhosts_enable="YES"
gateway_enable="YES"

#openvpn_enable="YES"
#openvpn_if="tap"
#openvpn_flags="--script-security 3"

cloned_interfaces="bridge0"
ifconfig_bridge0="addm nfe0"

jail_enable="YES"
jail_v2_enable="YES"
jail_list="www fileserve mysql"

jail_www_name="www"
jail_www_hostname="www.frank-server"
jail_www_devfs_enable="YES"
jail_www_devfs_ruleset="devfsrules_jail"
jail_www_rootdir="/jails/www"
jail_www_mount_enable="YES"
jail_www_vnet_enable="YES"
jail_www_exec_prestart0="ifconfig epair0 create"
jail_www_exec_prestart1="ifconfig bridge0 addm epair0a"
jail_www_exec_prestart2="ifconfig epair0a up"
jail_www_exec_earlypoststart0="ifconfig epair0b vnet www"
jail_www_exec_afterstart0="ifconfig lo0 127.0.0.1/8 up"
jail_www_exec_afterstart1="ifconfig epair0b 10.31.45.11/24 up"
jail_www_exec_afterstart2="route add default 10.31.45.1"
jail_www_exec_afterstart3="/bin/sh /etc/rc"
jail_www_exec_poststop0="ifconfig bridge0 deletem epair0a"
jail_www_exec_poststop1="ifconfig epair0a destroy"

jail_fileserve_name="fileserve"
jail_fileserve_hostname="fileserve.frank-server"
jail_fileserve_devfs_enable="YES"
jail_fileserve_devfs_ruleset="devfsrules_printers"
jail_fileserve_rootdir="/jails/fileserve"
jail_fileserve_mount_enable="YES"
jail_fileserve_vnet_enable="YES"
jail_fileserve_exec_prestart0="ifconfig epair1 create"
jail_fileserve_exec_prestart1="ifconfig bridge0 addm epair1a"
jail_fileserve_exec_prestart2="ifconfig epair1a up"
jail_fileserve_exec_earlypoststart0="ifconfig epair1b vnet fileserve"
jail_fileserve_exec_afterstart0="ifconfig lo0 127.0.0.1/8 up"
jail_fileserve_exec_afterstart1="ifconfig epair1b 10.31.45.12/24 up"
jail_fileserve_exec_afterstart2="route add default 10.31.45.1"
jail_fileserve_exec_afterstart3="/bin/sh /etc/rc"
jail_fileserve_exec_poststop0="ifconfig bridge0 deletem epair1a"
jail_fileserve_exec_poststop1="ifconfig epair1a destroy"

jail_mysql_name="mysql"
jail_mysql_hostname="mysql.frank-server"
jail_mysql_devfs_enable="YES"
jail_mysql_devfs_ruleset="devfsrules_jail"
jail_mysql_rootdir="/jails/mysql"
jail_mysql_mount_enable="YES"
jail_mysql_vnet_enable="YES"
jail_mysql_exec_prestart0="ifconfig epair2 create"
jail_mysql_exec_prestart1="ifconfig bridge0 addm epair2a"
jail_mysql_exec_prestart2="ifconfig epair2a up"
jail_mysql_exec_earlypoststart0="ifconfig epair2b vnet mysql"
jail_mysql_exec_afterstart0="ifconfig lo0 127.0.0.1/8 up"
jail_mysql_exec_afterstart1="ifconfig epair2b 10.31.45.13/24 up"
jail_mysql_exec_afterstart2="route add default 10.31.45.1"
jail_mysql_exec_afterstart3="/bin/sh /etc/rc"
jail_mysql_exec_poststop0="ifconfig bridge0 deletem epair2a"
jail_mysql_exec_poststop1="ifconfig epair2a destroy"
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to