Home > other >  How Linux Brige and dnsmasq union, to assign IP virtual machine
How Linux Brige and dnsmasq union, to assign IP virtual machine

Time:10-09

Want to ask next, how to Linux Brige and dnsmasq union, to assign IP virtual machines, mainly dnsmasq part
Now I create the bridge, a card as a bridge interface, creating a pair of vethpair equipment, put a netns, an added to the bridge, in netns start dnsmasq service, but to create a virtual machine does not assign IP according to the configuration file to virtual machine, please guide, thank you!!!!!

CodePudding user response:

Hello, check the DHCP configuration file:/etc/neutron/dhcp_agent ini, view the two contents:
1: interface_driver: you are using Linux bridge, so this value should be set to: neutron. Agent. Linux. Interface. BridgeinterfaceDriver
2: dhcp_driver: specify DHCP start

CodePudding user response:

Thank you, not me it is a problem with the IP allocation, but I think based on Linux bridge, ns, flat dnsmasq technology that pattern,
  • Related