LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 06-08-2022, 04:53 PM   #1
louisb
Member
 
Registered: Aug 2003
Posts: 199

Rep: Reputation: 15
Connecting to a VM on RHEL 8.6


I recently installed Virtual machines on a RHEL 8.6 host. I now want to connect to them remotely from a another machine. I’m using the cockpit interface to install, configure and manage the Virtual Machines.

I’ve been reading thru the Red Hat Enterprise Linux documentation, specifically Chapter 13 which discuss connecting to VM. The client machine is also a RHEL 8.6 workstation which I’m using Remote Desktop Viewer. After reading thru the chapter several times I’ve not been able to establish a connection. I can start and login to any VM when logged on to the HOST Machine.

Because I’m using cockpit I can log on to the host machine remotely and set the configuration of the Network Interfaces with no issues. However, I’ve not been able to come up with a configuration that works. I’ve added a network interface to my VM and configured it as a Type = direct, Model Type = virtio, Source = eno7. By doing the IP Address remains blank.

What else must I do to get my network interface to work?
 
Old 06-09-2022, 09:52 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,157

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Do you have DHCP or static IP in your network?

On the Host machine, what is output by: brctl show <your bridge name>
 
Old 06-09-2022, 04:19 PM   #3
louisb
Member
 
Registered: Aug 2003
Posts: 199

Original Poster
Rep: Reputation: 15
Connecting to a VM on RHEL 8.6

OK you answer my question regarding the need for a bridge. The NICs in my system have static IP Addresses. So how do I go about setting up a bridge?

Thanks
 
Old 06-10-2022, 05:48 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,157

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
I used to use qemu and create a tap device and bridge with tunctl and brctl, but the easy way these days is to use network manager:

https://www.redhat.com/sysadmin/setup-network-bridge-VM
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Comparison Between RHEL 8 vs RHEL 7 vs RHEL 6 LXer Syndicated Linux News 0 01-25-2020 04:12 PM
Rhel 7.3 lsblk showing output rhel-pool00_tmeta rhel-pool00_tdata Pravingoud89 Red Hat 7 12-27-2018 10:52 AM
what is a main difference between rhel 6 and rhel 7 accourding to rhel exam bikesh Linux - Newbie 6 12-05-2014 12:06 AM
Upgrade to RHEL 5.3 from RHEL 4.4 only using the kernel rpm of RHEL 5.3 rhystech Red Hat 4 05-28-2012 10:01 PM
RHEL 3 ES vs RHEL 4 ES vs RHEL 5 ES sweetcorn Linux - Enterprise 6 11-03-2008 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration