Re: macvtap with disconnected physical interface

2022-05-19 Thread Gionatan Danti
Il 2022-05-09 08:42 Gionatan Danti ha scritto: Hi all, any comment / suggestion on the steps described above? Does a simpler approach exists? Hi list, any insight on bridge vs macvlan setup previously described? Am I over-thinking it? Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l

Re: macvtap with disconnected physical interface

2022-05-08 Thread Gionatan Danti
Il 2022-05-03 23:15 Gionatan Danti ha scritto: I generally use plain bridge for my KVM setup. Specifically, when using VLANs I setup the following: eth -> eth.xx -> bridge -> vnet This time, however, I need *both* a trunk-enabled VM (a virtual firewall) and other segregated virtual machines. A "

Re: macvtap with disconnected physical interface

2022-05-05 Thread Michael S. Tsirkin
On Tue, May 03, 2022 at 11:15:26PM +0200, Gionatan Danti wrote: > Il 2022-05-03 14:58 Laine Stump ha scritto: > > I can't say that I've ever tried this, since my only reason for using > > macvtap is to provide the guests with direct connectivity to the > > physical network, and unplugging the physd

Re: macvtap with disconnected physical interface

2022-05-04 Thread Gionatan Danti
Il 2022-05-04 00:03 Michael S. Tsirkin ha scritto: well this is kind of by design. if we don't force guest's link down it will think it can access internet, with all packets being lost. I understand. But in my opinion, inter-guest communication should be preserved because: a) this is how the

Re: macvtap with disconnected physical interface

2022-05-03 Thread Gionatan Danti
Il 2022-05-03 14:58 Laine Stump ha scritto: I can't say that I've ever tried this, since my only reason for using macvtap is to provide the guests with direct connectivity to the physical network, and unplugging the physdev negates that. The behavior you describe doesn't surprise me all that much

Re: macvtap with disconnected physical interface

2022-05-03 Thread Gionatan Danti
Il 2022-05-03 10:31 Daniel P. Berrangé ha scritto: Can you share the configuration for your guest NIC so we can see how it is setup. Here we go... function='0x0'/> # ifconfig Both the physical and macvtap interfaces are disconnected (note how RUNNING is missing): enp0s3

Re: macvtap with disconnected physical interface

2022-05-03 Thread Laine Stump
On 5/3/22 4:31 AM, Daniel P. Berrangé wrote: On Mon, May 02, 2022 at 03:42:05AM +0200, Gionatan Danti wrote: Dear list, I just discovered the hard way that if the lower lever physical interface of a macvlan bridge is disconnected (ie: by unplugging the eth cable, resulting in no carrier), inter-

Re: macvtap with disconnected physical interface

2022-05-03 Thread Daniel P . Berrangé
On Mon, May 02, 2022 at 03:42:05AM +0200, Gionatan Danti wrote: > Dear list, > I just discovered the hard way that if the lower lever physical interface of > a macvlan bridge is disconnected (ie: by unplugging the eth cable, resulting > in no carrier), inter-guest network traffic from all virtual m

macvtap with disconnected physical interface

2022-05-01 Thread Gionatan Danti
Dear list, I just discovered the hard way that if the lower lever physical interface of a macvlan bridge is disconnected (ie: by unplugging the eth cable, resulting in no carrier), inter-guest network traffic from all virtual machines bound to the disconnected interface is dropped. This behav