6 secondary subnets and directly-connected clients – Riverstone Networks WICT1-12 User Manual

Page 176

Advertising
background image

10-6 Riverstone Networks RS Switch Router User Guide Release 8.0

Secondary Subnets and Directly-Connected Clients

DHCP Configuration Guide

2.

Define the address pool for ‘scope1’.

3.

Define the network parameters for ‘scope2’ with the default gateway 10.2.1.1.

4.

Define the address pool for ‘scope2’.

5.

Create a superscope ‘super1’ that includes ‘scope1’.

6.

Include ‘scope2’ in the superscope ‘super1’.

Since there are multiple pools of IP addresses, the pool associated with ‘scope1’ is used first since ‘scope1’ is applied
to the interface before ‘scope2’. Clients that are given an address from ‘scope1’ will also be given parameters from
‘scope1,’ which includes the default gateway 10.1.1.1 that resides on the 10.1.x.x subnet. When all the addresses for
‘scope1’ are assigned, the server will start giving out addresses from ‘scope2’ which will include the default gateway
parameter 10.2.1.1 on subnet 10.2.x.x.

10.6 SECONDARY SUBNETS AND

DIRECTLY-CONNECTED CLIENTS

A directly-connected client is a system that resides on the same physical network as the DHCP server and does not
have to go through a router or relay agent to communicate with the server. If you configure the DHCP server on the
RS to service directly-connected clients on a secondary subnet, you must configure the secondary subnet using the

interface add ip

command. The

interface add ip

command configures a secondary address for an interface

that was previously created with the

interface create ip

command.

The following example shows a simple configuration to support directly-connected clients on a secondary subnet.

1.

Create an interface ‘clients’ with the primary address 10.1.1.1.

2.

Assign a secondary address 10.2.1.1 to the interface ‘clients’.

dhcp scope1 define pool 10.1.1.10-10.1.1.20

dhcp scope2 define parameters address-netmask 10.2.0.0/16 gateway

10.2.1.1 dns-domain acme.com dns-server 10.1.77.88

dhcp scope2 define pool 10.2.1.40-10.2.1.50

dhcp scope1 attach superscope super1

dhcp scope2 attach superscope super1

interface create ip clients address-mask 10.1.1.1/16 port et.1.1

interface add ip clients address-mask 10.2.1.1/16

Advertising