Re: [CentOS] Bridge network for virt-manager
On 6/3/20 6:34 PM, Gordon Messmer wrote: On 6/2/20 3:38 AM, Jerry Geis wrote: Hello. I desire to get bridge network working using virt-manager. The easiest way to set up bridged networking on CentOS 7 is: virsh iface-bridge eth0 br0 --no-stp This command will create a new bridge interface, br0. The existing interface, eth0, will be added to the bridge, and its current IP configuration will be migrated to the new interface. This is likely the coolest thing I've learned all week. Thanks! -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bridge network for virt-manager
On 6/2/20 3:38 AM, Jerry Geis wrote: Hello. I desire to get bridge network working using virt-manager. The easiest way to set up bridged networking on CentOS 7 is: virsh iface-bridge eth0 br0 --no-stp This command will create a new bridge interface, br0. The existing interface, eth0, will be added to the bridge, and its current IP configuration will be migrated to the new interface. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bridge network for virt-manager
On 6/2/20 8:53 AM, Jerry Geis wrote: Ok so I have used virt-manager to create the name NET100 This is what shows. NET100 1ba45e54-93c2-f291-8b35-a7fe8cae9ac1 I DO get a DHCP on my network - but the client cannot connect to the host machine. Has access to internet - but just not the host. This isn't a real bridged network. This is a NATed local network. -- Orion Poplawski Manager of NWRA Technical Systems 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 https://www.nwra.com/ ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bridge network for virt-manager
On Tue, 2 Jun 2020 at 06:39, Jerry Geis wrote: > Hello. I desire to get bridge network working using virt-manager. > Centos 7 and centos 7 guest. > > From researching I think I need to have a ifcfg-br0 file like this ? > > cat ifcfg-br0 > DEVICE=nm-bridge0 > STP=no > TYPE=Bridge > BOOTPROTO=none > IPADDR=192.168.1.8 > PREFIX=32 > GATEWAY=192.168.1.1 > IPV6INIT=no > NAME=br0 > ONBOOT=yes > DELAY=0 > Our virt-hosting systems all use bridges and I have the following setup for eth0 and br0 # ifcfg-eth0 NAME="eth0" TYPE=Ethernet ONBOOT=yes NETBOOT=yes BRIDGE="br0" UUID="" HWADDR="" # ifcfg-br0 NAME="br0" DEVICE="br0" ONBOOT=yes NETBOOT=no UUID="<>" IPV6INIT=no BOOTPROTO=none IPADDR="<< fill in ip address >>" NETMASK="<< fill in netmask >>" GATEWAY="<< fill in gateway >>" TYPE=Bridge NAME="br0" DNS1="<< fill in dns1 >>" DNS2="<< fill in dns2 >>" STP="no" On EL8 systems it changes somewhat. If you just wants a bridge with no ip address associated with it.. leave those out. Some switches need that -- Stephen J Smoogen. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bridge network for virt-manager
Ok so I have used virt-manager to create the name NET100 This is what shows. NET100 1ba45e54-93c2-f291-8b35-a7fe8cae9ac1 I DO get a DHCP on my network - but the client cannot connect to the host machine. Has access to internet - but just not the host. jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bridge network for virt-manager
Am 02.06.2020 um 12:38 schrieb Jerry Geis: Hello. I desire to get bridge network working using virt-manager. Centos 7 and centos 7 guest. From researching I think I need to have a ifcfg-br0 file like this ? cat ifcfg-br0 DEVICE=nm-bridge0 STP=no TYPE=Bridge BOOTPROTO=none IPADDR=192.168.1.8 PREFIX=32 GATEWAY=192.168.1.1 IPV6INIT=no NAME=br0 ONBOOT=yes DELAY=0 Is that for sure needed ? The use that nm-bridge0 as the network name? I dont want to mess up my current setup. Thanks, Jerry Use the virt-manager to create the desired bridge. It will end under /etc/libvirt/qemu/networks/. And there probably exists already a # cat /etc/libvirt/qemu/networks/default.xml default 79d01cb2-28a4-4bdc-8b68-80ac588b2d61 Alexander ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Bridge network for virt-manager
I haven't done bridging on CentOS but, in the setups I've done, you need to associate a physical NIC such as eth0 with the bridge. From: CentOS on behalf of Jerry Geis Sent: Tuesday, June 2, 2020 5:38 AM To: CentOS mailing list Subject: [EXTERNAL] [CentOS] Bridge network for virt-manager CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hello. I desire to get bridge network working using virt-manager. Centos 7 and centos 7 guest. >From researching I think I need to have a ifcfg-br0 file like this ? cat ifcfg-br0 DEVICE=nm-bridge0 STP=no TYPE=Bridge BOOTPROTO=none IPADDR=192.168.1.8 PREFIX=32 GATEWAY=192.168.1.1 IPV6INIT=no NAME=br0 ONBOOT=yes DELAY=0 Is that for sure needed ? The use that nm-bridge0 as the network name? I dont want to mess up my current setup. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos Harriscomputer Leroy Tennison Network Information/Cyber Security Specialist E: le...@datavoiceint.com [cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG] 2220 Bush Dr McKinney, Texas 75070 www.datavoiceint.com<http://www..com> This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>. This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Bridge network for virt-manager
Hello. I desire to get bridge network working using virt-manager. Centos 7 and centos 7 guest. >From researching I think I need to have a ifcfg-br0 file like this ? cat ifcfg-br0 DEVICE=nm-bridge0 STP=no TYPE=Bridge BOOTPROTO=none IPADDR=192.168.1.8 PREFIX=32 GATEWAY=192.168.1.1 IPV6INIT=no NAME=br0 ONBOOT=yes DELAY=0 Is that for sure needed ? The use that nm-bridge0 as the network name? I dont want to mess up my current setup. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos