The following image depicts the conceptual networking components involved when running a VM on a computer then launching a LXC container on that VM.
Be aware that many details have been omitted and would be required to make this a functioning example.
The real machine is connected to an ISP providing DHCP services assigning our adapter an address of 192.168.0.187.
The real machine is using KVM and deployed libvirtd which provides dhcp services in the subnet of 192.168.122.0 on the devices connected to Virt-bridge-1.
Our Virtual Machine is connected to Virt-Bridge-1 via the virtual adapter Virt-NIC-1 and is assigned an IP Address of 192.168.122.223.
Additionally, the Virtual-Machine has a dhcp server provided by its instance of libvirt. The default address of 192.168.122.1 for the dhcp server on Virtual-Machine has to be altered to avoid conflicts with the dhcp server running on the real machine. In this example the dhcp server on the Virtual-Machine was moved to the subnet 192.168.124.0.
Be aware that many details have been omitted and would be required to make this a functioning example.
The real machine is connected to an ISP providing DHCP services assigning our adapter an address of 192.168.0.187.
The real machine is using KVM and deployed libvirtd which provides dhcp services in the subnet of 192.168.122.0 on the devices connected to Virt-bridge-1.
Our Virtual Machine is connected to Virt-Bridge-1 via the virtual adapter Virt-NIC-1 and is assigned an IP Address of 192.168.122.223.
Additionally, the Virtual-Machine has a dhcp server provided by its instance of libvirt. The default address of 192.168.122.1 for the dhcp server on Virtual-Machine has to be altered to avoid conflicts with the dhcp server running on the real machine. In this example the dhcp server on the Virtual-Machine was moved to the subnet 192.168.124.0.
A second virtual bridge, Virt-Bridge-2 and virtual adapter Virt-NIC-2 were created on Virtual-Machine by libvirtd.
The lxc-container default configuration looks for the bridge by name. The libvirtd generated bridge is usually called virbr0. In this example the lxc default bridge was changed from lxbr0 to virbr0.
The LXC-container will receive an IP Address from the dhcp server on the Virtual-Machine. In this example the address is: 192.168.142.223.
The lxc-container default configuration looks for the bridge by name. The libvirtd generated bridge is usually called virbr0. In this example the lxc default bridge was changed from lxbr0 to virbr0.
The LXC-container will receive an IP Address from the dhcp server on the Virtual-Machine. In this example the address is: 192.168.142.223.
“The Complete DevOps RoadMap” by javinpaul https://link.medium.com/12gReCGrcab
Medium
The Complete DevOps RoadMap
An illustrated guide to becoming a Frontend or Backend Developer with links to courses
Знания по linux - это база DevOps!
Что бы подтянуть или начать изучать linux можно с помощью матерьялов по подготовке к LFCS.
https://blog.sedicomm.com/2018/07/23/lfcs-kak-ispolzovat-komandu-sed-gnu-dlya-sozdaniya-redaktirovaniya-i-manipulirovaniya-fajlami-v-linux-lfcs-chast-1/
Что бы подтянуть или начать изучать linux можно с помощью матерьялов по подготовке к LFCS.
https://blog.sedicomm.com/2018/07/23/lfcs-kak-ispolzovat-komandu-sed-gnu-dlya-sozdaniya-redaktirovaniya-i-manipulirovaniya-fajlami-v-linux-lfcs-chast-1/
Блог Университета SEDICOMM
LFCS: как использовать команду «sed» GNU для создания, редактирования и манипулирования файлами в Linux - часть 1
Linux Foundation объявила о сертификации LFCS (Linux Foundation Certified Sysadmin), новой программе, которая направлена на то, чтобы помочь людям во
If you decide to take the LFCS exam here information how not to be mistaken
https://medium.com/@obohovyk/how-to-prepare-and-pass-linux-foundation-certified-system-administrator-lfcs-exam-bd4cad4f6c64
https://medium.com/@obohovyk/how-to-prepare-and-pass-linux-foundation-certified-system-administrator-lfcs-exam-bd4cad4f6c64
Medium
How to prepare and pass Linux Foundation Certified System Administrator (LFCS) exam
Just a couple of days ago I’ve successfully passed LFCS exam and become Certified System Administrator (one step left to become Engineer —…
—-___Kubernetes Networking___——
illustrated guide
https://itnext.io/an-illustrated-guide-to-kubernetes-networking-part-1-d1ede3322727
https://itnext.io/an-illustrated-guide-to-kubernetes-networking-part-2-13fdc6c4e24c
and video guide
https://www.youtube.com/watch?v=WwQ62OyCNz4&ab_channel=VMwareCloudNativeApps
illustrated guide
https://itnext.io/an-illustrated-guide-to-kubernetes-networking-part-1-d1ede3322727
https://itnext.io/an-illustrated-guide-to-kubernetes-networking-part-2-13fdc6c4e24c
and video guide
https://www.youtube.com/watch?v=WwQ62OyCNz4&ab_channel=VMwareCloudNativeApps
Medium
An illustrated guide to Kubernetes Networking [Part 1]
Everything I learned about the Kubernetes Networking
TIOBE programming community index is a measure of popularity of programming languages, created and maintained by the TIOBE Company based in Eindhoven, the Netherlands.
https://www.tiobe.com/tiobe-index/
https://www.tiobe.com/tiobe-index/
LFCS Exam Study Guide (Linux Foundation Certified System Administrator)
https://ravikirans.com/lfcs-linux-exam-study-guide/
https://ravikirans.com/lfcs-linux-exam-study-guide/
Ravikiran Srinivasulu
LFCS Exam Study Guide (Linux Foundation Cert. System Administrator)
Preparing for the LFCS Linux Foundation Certified System Administrator exam? Check out the LFCS Study Guide (links to exam objectives)