I have a RaspberryPi along with a USB to Ethernet adapter (eth1).
I want to bridge eth0 and eth1 and create a br0 interface.
I want to devices connected to eth1 receive their DNS (dnsmasq) settings from Raspberry Pi either with or without DHCP.
How do I go about setting up /etc/network/interfaces and dnsmasq.conf so that dnsmasq is running on the bridge ?
I am trying to limit to dnsmasq to only eth1 , I thought bridge was the best way , is there a better way ?
My setup : ISP -> Router ( DHCP Turned Off ) -> Raspberry Pi -> Devices
My ISP does not have a modem and is direct ethernet connection in my house.
When I connect devices to eth1 on Raspberry Pi, before dnsmasq can answer, the ISP is handing out a DHCP lease bypassing dnsmasq.
My goal: I want the Raspberry Pi in my setup to provide DNS Settings automatically to all devices connected to my network, without manual configuration. I actually don't care if Raspberry Pi provides DHCP, I turned DHCP off on the Router since I came to the conclusion you need to provide DHCP to automatically traverse DNS settings, please let me know if I am wrong.