路由器是 ER3200,作为DHCP Server,
S5500 作为DHCP中继,vlan101内机器获取不到IP地址
<H3C>dis cu # version 5.20, Release 2222P10 # sysname H3C # dhcp relay server-group 1 ip 192.168.0.1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay # domain default enable system # telnet server enable # password-recovery enable # vlan 1 description To Router name Router # vlan 101 description Switch Home name Server # domain system access-limit disable state active idle-cut disable self-service-url disable # user-group system group-attribute allow-guest # local-user admin password cipher $c$3$iS/A8qKsFkEyzLeMVh3p6VeXdwvwXNpRepbCVQ== authorization-attribute level 3 service-type web # interface NULL0 # interface Vlan-interface1 ip address 192.168.0.2 255.255.255.0 # interface Vlan-interface101 ip address 192.168.10.1 255.255.255.192 dhcp select relay dhcp relay address-check enable dhcp relay server-select 1 # interface GigabitEthernet1/0/1 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/2 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/8 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/9 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/10 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/11 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/12 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/13 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/14 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/15 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/16 port link-mode bridge port access vlan 101 # interface GigabitEthernet1/0/17 port link-mode bridge # interface GigabitEthernet1/0/18 port link-mode bridge # interface GigabitEthernet1/0/19 port link-mode bridge # interface GigabitEthernet1/0/20 port link-mode bridge # interface GigabitEthernet1/0/21 port link-mode bridge # interface GigabitEthernet1/0/22 port link-mode bridge shutdown # interface GigabitEthernet1/0/23 port link-mode bridge port link-type trunk port trunk permit vlan 1 # interface GigabitEthernet1/0/24 port link-mode bridge port link-type trunk port trunk permit vlan 1 # interface GigabitEthernet1/0/25 port link-mode bridge shutdown # interface GigabitEthernet1/0/26 port link-mode bridge shutdown # interface GigabitEthernet1/0/27 port link-mode bridge shutdown # interface GigabitEthernet1/0/28 port link-mode bridge shutdown # ip route-static 0.0.0.0 0.0.0.0 192.168.0.1 # dhcp enable # load xml-configuration # load tr069-configuration # user-interface aux 0 user-interface vty 0 15 # return
(0)
最佳答案
S5500支持dhcp server,建议做dhcp服务器,ER3200写回程路由即可!
(0)
主要交换机配置静态路由太麻烦,不如路由器设置方便。
主要交换机配置静态路由太麻烦,不如路由器设置方便。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明