50
Dynamic IP address assignment configuration example
Network requirements
•
As shown in
, the DHCP server (Router A) assigns IP address to clients on subnet
10.1.1.0/24, which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
•
The IP addresses of Ethernet 1/1 and Ethernet 1/2 on Router A are 10.1.1.1/25 and 10.1.1.129/25.
•
In subnet 10.1.1.0/25, the address lease duration is ten days and twelve hours, the domain name
suffix is aabbcc.com, the DNS server address is 10.1.1.2/25, the WINS server address is
10.1.1.4/25, and the gateway address is 10.1.1.126/25.
•
In the subnet 10.1.1.128/25, the address lease duration is five days, the domain name suffix is
aabbcc.com, the DNS server address is 10.1.1.2/25, and the gateway address is 10.1.1.254/25
and there is no WINS server address.
Figure 17
Network diagram
Configuration procedure
1.
Specify IP addresses for interfaces. (Details not shown.)
2.
Configure the DHCP server:
# Enable DHCP.
<RouterA> system-view
[RouterA] dhcp enable
# Enable the DHCP server on Ethernet 1/1 and Ethernet 1/2.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] dhcp select server
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] dhcp select server
[RouterA-Ethernet1/2] quit
# Exclude IP addresses from dynamic allocation (addresses of the DNS server, WINS server, and
gateways).
[RouterA] dhcp server forbidden-ip 10.1.1.2
[RouterA] dhcp server forbidden-ip 10.1.1.4
[RouterA] dhcp server forbidden-ip 10.1.1.126
[RouterA] dhcp server forbidden-ip 10.1.1.254
Содержание MSR 2600 Series
Страница 6: ...We appreciate your comments...
Страница 33: ...18 AC vlan1 quit...
Страница 113: ...98 Figure 41 Creating a record d On the page that appears select IPv6 Host AAAA as the resource record type...
Страница 118: ...103...
Страница 168: ...153 H323 Enabled ICMP ERROR Enabled...
Страница 170: ...155 Task Command Display FIB entries display fib vpn instance vpn instance name ip address mask mask length...