设置列表
对齐方式
S5120的1口联接ER6300路由器(地址:192.168.1.1)
通过S5120的2、3、4口可以正常获取150段的地址,但是不能联网,不知道有还有什么没有配置。
请高手帮忙指导一下。
谢谢!!!
下面是S5120的配置内容
[H3C]dis cu # version 5.20, Release 2208 # sysname H3C # domain default enable system # telnet server enable # vlan 1 # vlan 2 # vlan 100 # radius scheme system server-type extended primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain # domain system access-limit disable state active idle-cut disable self-service-url disable # dhcp server ip-pool valn2dhcp # dhcp server ip-pool vlan2dhcp network 192.168.150.0 mask 255.255.255.0 gateway-list 192.168.150.1 # user-group system # local-user admin password simple 555456 authorization-attribute level 3 service-type telnet # interface NULL0 # interface Vlan-interface1 ip address 192.168.1.221 255.255.255.0 # interface Vlan-interface2 ip address 192.168.150.1 255.255.255.0 # interface Vlan-interface100 # interface GigabitEthernet1/0/1 # interface GigabitEthernet1/0/2 port access vlan 2 # interface GigabitEthernet1/0/3 port access vlan 2 # interface GigabitEthernet1/0/4 port access vlan 2 # interface GigabitEthernet1/0/5 # interface GigabitEthernet1/0/6 # interface GigabitEthernet1/0/7 # interface GigabitEthernet1/0/8 # interface GigabitEthernet1/0/9 # interface GigabitEthernet1/0/10 # interface GigabitEthernet1/0/11 # interface GigabitEthernet1/0/12 # interface GigabitEthernet1/0/13 # interface GigabitEthernet1/0/14 # interface GigabitEthernet1/0/15 # interface GigabitEthernet1/0/16 # interface GigabitEthernet1/0/17 # interface GigabitEthernet1/0/18 # interface GigabitEthernet1/0/19 # interface GigabitEthernet1/0/20 # interface GigabitEthernet1/0/21 # interface GigabitEthernet1/0/22 # interface GigabitEthernet1/0/23 # interface GigabitEthernet1/0/24 # interface GigabitEthernet1/0/25 shutdown # interface GigabitEthernet1/0/26 shutdown # interface GigabitEthernet1/0/27 shutdown # interface GigabitEthernet1/0/28 shutdown # ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 # dhcp enable # load xml-configuration # user-interface aux 0 user-interface vty 0 4 authentication-mode scheme user-interface vty 5 15 # return
S5120做DHCPserver为每个pc分配地址,1口联接ER6300路由器。每个pc正常联网即可。
(0)
最佳答案
你好
1、路由器需要配置内网的回程路由,下一跳指向交换机
ip route-static 192.168.150.0 255.255.255.0 192.168.1.221
2、dhcp地址池没有配置公网dns地址
(0)
谢谢!!! 问题解决了
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
谢谢!!! 问题解决了