From: Bajo (bajoalex@gmail.com)
Date: Sun Jan 13 2008 - 03:15:58 ARST
Hi Amin,
Am not sure if you are asking about this
1) Client router
Rack1R2#sh run | in dhcp-ser
ip dhcp-server 145.1.17.1 <.............R1 address
interface FastEthernet0/1
ip dhcp client client-id ascii R2-dhcp <...> or use "ip dhcp client
client-id ascii hex"
ip address dhcp
duplex auto
speed auto
end
2) On the DHCP server:
ip dhcp pool R2-pool
host 145.1.17.2 255.255.255.0
client-identifier
0063.6973.636f.2d30.3030.642e.6263.3438.2e37.6537.312d.4661.302f.31
If you use asci on clinet, do "deb ip dhcp server packet" to get the
client-id on the server.side.
Rack1R2#sh dhcp lease
Temp IP addr: 145.1.17.2 for peer on Interface: FastEthernet0/1
Temp sub net mask: 255.255.255.0
DHCP Lease server: 145.1.17.1, state: 3 Bound
DHCP transaction id: 9C5A6A45
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
Next timer fires after: 06:27:51
Retry count: 0 Client-ID: cisco-000d.bc48.7e71-Fa0/1
Hostname: R2-dhcp
Rack1R1#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
145.1.17.2 0063.6973.636f.2d30. Infinite Manual
3030.642e.6263.3438.
2e37.6537.312d.4661.
302f.31
DoC : http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_8/gtdhcpcf.htm
-ip dhcp-server x.x..x.x
int f0/1
Ip add dhcp cline-name RA-dhcp
2). On the dhcp-server (x.x.x.x)
ip dhcp pool pool-name
host y.y.y.y 255.255.255.0
clinet-id
On 1/11/08, CCIE <ccie@axizo.com> wrote:
> Dear Expert,
>
> How I could configure static DHCP through an IOS?
>
> Regars,
>
> Amin
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Kind Regards,Bajo
This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:59 ARST