Qtech QSW-2800v2 Руководство пользователя онлайн [115/230] 481607

Qtech QSW-2800v2 Руководство пользователя онлайн [115/230] 481607
Chapter4 Router Configuration
3-21
Switch(config-dhcp-pool-1)#lease-time 12
Switch(config-dhcp-pool-1)# dns 10.1.1.200
//Configure address pool2: address pool range, lease time and designate DNS server.
Switch(config)#dhcp pool 2
Switch(config-dhcp-pool-2)#network range 10.1.2.2 10.1.2.100 mask 255.255.255.0
Switch(config-dhcp-pool-2)#gateway 10.1.2.1
Switch(config-dhcp-pool-2)#lease-time 24
Switch(config-dhcp-pool-2)# dns 10.1.2.200
2. Configure DHCP Relay.
//Configure VLAN-interface10 IP address of DHCP Relay and configure to be the
Relay mode.
Switch#configure
Switch(config)#dhcp enable
Switch(config)#interface vlan 10
Switch(config-vlan-10)#ip address10.1.1.1/24
Switch(config-vlan-10)#ip dhcp relay
Switch(config-vlan-10)#dhcp relay server-ip 192.168.1.100
//Configure VLAN-interface20 IP address of DHCP Relay and configure to be the
Relay mode.
Switch#configure
Switch(config)#interface vlan 20
Switch(config-vlan-20)#ip address 10.1.2.1/24
Switch(config-vlan-20)#ip dhcp relay
Switch(config-vlan-20)#dhcp relay server-ip 192.168.1.100
//Configure VLAN-interface100 IP address of DHCP Relay and configure to be the
Relay mode.
Switch#configure
Switch(config)#interface vlan 100
Switch(config-vlan-100)#ip address 1.1.1.1/24
Switch(config-vlan-100)#ip dhcp relay

Содержание

Скачать