SNR S2989G-8TX Руководство по настройке онлайн [206/553] 747272

Превью страниц Страница 206 / 553
SNR S2989G-24TX-UPS Руководство по настройке онлайн [206/553] 747282
S2989G-24TX Operation Manual
Chapter 3 IP services Configuration
3-44
interface IP address is 10.16.1.2/24, therefore the IP address assigned to the client will
belong to 10.16.1.0/24.
If the DHCP/BOOTP client wants to have an address in 10.16.2.0/24, the gateway
forwarding broadcast packets of the client must belong to 10.16.2.0/24. The connectivity
between the client gateway and the switch must be ensured for the client to get an IP
address from the 10.16.2.0/24 address pool.
Scenario 2:
DHCP Client
DHCP Client
DHCP Client
Figure 3-11 DHCP Relay Configuration
As shown in the above figure, route switch is configured as a DHCP relay. The DHCP
server address is 10.1.1.10, the configuration steps is as follows:
Switch(config)#service dhcp
Switch(config)#interface vlan 1
Switch(Config-if-Vlan1)#ip address 192.168.1.1 255.255.255.0
Switch(Config-if-Vlan1)#exit
Switch(config)#vlan 2
Switch(Config-Vlan-2)#exit
Switch(config)#interface Ethernet 1/0/2
Switch(Config-Erthernet1/0/2)#switchport access vlan 2
Switch(Config-Erthernet1/0/2)#exit
Switch(config)#interface vlan 2
Switch(Config-if-Vlan2)#ip address 10.1.1.1 255.255.255.0
Switch(Config-if-Vlan2)#exit
Switch(config)#ip forward-protocol udp bootps
Switch(config)#interface vlan 1
E1/0/1
192.168.1.1
E1/0/2
10.1.1.1
DHCPRelay
DHCP Server
10.1.1.10

Содержание

666