LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-19-2008, 09:22 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30
Question 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.
 
Old 02-19-2008, 09:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
well what's happening is the very point of a bridge... i'd suggest looking at ebtables to filter them out.
 
Old 02-19-2008, 10:01 AM   #3
Mithrilhall
Member
 
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Original Poster
Rep: Reputation: 30
Thanks.

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


Reply

Tags
bridge, dhcp, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
quick question. dhcp server + bridge emetib Linux - Networking 2 06-02-2005 07:56 PM
DHCP Server on Bridge slacky Linux - Networking 2 03-11-2005 06:50 AM
Setting up a DHCP server w/ the server on a wireless network Ionexchange Linux - Wireless Networking 0 05-08-2004 10:56 AM
Setting up DHCP server. joshnya Linux - Networking 1 10-12-2003 03:15 PM
Setting up a DHCP Server bselzler Linux - Networking 2 08-07-2001 04:28 AM


All times are GMT -5. The time now is 02:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration