网络通信 频道

Cisco路由器上配置DHCP全程详解

    在交换机上为不同的VLAN指定DHCP服务器地址

    这一步骤只须在不同的VLAN中通过设置IP HELPER-ADDRESS即可搞定,指令如下:

    switch>enable  (进入交换机的特权模式)
    Password
    switch #config t (进入配置模式)

    Enter configuration commandsone per line.  End with CNTL/Z.
    switch config#interface vlan1 (配置VLAN1)
    switch config-if#ip helper-address 192.168.1.4(指定DHCP服务器的地址,即路由器的地址)

    ghqconfig-if#interface vlan2 (配置VLAN2)
    ghqconfig-if#ip helper-address 192.168.1.4

0
相关文章