Does the linux bridge have a dhcp server built in to the bridge software?

And does the linux bridge support working as DNS-Server or it can only point towards the DNS server on the host or none. If none, then how does the VM's connected to the linux bridge resolve hostnames?


In general the Linux/Unix way is to build tools and solutions that do one thing really well and then use other existing tools and products to provide other complementary/ related functionality.

The Linux bridge only bridges.

VM’s either get their settings by DHCP from the network the bridge connects them to, or maybe they are set directly from whatever tool you use to create the vm

A common helper tool by the way is dnsmasq

| improve this answer | |
  • well, i was looking it in docker context. So from your response what I infer is: Docker provides a DHCP server along with creating a bridge network: docker0 bridge network for containers to connect. @HernanB, please inform me if I got it wrong.? – samshers Jun 30 at 6:47
  • 1
    Although Docker daemon assigns IP addresses to containers, it is not a real DHCP server. – Tero Kilkanen Jun 30 at 6:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.