Ip helper-address – Enterasys Networks X-Pedition XSR CLI User Manual
Page 234
Other IP Commands
5-158 Configuring the Internet Protocol
DHCP Relay Functionality
The DHCP Relay functionality is applied with the help of IP broadcast forwarding. A typical
situation, as shown in
, occurs when a Host requests an IP address with no DHCP server
located on that segment.
Router 1 can forward the DHCP request (1) to the server located on N2, if IP forward‐protocol is
enabled for UDP, and the address of the DHCP server is configured as a helper address on the
receiving interface of Router 1. The DHCP Relay function will detect the DHCP request and make
the necessary changes to the header, replacing the destination address with the address of the
server, and the source with its own address, and send it further (2) to the server. When the
response (3) comes from the server, the DHCP Relay function sends it to the host (4).
Figure 5-7 DHCP Functionality Example
ip helper-address
This command enables forwarding of local broadcasts specifying the new destination address. It is
one of two commands used for UDP broadcast forwarding. Also refer to the
ip forward-
protocol
command which defines the forward protocol and port number. You can add more
than one helper address per interface. The command is also used to enable BOOTP Relay.
Syntax
ip helper-address address
Syntax of the “no” Form
The no form disables the forwarding of broadcast packets to the specified address:
no ip helper-address address
Mode
Interface configuration:
XSR(config-if
Example
In this example, with one server on network 191.168.1.255 and the other on network 192.24.1.255,
you permit UDP broadcasts from hosts on either network segment to reach both servers:
Router 2
N2
Router 1
N1
Host
Destination
255.255.255.255
Global Configuration
ip forward-protocol UDP
interface ethernet 1
ip helper-address address1
1
eth 1
2
Source: 0.0.0.x
3
4
Server
addr1
INTERNET
DHCP
Relay
Function
address
Destination broadcast or host address used when forwarding.