Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-11-2004, 04:09 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
DHCP/BOOTP Relay Agent

1. Do Linux implementations of BOOTP/DHCP relay agent use UDP/Datagram Berkely sockets ?
2. On what port DHCP/Bootp server sends unicast BOOTPREPLY/DHCPREPLY UDP replies back to BOOTP/DHCP relay agent ?
3. RFC 1542 says: "Relay agent MUST silently discard any received UDP messages whose UDP destination port number is BOOTPC (68). " - so what the router (where Relay agent is resident) should do with such unicast packets whose UDP destination port number is BOOTPC (68), when they arrive on its interfaces ? Examine if the destination port is matching one of the router's own routing interfaces and drop such, if not matching - route those to the destination ?
Old 03-12-2004, 07:22 AM   #2
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Have you tried ? the DHCP/BOOTP server that runs on almost all linux systems is made by them.
Old 03-12-2004, 05:50 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
in dhcrelay.c (Internet Software Consortium) DHCP/BOOTP relay code is using Berkeley Packet Filter ( bpf). Based on the description, the bpf is essentially putting the interface into promiscuous mode, and allowing arbitrary processing on the frames received on the interface (e.g. custom filters).


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
BootP won;t work but DHCP will rhaley Linux - Networking 1 06-10-2005 11:37 AM
BOOTP/DHCP relay agent alex1856 Linux - Software 0 03-11-2004 03:31 PM
setting up dhcp relay agent isam_ali Linux - Networking 1 09-16-2003 09:16 AM
dhcp relay agent diveguy Linux - Networking 2 07-18-2003 04:22 AM
dhcp relay agent phogfan Linux - Networking 0 02-20-2003 09:20 PM > Forums > Linux Forums > Linux - Networking

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

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