Searched refs:ipv4 (Results 1 - 9 of 9) sorted by relevance

/lxc/doc/
H A Dlxc.container.conf29 # specify the ipv4 address of the container. Several lines are allowed and
31 lxc.network.ipv4 = 1.2.3.5/24
/lxc/templates/
H A Dlxc-altlinux.in70 ${ipv4}
285 if [ ! -z ${ipv4} ]; then
287 lxc.network.ipv4 = $ipv4
292 lxc.network.ipv4.gateway = $gw
362 [-4|--ipv4=<ipv4 address>] [-6|--ipv6=<ipv6 address>]
373 -4,--ipv4 specify the ipv4 address to assign to the virtualized interface, eg. 192.168.1.123/24
386 options=$(getopt -o hp:n:P:cR:4:6:g:d: -l help,rootfs:,path:,name:,profile:,clean,release:,ipv4
[all...]
H A Dlxc-openmandriva.in247 if [ ! -z ${ipv4} ]; then
249 lxc.network.ipv4 = $ipv4
254 lxc.network.ipv4.gateway = $gw
322 [-4|--ipv4=<ipv4 address>] [-6|--ipv6=<ipv6 address>]
333 -4,--ipv4 specify the ipv4 address to assign to the virtualized interface, eg. 192.168.1.123/24
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: -- "$@")
377 -4|--ipv4) ipv
[all...]
H A Dlxc-archlinux.in96 DHCP=ipv4
/lxc/src/lxc/tools/
H A Dlxc_ls.c67 char *ipv4; member in struct:ls
287 free(m->ipv4);
476 l->ipv4 = ls_get_ips(c, "inet");
864 printf("%-*s ", lht->ipv4_length, m->ipv4 ? m->ipv4 : "-");
902 printf("%-*s ", lht->ipv4_length, m->ipv4 ? m->ipv4 : "-");
1093 if (ls_send_str(wpipefd, n->ipv4) < 0)
1176 if (ls_recv_str(rpipefd, &n->ipv4) < 0)
1216 if (m->ipv4) {
[all...]
/lxc/src/lxc/
H A Dconf.h57 * Defines the structure to configure an ipv4 address
58 * @address : ipv4 address
59 * @broadcast : ipv4 broadcast address
117 * @ipv4 : a list of ipv4 addresses to be set on the network device
131 struct lxc_list ipv4; member in struct:lxc_netdev
H A Dconfile.c160 { "lxc.network.ipv4.gateway", config_network_ipv4_gateway },
161 { "lxc.network.ipv4", config_network_ipv4 },
354 * config entry is something like "lxc.network.0.ipv4"
424 lxc_list_init(&netdev->ipv4);
535 strprint(retv, inlen, "ipv4\n");
536 strprint(retv, inlen, "ipv4.gateway\n");
802 SYSERROR("failed to allocate ipv4 address");
838 SYSERROR("invalid ipv4 address: %s", value);
846 SYSERROR("invalid ipv4 broadcast address: %s", value);
870 lxc_list_add_tail(&netdev->ipv4, lis
[all...]
H A Dconf.c2404 /* setup ipv4 addresses on the interface */
2405 if (setup_ipv4_addr(&netdev->ipv4, netdev->ifindex)) {
2443 /* setup ipv4 gateway on the interface */
2446 ERROR("Cannot add ipv4 gateway for %s when not bringing up the interface", ifname);
2450 if (lxc_list_empty(&netdev->ipv4)) {
2451 ERROR("Cannot add ipv4 gateway for %s when not assigning an address", ifname);
2459 ERROR("failed to add ipv4 dest for '%s': %s",
2465 ERROR("failed to setup ipv4 gateway for '%s': %s",
2470 ERROR("tried to set autodetected ipv4 gateway '%s'", buf);
3519 ERROR("failed to automatically find ipv4 gatewa
[all...]
/lxc/config/init/common/
H A Dlxc-net.in78 echo 1 > /proc/sys/net/ipv4/ip_forward

Completed in 41 milliseconds