Hi Damien,

What interface is the network connected to that you wish to serve DHCP 
addresses?  You mention eth1 in your post, but I only see eth0 and eth2 
configured for dhcp-relay.  If you want to serve hosts behind eth1, you 
need to add eth1 to the dhcp-relay configuration.

To make this more clear, if your win 2k3 server is configured with a 
DHCP scope for network 192.168.10.x, it will only serve requests made 
from the interface configured with 192.168.10.x.  The dhcp-relay adds 
the IP address of the interface that requests are seen on into the BOOTP 
request packets so the DHCP server knows which scope to serve addresses 
to. 

Thank you,

Robyn

Troopy . wrote:
> Hello,
>
> Did you check the routing? i mean the DHCP server must be able to
>  reach the client at the IP layer.
>
> I remember i forgot this when i wrote the DHCP openmaniak tutorial.
> (See the case study, i forgot "set protocols static route 0.0.0.0/0 next-hop 
> 10.0.2.2")
>   
>
> Bonne chance
> Troopy
>
> ---------- Original Message ----------------------------------
> From: Dams <[EMAIL PROTECTED]>
> Date:  Thu, 6 Dec 2007 18:01:08 +0700
>
>   
>> Hello,
>>
>>
>> I have a problem with the DHCP-relay
>>
>> Config:
>>        dhcp-relay {
>>            interface eth0
>>            interface eth2
>>            server 192.168.2.2
>>            relay-options {
>>            }
>>
>>
>> Eth0 conect to my DHCP server (win 2k3 Server) : 192.168.2.2
>> and Eth1 to a subnet : 192.168.10.X
>>
>> But the dhcp relay doesn't work
>> XXXXX:~# tcpdump -n port 67
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>> 17:50:29.636059 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>> 17:50:33.376048 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>> 17:50:38.370026 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>> 17:50:47.370767 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>> 17:51:03.369141 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>>
>>
>> But If I add the MAC on static in my DHCP Server, it work fine.
>>
>> XXX:~# tcpdump -n port 67
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>> 17:11:28.052775 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 300
>> 17:11:28.053871 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>> length 318
>> 17:11:28.055461 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> XXXXX, length 302
>> 17:11:28.056391 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>> length 318
>>
>>
>> What did I miss ?
>>
>>
>> I follow the HowTo
>> http://www.openmaniak.com/vyatta_case_dhcp.php#dhcp-process which is
>> brilliant, thanks.
>> The only differents is that my DHCP is not on the router, but on another PC.
>>
>> Do I need to add a route to define the DHCP Server?
>> Do i need to add a data on the server to ask him to take the request form
>> the Vyatta Router ?
>>
>>
>> Thanks for your help
>> -- 
>> Cordialement / Sincerely
>> Damien
>> MEP Volunteer Indonesia / Volontaire MEP Indonesia
>> http://www.mepasie.org
>>
>>
>>
>>     
>  
>
>  
> ______________________________________________________
> Désirez vous une adresse éléctronique @suisse.com?
> Visitez la Suisse virtuelle sur http://www.suisse.com
>
> _______________________________________________
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>   
_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to