Self-Defined Option Configuration Example - 3Com MSR 50 Series Configuration Manual

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

Self-Defined Option
Configuration Example
# 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
# Configure DHCP address pool 0 (address range, client domain name suffix and
DNS server address).
[RouterA] dhcp server ip-pool 0
[RouterA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[RouterA-dhcp-pool-0] domain-name aabbcc.com
[RouterA-dhcp-pool-0] dns-list 10.1.1.2
[RouterA-dhcp-pool-0] quit
# Configure DHCP address pool 1 (address range, gateway, WINS server, and lease
duration).
[RouterA] dhcp server ip-pool 1
[RouterA-dhcp-1] network 10.1.1.0 mask 255.255.255.128
[RouterA-dhcp-1] gateway-list 10.1.1.126
[RouterA-dhcp-1] expired day 10 hour 12
[RouterA-dhcp-pool-1] nbns-list 10.1.1.4
[RouterA-dhcp-1] quit
# Configure DHCP address pool 2 (address range, gateway and lease duration).
[RouterA] dhcp server ip-pool 2
[RouterA-dhcp-pool-2] network 10.1.1.128 mask 255.255.255.128
[RouterA-dhcp-pool-2] expired day 5
[RouterA-dhcp-pool-2] gateway-list 10.1.1.254
Network requirements
The DHCP client (Router B) obtains the IP address and PXE server addresses
from the DHCP server (Router A).
The IP address that Router B obtains belongs to the network segment
10.1.1.0/24.
The PXE server addresses that Router B obtains are 1.2.3.4 and 2.2.2.2.
Network diagram
Figure 171 Network diagram for self-defined option configuration (a router as the DHCP
server)
Eth1 /0
10 .1 .1.1/24
Router A
DHCP server
Configuration procedure
1 Specify IP address for interface Ethernet 1/0 (omitted)
2 Configure the DHCP server
DHCP Server Configuration Examples
Eth1/0
Router B
DHCP client
587

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents