qemu/virt-manager/kvm bridge and NAT networking

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 64

  • @martinmakella
    @martinmakella Год назад +3

    Best and simplest explanation I have seen anywhere in the net. Thank you.

  • @Loco4Waffles
    @Loco4Waffles 3 года назад +2

    I've commented previously how great this video is, but I am yet referencing this video again. Probably one of my top 10 reference videos on RUclips.

  • @TheCarpenterUnion
    @TheCarpenterUnion 3 месяца назад +1

    THANK YOU omg. I've been trying to create a network bridge for this for over an hour and nothing online was helping at all. Turns out it was the removal of the phy interface - so simple ofc, but linux be like that

  • @robertegloff7770
    @robertegloff7770 4 года назад +11

    Thanks a TON for this. I ran into a lot of pages that just made a confusing mess of this. Subscribed!

  • @christineshepherd4376
    @christineshepherd4376 4 года назад +1

    thank you for demystifying virtual networking for me! after struggling for a few hours with various man pages, i finally get it and my virtual rhel 8 server is now up and running. kudos!

  • @danielviberg5
    @danielviberg5 2 года назад +1

    Well explained, helped me when other online sources didn't.

  • @ronnyeliassen4745
    @ronnyeliassen4745 3 года назад +3

    Thanks a lot, finally I was able to get this working. I have spent endless hours trying to figure this out. Again Thanks!! :-)

    • @PoeLemic
      @PoeLemic 2 года назад

      Yes, same here. Damn, they should make this shit easier. They should know that ALMOST EVERYONE will want to do what @ST is showing.

  • @JoshuaMNielsen
    @JoshuaMNielsen 4 года назад +2

    I'm a little bit confused here. Why did you create a bridge inside your guest VM as well as on your host (as we can see at 10:25ff)? Isn't that like making two switches? Why wouldn't you just create the bridge on your host machine and tell QEMU to forward traffic to it and then just keep a single interface in the guest? Why create a bridge inside the guest? Keep in mind, I'm new to QEMU, so I'm just trying to figure out the simplest and "right" way to do this.

  • @PoeLemic
    @PoeLemic 2 года назад

    Thanks for showing us this. And, as I watched it and walked-through it with you, I was a little confused. So, I had to watch some of the sections more than once. But, I need to know how to do this, and I am thankful that you showed us this. How you explained it, made it simple for me to understand -- once I watched video twice. So, thank you. And, I am subbing.

  • @adityabansal2737
    @adityabansal2737 9 месяцев назад +1

    I was stuck, it helped me, Thank you !!

  • @PoeLemic
    @PoeLemic 2 года назад

    At 10:50, how did you jump from inside-VM (your Ubuntu) to the overlaying VMM GUI? What keystroke did you press? You said Fedora but I don't see it here. I wish you had different colors of backgrounds or something (like PopOS) to make it really, really clear what is happening. Because I've got confused a few times.

  • @matthewbascom
    @matthewbascom 2 года назад +1

    Great work! Thank you for this presentation. Will you please make a video illustrating how to make a resource on a VM, like a simple web page or container, available to the Internet by way of the NAT Bridge?

  • @ed81ny
    @ed81ny Год назад

    I have created the bridge, but it is not listed as an option in vm manager. Any thoughts? :(

  • @power-max
    @power-max 3 года назад

    That's great when you have a physical interface, but suppose I have passed through all my physical interfaces to my VM's, and I want to create a bridge between just the VM and my host PC? How do I do this?

  • @woolfy02
    @woolfy02 5 месяцев назад

    I'm guessing this doesn't work when only connected to wifi? I've tried many times and, I just can't get an ip address. I just want qemu to have access to the internet.

  • @austing.8682
    @austing.8682 3 года назад +1

    Thank you this saved me after hours of linux networking confusion.

  • @AlvaroGuerraCabello-k4y
    @AlvaroGuerraCabello-k4y Год назад

    Ok, what if you need to work in a LAN environement without any dhcp server. It doesn't work if you must use a static IP.

  •  Год назад

    Bro, that tip work on OpenSuse, only something like Usermod Networkking and Bridge but choose Bridge not work, help me

  • @aomo5293
    @aomo5293 2 года назад

    Please. Have you tested to make a bridge to wifi

  • @mrminetoonsy9767
    @mrminetoonsy9767 2 года назад +1

    omg that is so useful!!!
    Really thanks !!!!!

  • @VulpesLP
    @VulpesLP 3 года назад

    Hello, im using Debian10 and when im trying to open the nm-connection-editor i get: *GTK-WARNING: cannot open display*
    What could be the reason?

  • @kylelaughbaum5052
    @kylelaughbaum5052 4 года назад +1

    Why couldn't you have created this video YEARS ago! Super simple way to create a bridge, mostly in the GUI. Works great in Ubuntu 20.04.

  • @kamakshaiah
    @kamakshaiah 4 года назад

    Very good video. Can we use these ips from public network

  • @unapologetic7900
    @unapologetic7900 2 года назад

    Is it possible to access physical Network interfaces directly by a Virtual Machine? I have a Linux Mint Host with 6 Network Cards. I need to run Opnsense firewall/router and configure 4 of the network devices as a bridge (under opnsense, which I already do in a dedicated physical PC) to which other separate client computers can connect and access the internet through opensense. I need all clients behind the opnsense firewall to be able to communicate with each other and the internet.
    So right now, I have a Computer running Opnsense. That PC has 6 Network Cards, 1 for WAN (connected to my internet Modem) and 5 configured as a Bridge/switch, to which my other PC's can connect (talk to each other and the Internet). I'd like to migrate that setup to a Virtual Maching running on the Linux Mint PC. I will add that I would also move my TrueNAS PC system to the Linux Mint Host in a VM as well. So I'd end up with the Firewall/router and NAS running as VM's on the Linux Mint Host. Everything in 1 box, rather than 3 separate PC's.

  • @tecfan-ix2tj
    @tecfan-ix2tj 2 года назад

    is it possible to bridge on wireless connections?

  • @leo26tiger
    @leo26tiger 4 года назад

    Is it a bit different on CentOS 8 because the service "network" doesn't work.

  • @CyberCam1969
    @CyberCam1969 3 года назад +2

    Wow... I've been looking for a proper virtual-manager/network-manager bridge guide for a day now, and your video fits the bill. Thank you!
    Edit: Question for you.. Can a bridge be made also with a wireless nic as well?

  • @UdaySingh-im4hd
    @UdaySingh-im4hd 2 года назад

    Can I install 3 node kubernetes cluster on NAT network on KVM VMs?

  • @rockyrocker5800
    @rockyrocker5800 4 года назад

    Your are such too.. brilliant.... your having huge knowledge
    Just 1 request you Please increase you Voice in Video your voice too slow and it not perfect audible.
    and please zoom your command so its clearly visiable

    • @serverstech1489
      @serverstech1489  4 года назад

      Thanks for your comments, Rocky.
      I've replaced my microphone and mixer and I hope that future videos will have a better audio.
      As for too slow voice .. English is not my native language and I'm doing my first steps creating content in English. Patient please ;)

  • @ewoks42
    @ewoks42 3 года назад

    At 1:28 nat-net IPv4 has '192.168.100.0' range (you even say for example 192.168.100.10), and before making any changes (current status) at 4:00 you show VM got assigned '192.168.0.72' ..
    Why not in '192.168.100.0/24' range like you expected at 1:28?
    Did you forget to show some changes, that actually made host and kvm be in the same subnet? At 8:47 you say as well that ubuntu is using the bridge that you created on the host (not vm) machine.. Could you please explain, how you configured kvm to be in the host network?

  • @OrdinatousSeeYouSeeMe
    @OrdinatousSeeYouSeeMe 4 года назад

    Thanks, very usefull. An easy way to configure and understand a bit more . But I still a trouble, I'm doing some exercice and prepared 2 debian buster, one with a graphical env as a client and the other with no graphical env as a server. So everybody guess that it because I don't have nm installed on the server.... So I still searching my answer for the server..

  • @yasinkahriman
    @yasinkahriman 3 года назад

    sayenizde çalıştı...

  • @frclayton
    @frclayton 4 года назад +4

    Nice but you could also show the equivalent command line approach either. The presentation would be far more complete.

    • @serverstech1489
      @serverstech1489  4 года назад +2

      I thought about that, but the problem is that people would like to see the web method (I asked a few of my friends who wanted to learn about oVirt before creating this clip), but I'll take your suggestion into consideration for future clips.
      Thanks for your comment, appreciate it

  • @HellTriX
    @HellTriX 2 года назад

    Ty just the info i was needing.

  • @ko95
    @ko95 5 лет назад +1

    hello can you clarify, is enp1s0 in your guest vm your physical nic?

    • @ko95
      @ko95 5 лет назад +1

      okay, so you attached enp1s0 (guest vm virutal nic) to a bridge inside the vm, then you connect the bridge inside the vm to your host enp30s0f0 physical nic in virt-managers "Virutal network interface tab", how is is possible for the bridge to show up outside of the vm (in virt-managers interface) if you created the bridge inside of your guest..?

    • @mrfahdzafar
      @mrfahdzafar 4 года назад

      @@ko95 Yes please I am also thinking that VM Manager can be accessed from host machine. How is it possible to access it from guest machine.

  • @Loco4Waffles
    @Loco4Waffles 4 года назад +1

    Great video. Little confusing at first when you mentioned Ubuntu was the guest OS instead of the host. But I now have a VM of my LAMP server running and port forwarding through my router. My Wordpress website and Nextcloud is fully accessible, and the VM is now able to connect to shares from the host machine which serve the Nextcloud storage. This is fantastic! Been struggling with this. Never though that the nic on the host OS needed to be defined as bridge. Always thought the virtual machine manager could do this since it had the option.

    • @PoeLemic
      @PoeLemic 2 года назад +1

      Yeah, I thought same as you. Damn, they should make this crap easier. They should know that ALMOST EVERYONE will want to do what @ST is showing. And, I've setup it up on my Windows box, and it's never run correctly. It works sometimes and doesn't work all the time. So, I'm moving to Linux where it'll be simple and always work predictably. Tired of Windows updates screwing my shit up.

  • @chinvannak1076
    @chinvannak1076 5 лет назад

    can you create the video about vxlan configuration on ubuntu?

  • @rockyrocker5800
    @rockyrocker5800 4 года назад

    Hello
    I dont have LAN connection and I need your help for the wifi connection please help

    • @serverstech1489
      @serverstech1489  4 года назад

      You can install CentOS 8.2 minimal on the physical machine, configure the WiFi when installing the OS (you can also configure the WiFi from the console using the nmtui command) and then proceed with installing oVirt using the RPM method.

    • @rockyrocker5800
      @rockyrocker5800 4 года назад

      @@serverstech1489
      Hello Sir,
      Thank you so much for your valuable feedback for me.
      I am using Kali 2020 for learning and I am unable to configure the bridged adapter so can i do same method for kali instated of Cent os 8.2??..
      I am relay surprised when I see your reply on my comment. Once again Thank you so much.

  • @ottohahn-herrera8618
    @ottohahn-herrera8618 4 года назад

    How to set the bridge in the host?

  • @UdaySingh-im4hd
    @UdaySingh-im4hd 5 лет назад +1

    how to passthrough?

  • @ranjeetsinghthakur7299
    @ranjeetsinghthakur7299 5 лет назад

    How do migrate Storage mount points of the Volumus of the physical server on the virtual machine ? dell sc4020 storage / dell power edge r530 server
    host machine os:- rhel 7.6
    virtual machine os :- oracle linux 7.5 (two machines)
    but i unabled to attach host machine storage Lun's transfer to virtual machine .....but i am fail ....please help me

    • @Uc9uE3pKsS6uQ
      @Uc9uE3pKsS6uQ 9 месяцев назад

      ip route add {NETWORK/MASK} dev {DEVICE}

  • @linux_jeff
    @linux_jeff 2 года назад

    Obrigado pela ajuda! :)

  • @KevinFitzgerald
    @KevinFitzgerald 5 лет назад

    Great and Clear Explanation. Just like all your videos. I am so glad I found your channel

  • @Loco4Waffles
    @Loco4Waffles 4 года назад

    Awesome explanation.

  • @elguyarc9700
    @elguyarc9700 5 лет назад

    I'm using Ubuntu 19 and I was having a hard time trying to Bridge........Thanks,

  • @vitnin
    @vitnin 4 года назад

    It will be nice if to the end of lesson you show as a xmldump of your network resources. 10x

  • @andreshamedfernandez
    @andreshamedfernandez 4 года назад

    Thanks man very appreciated

  • @richardwatkins6725
    @richardwatkins6725 4 года назад

    Brilliant THANKYOU :)

  • @jeyosman1
    @jeyosman1 3 года назад

    INFO: Your CPU does not support KVM extensions
    I am using i5 10th generation New Dell machine I do not know why. KVM test results 0

  • @hangemhi001
    @hangemhi001 2 года назад

    i just want it to get ip from my router

  • @lucianorstech
    @lucianorstech 4 года назад

    👏👏👏

  • @theicon2020
    @theicon2020 5 лет назад +2

    /everything

  • @ruppertrusso7630
    @ruppertrusso7630 4 года назад

    thank You