3com 3031 Instruccion De Instalación
390
C
HAPTER
30: DHCP C
ONFIGURATION
Networking topology
Figure 105 DHCP server and client in the same sub-net
Configuration schedules
Enable DHCP services
[3Com]dhcp enable
Forbid auto allocation of IP addresses (including DNS address, NetBIOS address
and egress gateway address)
and egress gateway address)
[3Com]dhcp server forbidden-ip 10.1.1.2
[3Com]dhcp server forbidden-ip 10.1.1.4
[3Com]dhcp server forbidden-ip 10.1.1.126
[3Com]dhcp server forbidden-ip 10.1.1.254
Configure common attributes for DHCP address pool 0 (address pool range,
domain name and DNS address).
domain name and DNS address).
[3Com]dhcp server ip-pool 0
[3Com-dhcp-0]network 10.1.1.0 mask 255.255.255.0
[3Com-dhcp-0]domain-name 3Com.com
[3Com-dhcp-0]dns-list 10.1.1.2
Configure attributes for DHCP address pool 1 (address pool range, egress gateway
address and address lease limit)
address and address lease limit)
[3Com]dhcp server ip-pool 1
[3Com-dhcp-1]network 10.1.1.0 mask 255.255.255.128
[3Com-dhcp-1]gateway-list 10.1.1.126
[3Com-dhcp-1]expired day 10 hour 12
Configure attributes for DHCP address pool 2 (address pool range, egress gateway
address, NetBIOS address and address lease limit).
address, NetBIOS address and address lease limit).
[3Com]dhcp server ip-pool 2
[3Com-dhcp-2]network 10.10.1.128 mask 255.255.255.128
[3Com-dhcp-2]expired day 5
[3Com-dhcp-2]nbns-list 10.1.1.4
[3Com-dhcp-2]gateway-list 10.1.1.254
DHCP Relay
Configuration Examples
Networking requirements
The segment for DHCP client is 10.110.0.0 and that for DHCP server is
202.38.0.0. A router which supports DHCP relay function is required for
202.38.0.0. A router which supports DHCP relay function is required for
LAN
LAN
NetBIOS Server
Client
DNS Server
Client
Client
Client
Client
Client
RouterA
DHCP
Server
RouterB