Professional Documents
Culture Documents
DHCP���÷���
1. �����Զ������IP��ַ��Χ
ip dhcp excluded-address 10.1.1.1
10.1.1.19 //����10.1.1.1��10.1.1.19��IP��ַ��� �������
2. ����DHCP��ַ��
ip dhcp pool global //������������DHCP��ַ�����ص
network 10.1.0.0
255.255.0.0//��������IP��ַ��Χ��������10.1.0.0������е�IP��ַ��ǰ�����ķ��Զ������ַ���⣩
3. ����DHCP������Ϣ
domain-name client.com//Ϊ�ͻ����������
dns-server 10.1.1.1 10.1.1.2//Ϊ�ͻ�������DNS������ĵ�ַ��������10.1.1.1��10.1.1.2
netbios-name-server 10.1.1.5
10.1.1.6//Ϊ�ͻ�������WINS�������ַ��������10.1.1.5��10.1.1.6
netbios-node-type h-node//Ϊ�ͻ������ý �ڵģʽ��Ӱ����ƽ��͵�˳��
��h��node������
�wins
� ����������
�
default-router 10.1.0.100 10.1.0.101//Ϊ�ͻ�������Ĭ�����
4. ������Լ����
lease 8//������Լʱ��Ϊ8��
5.��ʱ��������ҪΪDHCP�����������ӵ�ַ����������أϣ��1 0.1.1.0/24 �����ε Ŀ ͻ �������Ϊ 1 0 .1.1.100
�������������ã�
ip dhcp pool subglobal
network 10.1.1.0 255.255.255.0// global���ӵ�ַ������أglobal��������ѡ��
default-router 10.1.1.100 10.1.1.101 //Ϊ�ͻ�������Ĭ�����
6. ���صDHCP��������
no service dhcp //��DHCP����
show ip dhcp binding//��ʾ��ַ�������
show ip dhcp conflict //��ʾ��ַ��ͻ���
DHCP���ù��
�
ADSLrouter# config t
ADSLrouter(dhcp-config)# exit
����ʵ��
ADSLrouter#show run
Building configuration...
ADSLrouter#