A
A
Alexey Green2015-10-21 20:08:22
linux
Alexey Green, 2015-10-21 20:08:22

How to forward the LXC container so that the router under Openwrt can see it?

In general, there are two LXC containers: Ubuntu and Cirros.
How to give them an IP from the openwrt DHCP server so that they are perceived as separate machines?
I drew two diagrams.
The first - how it works at the moment
26e1e71a90e8470db1770108ee2c538f.png
The second - as you want.
b9153894c6fd454e93cba4a3e39a4529.png
How to implement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2015-10-21
@lexforceterror

Put them in a software switch. Old brctl or modern openvswitch. In a simple case, it doesn't matter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question