Configuration of DHCP relay on S3600 series switch

关键词:
功能需求

Configuration of DHCP relay on S3600 series switch

1 Network requirements

Configure DHCP Relay on S3600 series switch and make the DHCP clients obtain IP addresses in related network segment.

2 Network diagram

SwitchA is DHCP Serverand Enable DHCP Relay on SwitchB.

3 Configuration procedure

3.1  The related configurations on SwitchA

1) Enable DHCP globally

[SwitchA]dhcp enable

2) Creat DHCP address pool and enter its view

[SwitchA]dhcp server ip-pool h3c

3) Configurate address range

[SwitchA-dhcp-pool-h3c]network 192.168.1.0 mask 255.255.255.0

4) Configure all interfaces to operate in global DHCP address pool mode

[SwitchA]dhcp select global all

5) CreatenterVLAN2

[SwitchA]vlan 2

6) Add port E1/0/1 to VLAN2

[SwitchA -vlan2]port Ethernet1/0/2

7) Enter vlan 2 interface

[SwitchA-vlan2]int vlan 2

8) Assign an IP address to VLAN 2 interface

[SwitchA-Vlan-interface2]ip address 192.168.0.1 255.255.255.0

9) Configurate static route

[SwitchA]ip route-static 192.168.1.1 255.255.255.0 192.168.0.2

2   The related configurations on SwitchB

1) Enable DHCP globally

[SwitchB]dhcp enable

2) Create DHCP server group 1 and configure an IP address for it

[SwitchB]dhcp-server 1 ip 192.168.0.1

3) Configurate an IP address for interface vlan 2 which can be reachable to DHCP Server

[SwitchB]vlan 2

[SwitchB-vlan2]port e1/0/2

[SwitchB]int vlan 2

[SwitchB-Vlan-interface2]ip address 192.168.0.2 255.255.255.0

4) Configurate an IP address.The IP address of the interface should be on the same network segment with the DHCP clients

[SwitchB]vlan 3

[SwitchB-vlan3]port e1/0/3

[SwitchB]int vlan 3

[SwitchB-Vlan-interface3]ip address 192.168.1.1 255.255.255.0

5) Map VLAN-interface3 to DHCP server group 1

[SwitchB-Vlan-interface3]dhcp-server 1

4 Configuration tips

4.1 Ensure a reachable route is configured between the DHCP relay and the DHCP server.

4.2 Ensure an address pool that is on the same network segment with the DHCP clients is configured on the DHCP server.

4.3 This case is also applicable to H3C S5600 series switch, Quidway S3900 series switch and Quidway S5600 series switch.

案例信息

案例类型:典型配置
案例号:KMS - 10479
创建时间:2007年4月6日
更新时间:2007年4月24日
发布时间:2007/4/24 5:41:11
文章密级:游客可见
有效期:长期有效
发布者:陈玉龙 [c04979]
点击次数:479
评论平均得分:0
关键词:
产品线:低端交换机
产品系列:
产品版本:
技术分类:网络层协议 IPSec

常用操作
收藏