Template:Issue: Difference between revisions

From NixOS Wiki
imported>Luis-Hebendanz
No edit summary
imported>Luis-Hebendanz
No edit summary
Line 1: Line 1:
==Using bridges under NixOS ==


If you want to use macvtap bridges in KVM, LXC, Xen or $hypervisor on NixOS you have to tell your
If you want to use macvtap bridges in KVM, LXC, Xen or $hypervisor on NixOS you have to tell your
dhcp server to not configure that interface with an ip. Yes exactly the dhcp server on NixOS configures every
dhcp server to not configure that interface with an ip.
interface as long it has been told to not to. If you are running dhcpcd then you have to define
Yes exactly the 'dhcp server on NixOS configures every interface as long it has been told to not to.
networking.dhcpcd.denyInterfaces = [ "macvtap0@*" ] for example.
 
If you are running dhcpcd then you have to define
networking.dhcpcd.denyInterfaces = [ "macvtap0@*" ]  
for example.


What is the error you get when layer 2 bridges have IPs? https://serverfault.com/questions/959667/kvm-bridge-networking-first-arp-packet-gets-answered-by-wrong-host
What is the error you get when layer 2 bridges have IPs?
[https://serverfault.com/questions/959667/kvm-bridge-networking-first-arp-packet-gets-answered-by-wrong-host stackoverflow issue]

Revision as of 20:44, 2 September 2019

Using bridges under NixOS

If you want to use macvtap bridges in KVM, LXC, Xen or $hypervisor on NixOS you have to tell your dhcp server to not configure that interface with an ip. Yes exactly the 'dhcp server on NixOS configures every interface as long it has been told to not to.

If you are running dhcpcd then you have to define

networking.dhcpcd.denyInterfaces = [ "macvtap0@*" ] 

for example.

What is the error you get when layer 2 bridges have IPs? stackoverflow issue