How to make this networking task, VMs, LXC
Hi,
I need your help how to setup networking properly, on linux to accomplish this what i want.
i have laptop, which runs Manjaro. it's IP is 192.168.1.8, static in router.
i have another laptop, from which i connect to this laptop via ssh. works as expected. okay.
but then, i want to do some cool stuff, as programmer, and because of that, i wanted to have VM running, just for that (so it doesnt clutter my manjaro installation).
so i installed KVM, QEMU, Virtual Machine Manager.
installed Ubuntu Server.
and in that VM, it's IP is: 192.168.122.63
i haven't touched Network tab in VMM, it's on default, NAT mode.
and after that, in that Ubuntu VM, i installed LXC, and that LXC have it's own IP address too, when it's running.
so now i have 3 layers in order to access LXC IP and manage LXC apps.
what i really want:
1. is to be able to directly ssh, into VM, without needing to ssh into manjaro first and via manjaro to ubuntu ssh (as VM is only accesible to laptop inner network). I don't want it to use ethernet at all. It uses only wifi. And that's the issue i encountered when trying to create network bridge, because i'm using wifi, and most tutorials are for ethernet config.
Because it's laptop, you know what NIC it have, one ethernet port and wifi. And that's it.
wifi adapter doesn't support being in master mode (i don't know , i tried following tutorials, but got confused..)
2. be able to use LXC network as well. So i can also, directly ssh into LXC. 3. or i'm not sure, but i just want to be able, for instance, when i install apache server in LXC, to be able to access it in my home network. so, i can install all my apps in LXC, whatever i want, and be able to directly access them over my own home network.
i tried understanding bridging, but as i mentioned, i tried, but got confused, because most tutorials i found, are geared towards ethernet, and are not meant to be used for what i want to do. to be able to access that apache server i installed in LXC deep inside Ubuntu VM which is inside Manjaro. where only direct IP from router standpoint is my Manjaro installation.
how this can be done ?
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)