Chapter 5: DHCP Configuration Guide
82
SmartSwitch Router User Reference Manual
6.
Define the address pool for ‘scope2’.
7.
Create a superscope ‘super1’ that includes ‘scope1’.
8.
Include ‘scope2’ in the superscope ‘super1’.
For clients on the secondary subnet, the default gateway is 10.2.1.1, which is also the
secondary address for the interface ‘clients’.
Interacting with Relay Agents
For clients that are not directly connected to the DHCP server, a relay agent (typically a
router) is needed to communicate between the client and the server. The relay agent is
usually only needed during the initial leasing of an IP address. Once the client obtains an
IP address and can connect to the network, the renewal of the lease is performed between
the client and server without the help of the relay agent.
The default gateway for the client must be capable of reaching the SSR’s DHCP server.
The SSR must also be capable of reaching the client’s network. The route must be
configured (with static routes, for example) or learned (with RIP or OSPF, for example) so
that the DHCP server can reach the client.
The following example shows a simple configuration to support clients across a relay
agent.
1.
Create an interface ‘clients’ with the primary address 10.1.1.1.
2.
Define a static route to the 10.5.x.x. subnet using the gateway 10.1.7.10 which tells the
DHCP server how to send packets to the client on the 10.5.x.x subnet.
3.
Define the network parameters for ‘scope1’ with the default gateway 10.5.1.1 (the
relay agent for the client).
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.3.3
ip add route 10.5.0.0/16 gateway 10.1.7.10
dhcp scope1 define parameters address-netmask 10.5.0.0/16 gateway
10.5.1.1 dns-domain acme.com
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...