Networking Forums

Networking Forums > Computer Networking > Windows Networking > How DHCP decide which scope to give thourgh dhcp relay agent?

Reply
Thread Tools Display Modes

How DHCP decide which scope to give thourgh dhcp relay agent?

 
 
cs
Guest
Posts: n/a

 
      12-30-2006, 02:39 AM
Hi ,

I did some research and know that dhcp realay agent will modify the DHCP
request info and add some info on the giaddr field to indetify the source so
that DHCP will know which scope to give .

Anyone have more details docs related on this design ? Like what is the info
store in giaddr field ? how the dhcp server calculate and decide which scope
to give ?

If in multiple VLAN enviroment , my client pc is getting other VLAN IP .
What is the possible causes ?
 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      12-31-2006, 12:30 AM
DHCP is a very simple setup. The client broadcasts on the network with a
request. If there is a DHCP server which can receive the request, it replies
with an offer of an IP in the same subnet as the NIC in the server which
received the broadcast request.

If there is only a relay agent to receive the request, it will forward
the request to a DHCP server. The DHCP server will make an offer in the same
IP subnet as the NIC of the relay agent which recieved the original
broadcast.

"cs" <(E-Mail Removed)> wrote in message
news:420906F6-BEB3-423A-8965-(E-Mail Removed)...
> Hi ,
>
> I did some research and know that dhcp realay agent will modify the DHCP
> request info and add some info on the giaddr field to indetify the source
> so
> that DHCP will know which scope to give .
>
> Anyone have more details docs related on this design ? Like what is the
> info
> store in giaddr field ? how the dhcp server calculate and decide which
> scope
> to give ?
>
> If in multiple VLAN enviroment , my client pc is getting other VLAN IP .
> What is the possible causes ?


 
Reply With Quote
 
cs
Guest
Posts: n/a

 
      01-04-2007, 02:43 AM
Thanks for reply .. ok now .. What you mean by same Ip subnet ? If my
enviroment is have multiple VLAN configure in the same switch and dhcp server
at other vlan network . So what will be the ip subnet on client if it on vlan
1 ?

vlan 1 10.10.1.x 255.255.255.0
vlan 2 10.10.2.x 255.255.255.0
vlan 3 10.10.3.x 255.255.255.0 (dhcp server ip range)

Because my understanding is client will first register as 0.0.0.0
255.255.255.255 . So how do dhcp know it should issue which scope ?



"Bill Grant" wrote:

> DHCP is a very simple setup. The client broadcasts on the network with a
> request. If there is a DHCP server which can receive the request, it replies
> with an offer of an IP in the same subnet as the NIC in the server which
> received the broadcast request.
>
> If there is only a relay agent to receive the request, it will forward
> the request to a DHCP server. The DHCP server will make an offer in the same
> IP subnet as the NIC of the relay agent which recieved the original
> broadcast.
>
> "cs" <(E-Mail Removed)> wrote in message
> news:420906F6-BEB3-423A-8965-(E-Mail Removed)...
> > Hi ,
> >
> > I did some research and know that dhcp realay agent will modify the DHCP
> > request info and add some info on the giaddr field to indetify the source
> > so
> > that DHCP will know which scope to give .
> >
> > Anyone have more details docs related on this design ? Like what is the
> > info
> > store in giaddr field ? how the dhcp server calculate and decide which
> > scope
> > to give ?
> >
> > If in multiple VLAN enviroment , my client pc is getting other VLAN IP .
> > What is the possible causes ?

>
>

 
Reply With Quote
 
Bill Grant
Guest
Posts: n/a

 
      01-04-2007, 03:48 AM
It should not make any difference if you have VLANs. VLANs are just a
construct built into the switch. As far as the networking protocols are
concerned the network looks exactly the same, whether you have VLANs or
simple hub/switches and routers. If a machine is in the VLAN which is using
10.10.2.x and it broadcasts a DHCP request, that request will be received by
a DHCP relay agent on an interface with a 10.10.2.x IP address. The
broadcasts should not be crossing the "routers" between the subnets.

"cs" <(E-Mail Removed)> wrote in message
news:E6AEBF52-8DA0-47EC-BC63-(E-Mail Removed)...
> Thanks for reply .. ok now .. What you mean by same Ip subnet ? If my
> enviroment is have multiple VLAN configure in the same switch and dhcp
> server
> at other vlan network . So what will be the ip subnet on client if it on
> vlan
> 1 ?
>
> vlan 1 10.10.1.x 255.255.255.0
> vlan 2 10.10.2.x 255.255.255.0
> vlan 3 10.10.3.x 255.255.255.0 (dhcp server ip range)
>
> Because my understanding is client will first register as 0.0.0.0
> 255.255.255.255 . So how do dhcp know it should issue which scope ?
>
>
>
> "Bill Grant" wrote:
>
>> DHCP is a very simple setup. The client broadcasts on the network with
>> a
>> request. If there is a DHCP server which can receive the request, it
>> replies
>> with an offer of an IP in the same subnet as the NIC in the server which
>> received the broadcast request.
>>
>> If there is only a relay agent to receive the request, it will
>> forward
>> the request to a DHCP server. The DHCP server will make an offer in the
>> same
>> IP subnet as the NIC of the relay agent which recieved the original
>> broadcast.
>>
>> "cs" <(E-Mail Removed)> wrote in message
>> news:420906F6-BEB3-423A-8965-(E-Mail Removed)...
>> > Hi ,
>> >
>> > I did some research and know that dhcp realay agent will modify the
>> > DHCP
>> > request info and add some info on the giaddr field to indetify the
>> > source
>> > so
>> > that DHCP will know which scope to give .
>> >
>> > Anyone have more details docs related on this design ? Like what is the
>> > info
>> > store in giaddr field ? how the dhcp server calculate and decide which
>> > scope
>> > to give ?
>> >
>> > If in multiple VLAN enviroment , my client pc is getting other VLAN IP
>> > .
>> > What is the possible causes ?

>>
>>



 
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
BootP and DHCP Relay agent Host Windows Networking 2 10-04-2008 08:16 PM
DHCP Relay Agent and NAT Boris Windows Networking 1 03-03-2008 02:49 AM
HELP! DHCP Relay Agent Issue! Dwayne Carter Windows Networking 1 03-04-2005 07:55 PM
DHCP relay agent Daniel Vojvoda Windows Networking 0 12-22-2003 10:59 AM
DHCP relay agent =?Utf-8?B?VG9tYXogS29uY2Fu?= Windows Networking 1 11-24-2003 01:44 PM



1 2 3 4 5 6 7 8 9 10 11