Cisco ASA 5520 and DHCP relay

Ricardo Stella stella at rider.edu
Wed Mar 12 19:27:56 UTC 2008



Eimantas Zdanevičius wrote:
> Hello all,
>
>
> I have linux dhcp server connected to one ASA 5520 (routing mode, single
> context) interface, and dhcp clients connected to other ASA 5520
> interface. I have set dhcprelay agent on asa:
>
> dhcprelay server dhcp_server servers
> dhcprelay enable test
> dhcprelay timeout 60
>
> Linux DHCP server configuration:
>
> default-lease-time  1800;    # 1/2 hour
> max-lease-time      3600;    # 1 hour
> min-lease-time       900;    # 1/4 hour
> one-lease-per-client true;
> option arp-cache-timeout 3600;
> option netbios-node-type 1;
> ddns-update-style none;
> ddns-updates off;
> authoritative;
> subnet 10.5.0.0 netmask 255.255.255.0 {
>        option routers                  10.5.0.254;
>        option subnet-mask              255.255.255.0;
>        option domain-name-servers      10.0.0.1,10.0.0.2;
>        host asus { fixed-address 10.5.0.20; hardware ethernet
> 00:18:f3:3e:bc:3e; }
> }
>
> I have laptop (named asus in dhcp config) with Windows XP and Linux
> operating systems. When i run Windows XP my laptop gets ip address and
> all works fine. But linux cant get ip address from dhcp server.
>
> i can't see any activity on dhcp server from linux client (message.log,
> tcpdump), when i run windows i see DHCP messages on dhcp server.
>
>
> how can i resolve this problem?
>
> How can i debug dhcp packets on asa5520?
>
>
> Thanks,
> Eimantas
>
>
>
The fact that the Windows host can get connections means that the 
problem is no with the routing, and if anything the problem is between 
the Linux host configuration.  How are you running Linux on the laptop 
?  Is it a virtual machine, or are you dual booting ?

Have you looked at debugging messages from within the Linux host ?   If 
you are running a VM, the mac address of the device would be different 
so you would probably need a 2nd host declared.

My .02...





-- 

°(((=((===°°°(((===========================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stella.vcf
Type: text/x-vcard
Size: 212 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080312/cd507b1e/attachment.vcf>


More information about the dhcp-users mailing list