Searched refs:ipv6 (Results 1 - 10 of 10) sorted by relevance

/lxc/doc/
H A Dlxc.container.conf33 # specify the ipv6 address of the container. Several lines are allowed and
35 lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
/lxc/templates/
H A Dlxc-altlinux.in82 ${ipv6}
295 if [ ! -z ${ipv6} ]; then
297 lxc.network.ipv6 = $ipv6
302 lxc.network.ipv6.gateway = $gw6
362 [-4|--ipv4=<ipv4 address>] [-6|--ipv6=<ipv6 address>]
374 -6,--ipv6 specify the ipv6 address to assign to the virtualized interface, eg. 2003:db8:1:0:214:1234:fe0b:3596/64
386 options=$(getopt -o hp:n:P:cR:4:6:g:d: -l help,rootfs:,path:,name:,profile:,clean,release:,ipv4:,ipv6
[all...]
H A Dlxc-openmandriva.in257 if [ ! -z ${ipv6} ]; then
259 lxc.network.ipv6 = $ipv6
264 lxc.network.ipv6.gateway = $gw6
322 [-4|--ipv4=<ipv4 address>] [-6|--ipv6=<ipv6 address>]
334 -6,--ipv6 specify the ipv6 address to assign to the virtualized interface, eg. 2003:db8:1:0:214:1234:fe0b:3596/64
346 options=$(getopt -o hp:n:P:cR:4:6:g:d:A -l help,rootfs:,path:,name:,profile:,clean:,release:,ipv4:,ipv6:,gw:,dns:,arch: -- "$@")
378 -6|--ipv6) ipv
[all...]
H A Dlxc-sparclinux.in129 # disable ipv6
130 rm -f $container_rootfs/etc/sysconfig/network-scripts/init.ipv6-global
H A Dlxc-oracle.in205 # disable ipv6 on ol6
206 rm -f $container_rootfs/etc/sysconfig/network-scripts/init.ipv6-global
/lxc/src/lxc/tools/
H A Dlxc_ls.c68 char *ipv6; member in struct:ls
288 free(m->ipv6);
478 l->ipv6 = ls_get_ips(c, "inet6");
866 printf("%-*s ", lht->ipv6_length, m->ipv6 ? m->ipv6 : "-");
903 printf("%-*s ", lht->ipv6_length, m->ipv6 ? m->ipv6 : "-");
1097 if (ls_send_str(wpipefd, n->ipv6) < 0)
1180 if (ls_recv_str(rpipefd, &n->ipv6) < 0)
1222 if (m->ipv6) {
[all...]
/lxc/config/init/common/
H A Dlxc-net.in79 echo 0 > /proc/sys/net/ipv6/conf/${LXC_BRIDGE}/accept_dad || true
95 echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
96 echo 0 > /proc/sys/net/ipv6/conf/${LXC_BRIDGE}/autoconf
/lxc/src/lxc/
H A Dconf.h73 * Defines the structure to configure an ipv6 address
75 * @address : ipv6 address
76 * @broadcast : ipv6 broadcast address
118 * @ipv6 : a list of ipv6 addresses to be set on the network device
132 struct lxc_list ipv6; member in struct:lxc_netdev
H A Dconfile.c162 { "lxc.network.ipv6.gateway", config_network_ipv6_gateway },
163 { "lxc.network.ipv6", config_network_ipv6 },
425 lxc_list_init(&netdev->ipv6);
533 strprint(retv, inlen, "ipv6\n");
534 strprint(retv, inlen, "ipv6.gateway\n");
932 SYSERROR("failed to allocate ipv6 address");
965 SYSERROR("invalid ipv6 address: %s", valdup);
972 lxc_list_add_tail(&netdev->ipv6, list);
999 SYSERROR("failed to allocate ipv6 gateway address");
1004 SYSERROR("invalid ipv6 gatewa
[all...]
H A Dconf.c2411 /* setup ipv6 addresses on the interface */
2412 if (setup_ipv6_addr(&netdev->ipv6, netdev->ifindex)) {
2413 ERROR("failed to setup ipv6 addresses for '%s'",
2477 /* setup ipv6 gateway on the interface */
2480 ERROR("Cannot add ipv6 gateway for %s when not bringing up the interface", ifname);
2484 if (lxc_list_empty(&netdev->ipv6) && !IN6_IS_ADDR_LINKLOCAL(netdev->ipv6_gateway)) {
2485 ERROR("Cannot add ipv6 gateway for %s when not assigning an address", ifname);
2493 ERROR("failed to add ipv6 dest for '%s': %s",
2499 ERROR("failed to setup ipv6 gateway for '%s': %s",
2504 ERROR("tried to set autodetected ipv6 gatewa
[all...]

Completed in 34 milliseconds