Aloha,
i'm having a quite dubious problem. Currently there are 6 jails on my server and i want to migrate them to be managed by sysutils/qjail. All jails are currently build via
Now i created with
I started the second
- i can ping to IPv6 addresses at the same server
- i can't do anything else
- this limitation are jail-based - but only when created with qjail; i tried various IPv6 addresses and other jails.
Here my configuration. My rc.conf:
My resolv.conf
This is ifconfig:
Ping IPv6 to the same server:
Ping IPv6 to another of mine server:
Can't even ping my gateway:
How can i debug / fix this?
i'm having a quite dubious problem. Currently there are 6 jails on my server and i want to migrate them to be managed by sysutils/qjail. All jails are currently build via
make buildworld
etc.Now i created with
qjail create
my first jail. I copied /etc/resolv.conf and /etc/rc.conf and also all the rest of the data. qjail start and everything is fine. Great.I started the second
qjail create
d, migrated all the data, but i could not connect to the internet. After multiple tries i can say:- i can ping to IPv6 addresses at the same server
- i can't do anything else
- this limitation are jail-based - but only when created with qjail; i tried various IPv6 addresses and other jails.
Here my configuration. My rc.conf:
test / >cat /etc/rc.conf
# No network interfaces in jails
network_interfaces=""
# Prevent rpc
rpcbind_enable="NO"
# Prevent jails from doing their cron jobs at the same time
cron_flags=" -J 60"
# Prevent syslog from opening sockets
syslogd_enable="YES"
syslogd_flags="-ss"
# Prevent sendmail from trying to connect to localhost
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
ifconfig_em0_ipv6="inet6 2a01:4f8:10b:9c3::10/64"
ipv6_defaultrouter="fe80::1%em0"
My resolv.conf
test / >cat /etc/resolv.conf
# Generated by resolvconf
search your-server.de
nameserver 2620:0:ccc::2
nameserver 2620:0:ccd::2
This is ifconfig:
test / >ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO>
ether 90:1b:0e:cb:ce:37
hwaddr 90:1b:0e:cb:ce:37
inet6 2a01:4f8:96b:9c3::10 prefixlen 128
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
Ping IPv6 to the same server:
test / >ping6 -c 2 2a01:4f8:10b:9c3::3
PING6(56=40+8+8 bytes) 2a01:4f8:96b:9c3::10 --> 2a01:4f8:10b:9c3::3
16 bytes from 2a01:4f8:10b:9c3::3, icmp_seq=0 hlim=64 time=0.093 ms
16 bytes from 2a01:4f8:10b:9c3::3, icmp_seq=1 hlim=64 time=0.096 ms
--- 2a01:4f8:10b:9c3::3 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.093/0.095/0.096/0.001 ms
Ping IPv6 to another of mine server:
test / >ping6 -c 2 2a01:4f8:150:50a5::6
PING6(56=40+8+8 bytes) 2a01:4f8:96b:9c3::10 --> 2a01:4f8:150:50a5::6
Can't even ping my gateway:
test / >ping6 -c 2 fe80::1
ping6: UDP connect: Network is unreachable
test / >ping6 -c 2 fe80::1%em0
PING6(56=40+8+8 bytes) 2a01:4f8:96b:9c3::10 --> fe80::1%em0
^C
--- fe80::1%em0 ping6 statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
How can i debug / fix this?