This directive adds a default route to the guest at startup.
syntax:
lxc.network.ipv4.gateway = 10.0.0.1
lxc.network.ipv6.gateway = 2001:db8:85a3::8a2e:370:7334
---
src/lxc/conf.c| 45 ++
src/lxc/conf.h|2 +
src/lxc/confile.c | 66 ++
For veth and macvlan networks, this can look up the host address on the
bridge (link) interface and add a default route on the guest to that
address. This facilitates a typical setup where guests are bridged
together.
syntax:
lxc.ipv4.gateway = auto
lxc.ipv6.gateway = auto
---
src
Hey folks,
Here's a small patch series that allows setting up a gateway inside a
container. Two modes are supported: Defining a static address in
lxc.conf, or taking the configured address from the bridge (link)
interface and using that as a gateway.
The latter is usefule when a number of contain
---
doc/lxc.conf.sgml.in | 43 +++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in
index cfaa686..532739e 100644
--- a/doc/lxc.conf.sgml.in
+++ b/doc/lxc.conf.sgml.in
@@ -300,6 +300,28 @@ Foundati
On 08/15/2011 10:58 PM, Matthijs Kooijman wrote:
> Hey folks,
>
> Here's a small patch series that allows setting up a gateway inside a
> container. Two modes are supported: Defining a static address in
> lxc.conf, or taking the configured address from the bridge (link)
> interface and using that a