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. |
well what's happening is the very point of a bridge... i'd suggest looking at ebtables to filter them out.
|
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. |