sysname H3C
super password level 3 cipher .]@USE=B,53Q=^Q`MAF4<1!!
# dhcp-server 1 ip 10.0.0.254
# loopback-detection enable
# radius scheme system
# domain system
# local-user admin password simple admin service-type telnet level 3
# vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 888
# interface Vlan-interface1 ip address 10.0.0.1 255.255.255.0
# interface Vlan-interface10 ip address 10.0.10.1 255.255.255.0 dhcp-server 1
# interface Vlan-interface20 ip address 10.0.20.1 255.255.255.0 dhcp-server 1
# interface Vlan-interface30 ip address 10.0.30.1 255.255.255.0 dhcp-server 1
# interface Vlan-interface888 ip address 172.16.0.1 255.255.255.0
# interface Aux1/0/0
# interface GigabitEthernet1/0/1
# interface GigabitEthernet1/0/2
# interface GigabitEthernet1/0/3 port access vlan 10
# interface GigabitEthernet1/0/4 port access vlan 10
# interface GigabitEthernet1/0/5 port access vlan 10
# interface GigabitEthernet1/0/6 port access vlan 10
# interface GigabitEthernet1/0/7 port access vlan 10
# interface GigabitEthernet1/0/8 port access vlan 10
# interface GigabitEthernet1/0/9 port access vlan 20
# interface GigabitEthernet1/0/10 port access vlan 20
# interface GigabitEthernet1/0/11 port access vlan 20
# interface GigabitEthernet1/0/12 port access vlan 20
# interface GigabitEthernet1/0/13 port access vlan 30
# interface GigabitEthernet1/0/14 port access vlan 30
# interface GigabitEthernet1/0/15 port access vlan 30
# interface GigabitEthernet1/0/16 port access vlan 30
# interface GigabitEthernet1/0/17 shutdown port access vlan 30
# interface GigabitEthernet1/0/18 shutdown port access vlan 30
# interface GigabitEthernet1/0/19 shutdown port access vlan 30
# interface GigabitEthernet1/0/20 shutdown port access vlan 30
# interface NULL0 # ip route-static 0.0.0.0 0.0.0.0 10.0.0.254 preference 60
# user-interface aux 0 user-interface vty 0 4 user privilege level 3 set authentication password cipher .]@USE=B,53Q=^Q`MAF4<1!! # return
C:\Users\Administrator>tracert 10.0.20.200
通过最多 30 个跃点跟踪到 10.0.20.200 的路由
1 <1 毫秒 <1 毫秒 <1 毫秒 10.0.0.254
2 1 ms 1 ms 1 ms 10.0.20.1
3 <1 毫秒 <1 毫秒 <1 毫秒 10.0.20.200
跟踪完成。
为什么是先通过ros软路由之后返回来,不是直接通过交换机的三层地址互通?
(0)
最佳答案
首先H3C三层交换机缺省是开启三层转发功能的。
这说明可能组网不规范呀
可能客户端网关地址是ROS设备并非H3C核心交换机。
而且配置也很清楚vlan1段没有dhcp服务,且或有dhcp请求是转发给ros设备的。。。
建议检查下组网和客户端侧网卡信息看看吧。
(0)
Routing Table: public net
Destination/Mask Protocol Pre Cost Nexthop Interface
0.0.0.0/0 STATIC 60 0 10.0.0.254 Vlan-interface1
10.0.0.0/24 DIRECT 0 0 10.0.0.1 Vlan-interface1
10.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
10.0.10.0/24 DIRECT 0 0 10.0.10.1 Vlan-interface10
10.0.10.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
10.0.20.0/24 DIRECT 0 0 10.0.20.1 Vlan-interface20
10.0.20.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
10.0.30.0/24 DIRECT 0 0 10.0.30.1 Vlan-interface30
10.0.30.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
vlan1地址是ROS分配的 因为是vlan1连接的路由,所以没有设置dhcp中继
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
检查了下,vlan1的网关设置错了,直接指向了ros,因为是测试来,大意了,谢谢。