DHCP配置及中继
dhcp enable
#
dhcp server database enable
#
dhcp server group dhcpgroup200
dhcp-server 172.29.210.1 0
#
interface Ethernet0/0/21
port link-type access
port default vlan 200
#
interface Ethernet0/0/22
description yiyatong
port link-type access
port default vlan 100
#
ip route-static 172.29.0.0 255.255.0.0 172.29.210.1
ip route-static 172.29.12.0 255.255.255.0 172.29.210.1
ip route-static 172.29.16.0 255.255.255.0 172.29.210.1
#
interface Vlanif100
ip address 172.29.210.10 255.255.255.128
#
interface Vlanif200
ip address 172.29.210.130 255.255.255.128
dhcp select relay
dhcp relay server-select dhcpgroup200
#