Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203762

Re: kvm bridge network with systemd-networkd 802.3ad bonding

From Gary Dale <garyndp@gmail.com>
Newsgroups linux.debian.user
Subject Re: kvm bridge network with systemd-networkd 802.3ad bonding
Date 2019-01-01 00:30 +0100
Message-ID <xbfap-27J-1@gated-at.bofh.it> (permalink)
References <xawGl-7QI-5@gated-at.bofh.it> <xaEDT-4pq-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2018-12-30 3:04 a.m., Reco wrote:
> 	Hi.
>
> On Sat, Dec 29, 2018 at 06:40:57PM -0500, Gary Dale wrote:
>> Any suggestions?
> Keep your bonding as it is.
> Forget about conventional Linux bridges, and do not use them ever.
> Reconfigure your virtual machines to use macvtap (like suggested here -
> [1]), you'll need 'bridge' mode.
>
> Reco
>
> [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_administration_guide/sect-attch-nic-physdev
>

Thanks Reco. I just went to my server's site (I lost remote access with 
the current network setup) and reconfigured the network to use macvtap 
for bridge. Once I did that it worked like a charm.

After getting rid of the /etc/network/interfaces file (again) and 
reinstating the [network] section of my 
/etc/systermd/network/management.xml file to assign a static IP, all I 
had to do was use

   virsh edit <servername>

to modify the network settings. Basically I changed the entire network 
interface segment to:

    <interface type='direct'>
       <mac address='xx:x:xx:xx:xx:xx'/>
       <source dev='bond0' mode='bridge'/>
     </interface>

where you would replace the "xx" with a valid mac address. When I opened 
the virtual machine using the Virtual Machine Manager gui, I noticed it 
wanted to use an rtl8139 device for the nic, so I changed that to virtio 
then fired it up.

Everything is running great. I've got the remote access back and the 
local area network is behaving itself.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

kvm bridge network with systemd-networkd 802.3ad bonding Gary Dale <garyndp@gmail.com> - 2018-12-30 01:00 +0100
  Re: kvm bridge network with systemd-networkd 802.3ad bonding john doe <johndoe65534@mail.com> - 2018-12-30 07:40 +0100
  Re: kvm bridge network with systemd-networkd 802.3ad bonding Reco <recoverym4n@enotuniq.net> - 2018-12-30 09:30 +0100
    Re: kvm bridge network with systemd-networkd 802.3ad bonding "." <simon.kengelbacher@mail.ch> - 2018-12-30 12:30 +0100
      Re: kvm bridge network with systemd-networkd 802.3ad bonding Reco <recoverym4n@enotuniq.net> - 2018-12-30 13:00 +0100
    Re: kvm bridge network with systemd-networkd 802.3ad bonding Gary Dale <garyndp@gmail.com> - 2019-01-01 00:30 +0100
      Re: kvm bridge network with systemd-networkd 802.3ad bonding Igor Cicimov <icicimov@gmail.com> - 2019-01-01 10:40 +0100
  Re: kvm bridge network with systemd-networkd 802.3ad bonding Gary Dale <garyndp@gmail.com> - 2019-01-02 04:20 +0100

csiph-web