<div dir="ltr">DAMN!<div>I forgot to DELETE my enp30s0f0 first before trying to assign it as a slave. </div><div><div><div dir="rtl" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><div style="font-family:Arial,Verdana,sans-serif"><br></div><div style="font-family:Arial,Verdana,sans-serif">Thanks for the help Cole ;)</div><div dir="rtl" style="font-family:Arial,Verdana,sans-serif"><br></div></span><span style="border-collapse:separate;font-family:'Times New Roman';font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:Arial,Verdana,sans-serif;font-size:13px"><div dir="rtl"><div dir="rtl"><div dir="rtl"><font color="#FF0000"><b><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;background-color:transparent;color:rgb(0,0,0);font-family:'Times New Roman';font-weight:normal;font-size:medium"></div></b></font></div><div dir="rtl" style="color:rgb(0,0,0);font-weight:normal"></div><div dir="rtl" style="color:rgb(0,0,0);font-weight:normal"></div><div dir="rtl" style="color:rgb(0,0,0);font-weight:normal"></div></div></div></span></span></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 5, 2019 at 7:15 PM Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/5/19 10:15 AM, Hetz Ben Hamo wrote:<br>
> Hi,<br>
> <br>
> The following thing drives me nuts. I have 2 nics on my <br>
> machine: enp30s0f0 (which is active) and enp30s0f1 (which is <br>
> disconnected). I've also created a nat network which uses the internal <br>
> NAT (i've called it "nat-net").<br>
> <br>
> What I want to do is simple: I want that the VM will get a an IP from <br>
> the external DHCP, just like other machines in the LAN, and be able to <br>
> access the VM from other machines in the LAN. Just like MACVTAP but with <br>
> access from host to guests and other machines to guest (this is <br>
> important to me since I want to set a fixed IP in the guest and register <br>
> it in the internal DNS).<br>
> <br>
> No matter what tool I use - nmtui, "connection details/Network <br>
> Interfaces" - I cannot select my active network connection (enp30s0f0) <br>
> whether it's disconnected or connected - to create a bridge or anything <br>
> else to perform this task.<br>
> <br>
> How can I perform this? link to info/howto or anything useful would be <br>
> welcome.<br>
> Thanks<br>
<br>
I've used this as a guide roughly:<br>
<br>
<a href="https://www.happyassassin.net/2014/07/23/bridged-networking-for-libvirt-with-networkmanager-2014-fedora-21/" rel="noreferrer" target="_blank">https://www.happyassassin.net/2014/07/23/bridged-networking-for-libvirt-with-networkmanager-2014-fedora-21/</a><br>
<br>
For example if you want to bridge enp30s0f0, do<br>
<br>
- Stop the interface: nmcli con down enp30s0f0<br>
- Open nm-connection-editor<br>
- Set enp30s0f0 to _not_ 'connect automatically'<br>
- Create a bridge, say named bridge0<br>
- Under bridged connections, click add, select ethernet<br>
- In the ethernet dialog, click Device, select enp30s0f0 MAC.<br>
- Name the ethernet bridge0-enp30s0f0. Save everything and exit<br>
- Save everything and exit. May need to explictly nmcli con up bridge0<br>
- If you want to switch back to non-bridged mode, turn off bridge0 and <br>
bridge0-enp30s0f0 autostart, and turn on enp30s0f0 autostart<br>
<br>
Then have your VM use the bridge0 bridge<br>
<br>
- Cole<br>
</blockquote></div>