Chapter 7: DHCP Configuration Guide

DHCP Configuration Examples

The following configuration describes DHCP configuration for a simple network with just one interface on which DHCP service is enabled to provide both dynamic and static IP addresses.

1.Create an IP VLAN called ‘client_vlan’.

vlan create client_vlan ip

2.Add all Fast Ethernet ports in the SSR to the VLAN ‘client_vlan’.

vlan add port et.*.* to client_vlan

3.Create an IP interface called ‘clients’ with the address 10.1.1.1 for the VLAN ‘client_vlan’.

interface create ip clients address-netmask 10.1.1.1./16 vlan client_vlan

4.Define DHCP network parameters for the scope ‘scope1’.

dhcp scope1 define parameters address-netmask 10.1.0.0/16 gateway

10.1.1.1lease-time 24 dns-domain acme.com dns-server 10.2.45.67 netbios-name-server 10.1.55.60

5.Define an IP address pool for addresses 10.1.1.10 through 10.1.1.20.

dhcp scope1 define pool 10.1.1.10-10.1.1.20

6.Define another IP address pool for addresses 10.1.1.40 through 10.1.1.50.

dhcp scope1 define pool 10.1.1.40-10.1.1.50

7.Define a static IP address for 10.1.7.5.

dhcp scope1 define static-ip 10.1.7.5 mac-address 08:00:20:11:22:33

8.Define another static IP address for 10.1.7.7. and give it a specific gateway address of 10.1.1.2.

dhcp scope1 define static-ip 10.1.7.7 mac-address 08:00:20:aa:bb:cc:dd gateway 10.1.1.2

SmartSwitch Router User Reference Manual

71

Page 97
Image 97
Cabletron Systems 9032578-05 manual Dhcp Configuration Examples, Define Dhcp network parameters for the scope ‘scope1’