beautypg.com

Dhcp configuration examples – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual

Page 97

background image

SmartSwitch Router User Reference Manual

71

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’.

2.

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

3.

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

4.

Define DHCP network parameters for the scope ‘scope1’.

5.

Define an IP address pool for addresses 10.1.1.10 through 10.1.1.20.

6.

Define another IP address pool for addresses 10.1.1.40 through 10.1.1.50.

7.

Define a static IP address for 10.1.7.5.

8.

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

vlan create client_vlan ip

vlan add port et.*.* to client_vlan

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

client_vlan

dhcp scope1 define parameters address-netmask 10.1.0.0/16 gateway

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

dhcp scope1 define pool 10.1.1.10-10.1.1.20

dhcp scope1 define pool 10.1.1.40-10.1.1.50

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

dhcp scope1 define static-ip 10.1.7.7 mac-address

08:00:20:aa:bb:cc:dd gateway 10.1.1.2