4-26
Stinger®
IP2000 Configuration Guide
IP Router Configuration
Configuring
ip-global
network features
[in IP-GLOBAL:bootp-relay:bootp-servers]
bootp-servers[1] = 0.0.0.0
bootp-servers[2] = 0.0.0.0
Sample DHCP relay configuration
Figure 4-3 shows a high-speed circuit to a remote CPE router that provides a LAN
interface to one or more host PCs. To support centralized assignment of the IP
addresses of host PCs via DHCP, both the remote CPE router and the IP2000 must be
configured as DHCP relay agents.
Figure 4-3. DHCP relay sample setup
In this example, the remote PC is configured to use DHCP to obtain an IP address.
The CPE router on the remote LAN is configured statically with the IP address 3.3.3.3
and is configured to enable DHCP relay. The CPE router DHCP relay configuration
specifies a DHCP server at 2.2.2.142 (the DHCP server beyond the DHCP relay agent
on the IP2000).
The IP2000 is configured as DHCP relay agent with the DHCP server at 2.2.2.142
across its Gigabit Ethernet interface ( 2.2.2.2). The DHCP server is configured to
recognize the CPE router at 3.3.3.3.
The following commands configure the IP2000 as a DHCP relay agent:
admin> read ip-global
admin> set bootp-relay active = yes
admin> set bootp-relay bootp-servers 1 = 2.2.2.142
admin> write -f
The next commands configure the
connection
profile for the CPE router:
Parameter
Setting
active
Enable/disable DHCP relay. When this parameter is set
to
yes
, the IP2000 forwards requests from a client on
one network (such as a remote interface) to a DHCP
server on another network interface (such as the
Gigabit Ethernet interface of the IP2000).
bootp-servers[1]/[2]
These indexed parameters each specify the IP address of
one DHCP server. Only one address is required. If more
than one server is specified, the Stinger unit uses the
first server until it becomes unavailable. Once the unit
starts using the second server, the unit continues using
that server until it becomes unavailable, at which time
the unit switches back to using the first server again.
IP/ATM
Network side
User side
CPE router
Gigabit
Ethernet
IP
2.2.2.2
Remote LAN
DHCP server
2.2.2.142
3.3.3.3
DHCP client