Newbie question here. I have an unprivileged container using the following
network configuration:

lxc.network.type                        = veth
lxc.network.link                        = br0-500
lxc.network.ipv4                        = 10.240.78.3/24
lxc.network.ipv4.gateway                = 10.240.78.1
lxc.network.flags                       = up
lxc.network.hwaddr                      = 00:16:3e:0d:e9:e5

However I also have some settings in /etc/network/interfaces on the
container itself. I need to set a static ARP and I have some DNS options:

auto eth0
iface eth0 inet manual
        post-up arp -f /etc/ethers
        dns-nameserver 10.240.78.4
        dns-search mpls.digitalriver.com thinksubscription.com appendata.net

How would I set the ARP entry and the DNS options from the config side.

If I'm reading the man page correctly lxc.network.script.up is run from the
host side so I don't think that would add the ARP entry to the container.
Should I use a hook instead?

How would I set the DNS options as well? Should I be invoking resolvconf
directly?

Thanks,
Joshua
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to