V
V
Vitali Kulinich2017-01-26 17:31:27
Computer networks
Vitali Kulinich, 2017-01-26 17:31:27

LXC how to set up the network correctly?

Good afternoon
I use CentOS 7 in it LXC for virtualization.
All containers on CentOS are NATed to the outside world, the task arose - to hang a white address on one of the containers. The hosting provider issued the /32 address. The subnet does not match the main address on the machine. How is it set up, does anyone have experience?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dpvpro, 2017-01-26
@dpvpro

Выданный ip адрес вещается на основной хост, и дальше пробрасываются порты к конкретным сервисам контейнеров. Делается это опять же на основном хосте.

S
Sanes, 2017-01-26
@Sanes

https://habrahabr.ru/post/231175/ это?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question