SmartWare Software Configuration Guide

27 • DHCP configuration

 

 

Configure DHCP-relay

SmartNodes support the DHCP-Relay functionality. To avoid having a DHCP-Server in every subnet, Smart- Nodes now can forward DHCP-Requests either directly to a DHCP-Server or to another DHCP-Relay. To configure the relay, there is a profile type dhcp-relay.The minimum configuration of such a profile only needs one IP where DHCP-Requests are sent to. Note that a SmartNode can be configured either as DHCP-Server or as DHCP-Relay, but not both in parallel.

Create/Modify DHCP-Relay profile

To use a SmartNode as DHCP-Relay Agent, a dhcp-relay profile must be created. Some things you should know about the Relay Agent profile:

In order to create valid profile, a dhcp-relay profile must contain at least one destination IP.

There is no limit of dhcp-relay profiles, but there is only one active profile at the time.

Modification of the dhcp-relay profile currently in use can be made anytime. Changes are activated imme- diately. When all destination IPs are removed the profile is considered invalid and the DHCP-Relay is shut down.

Mode: Configure

Step

Command

Purpose

 

 

 

1

[name](cfg) #[no] profile dhcp-

Enter dhcp-relay profile mode. A new profile is created if

 

relay name

none with the given name exists.

 

 

 

2

[name] (pf-dhcpr)[name]#destina-

Add or remove an IP-Address to the profile. The IP-

 

tion <ip-address>

Address can be any kind of address, means uni-, mulit-, or

 

or

broadcast. Be aware that every DHCP- Request will be

 

[name] (pf-dhcpr)[name]#destina-

relayed to all ip- addresses in the list in the order they

 

tion after <index> <ip-address>

are listed. The DHCP-Relay profile is only valid if it con-

 

or

tains at least one destination IP. The maximum amount of

 

[name] (pf-dhcpr)[name]#destina-

destinations is limited to 16.

 

tion before <index> <ip-address>

 

 

or

 

 

[name] (pf-dhcpr)[name]#no desti-

 

 

nation <index>

 

 

 

 

3

[name] (pf-dhcpr)[name]#max-

Sets the max-hops a packet may have passed so far.

 

hops <1...16>

When a packet exceeds the max-hops limit, it is silently

 

or

discarded.

 

[name] (pf-dhcpr)[name]#no max-

Max-hops is by default set to 4. This is an optional config-

 

hops

uration command.

 

 

 

4

[name] (pf-dhcpr)[name]#traffic-

Sets traffic class for DHCP packets. The traffic class may

 

class <traffic-class>

be new or may already exist. This is an optional configu-

 

 

ration command.

 

 

 

DHCP-server configuration tasks

302

Page 302
Image 302
Patton electronic SmartNode 4110 Series manual Configure DHCP-relay, Create/Modify DHCP-Relay profile