LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Setting up a dhcp server on a bridge (https://www.linuxquestions.org/questions/linux-networking-3/setting-up-a-dhcp-server-on-a-bridge-622248/)

Mithrilhall 02-19-2008 09:22 AM

Setting up a dhcp server on a bridge
 
I'm trying to setup a dhcp sever on a bridge.

Interfaces are:

eth0 - connected to the internet
eth1 - internal connection to switch branching to other PCs
br0 - bridging eth0 and eth1 together



Internet <--> Public IP [Router] 172.16.136.1 <--> Linux Bridge <--> Switch

I need a static ip address on br0 (10.150.125.2) and want dhcp requests to only be accepted on the eth1 side. How would I go about doing this?

I currently have it working but dhcp requests are accepted on eth0 or eth1.

acid_kewpie 02-19-2008 09:30 AM

well what's happening is the very point of a bridge... i'd suggest looking at ebtables to filter them out.

Mithrilhall 02-19-2008 10:01 AM

Thanks.

I've found an interesting link that looks to do exactly what I need. http://forum.openwrt.org/viewtopic.php?pid=31952


All times are GMT -5. The time now is 07:09 AM.