Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCPD broadcast question

Reply
Thread Tools Display Modes

DHCPD broadcast question

 
 
sorchu_bf@hotmail.com
Guest
Posts: n/a

 
      05-31-2005, 11:58 AM
Dear all,

I have trying to write a program to detect the dhcpd broadcasting. I am
able to detect the client's broadcasting by listening to port 67. But I
couldn't get anything from port 68.

Is there anything that I need to set for the DHCPD to use port 68 to
broadcast, also, which broadcast ip address would be used?

My program is currently listening to 255.255.255.0

Thx

 
Reply With Quote
 
 
 
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      05-31-2005, 01:57 PM
(E-Mail Removed) wrote:
> I have trying to write a program to detect the dhcpd broadcasting.
> My program is currently listening to 255.255.255.0


255.255.255.255

Chris
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      05-31-2005, 11:27 PM
In article <(E-Mail Removed) .com>,
(E-Mail Removed) wrote:

>I have trying to write a program to detect the dhcpd broadcasting. I am
>able to detect the client's broadcasting by listening to port 67. But I
>couldn't get anything from port 68.


See RFC2131 Section 4.1

NORMALLY client to server is broadcast to port 67, because the client
doesn't know either address. The server monocasts to port 68.

0.0.0.0:1025 -> 255.255.255.255:67

IP.OF.SERV.ER:3456 -> IP.OF.CLI.ENT:68

Remember, this is Ethernet, so the packet at that level looks like

MA:CAD:RE:SS:Client -> FF:FF:FF:FF:FF:FF

Server:MA:CAD:RE:SS -> MA:CAD:RE:SS:Client

Now, if you are on a 'switched' network (rather than a hub or coax),
the switch probably won't spray the reply out all ports - you won't hear
it, unless you are on a common switch port.

Old guy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd question ScottReeve Linux Networking 2 04-17-2007 04:04 AM
server DHCPD ISC Linux and broadcast DHCP OFFER and ACK davidbzh Linux Networking 1 10-17-2006 09:43 AM
SSD Broadcast question malamilia@hotmail.com Windows Networking 2 12-26-2005 06:36 PM
dhcpd question for homemade linux router purple_stars Linux Networking 8 05-24-2005 12:33 AM
Question regarding broadcast Nimmi Srivastav Linux Networking 2 11-29-2004 09:52 AM



1 2 3 4 5 6 7 8 9 10 11