问题1:请问下静态路由里面配置Vlan-interface1000 是做什么用的?
问题2:为啥10.0.255.26 ping 不通
ping 10.0.255.26
Ping 10.0.255.26 (10.0.255.26): 56 data bytes, press CTRL+C to break
Request time out
Request time out
Request time out
Request time out
Request time out
--- Ping statistics for 10.0.255.26 ---
5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss
接口配置:
interface Vlan-interface1000
ip address 10.0.255.25 255.255.255.252
路由表
Destination/Mask Proto Pre Cost NextHop Interface
10.0.3.0/24 Static 60 0 10.0.255.26 Vlan1000
10.0.255.24/30 Direct 0 0 10.0.255.25 Vlan1000
10.0.255.24/32 Direct 0 0 10.0.255.25 Vlan1000
10.0.255.25/32 Direct 0 0 127.0.0.1 InLoop0
10.0.255.27/32 Direct 0 0 10.0.255.25 Vlan1000
静态路由
ip route-static 10.0.3.0 24 Vlan-interface1000 10.0.255.26
(0)
最佳答案
vlan1000配置了个IP,看着像是互联地址
ping -a 10.0.255.25 10.0.255.26试试
(0)
带源地址可以ping 通了,谢谢提醒
好的
请教下Vlan-interface1000 这个加上有什么意义吗?
互联地址啊,没有这个地址无法通信了
ip route-static 10.0.0.128 25 Vlan-interface1024 10.0.255.26 ip route-static 10.0.0.128 25 10.0.255.26 上面这两条命令有什么区别吗?
引流给这个255.26的。
“ip route-static 10.0.3.0 24 Vlan-interface1000 10.0.255.26 ”
这句很明显了,把去往 10.0.3.0 24的IP网段地址的数据包抛给10.0.255.26,不过现在ping不通这个26了。检查互联的网络吧
(0)
请教下Vlan-interface1000 这个加上有什么意义吗?
vlan 1000是用来与10.0.255.26互联的地址
10.0.255.26ping不通,有可能是对端禁ping了,只要能看到255.26的dis arp就行了
(0)
PING -a 10.0.255.25 10.0.255.26
Ping 10.0.255.26 (10.0.255.26) from 10.0.255.25: 56 data bytes, press CTRL+C to break
56 bytes from 10.0.255.26: icmp_seq=0 ttl=64 time=1.729 ms
56 bytes from 10.0.255.26: icmp_seq=1 ttl=64 time=1.622 ms
56 bytes from 10.0.255.26: icmp_seq=2 ttl=64 time=1.495 ms
56 bytes from 10.0.255.26: icmp_seq=3 ttl=64 time=1.593 ms
56 bytes from 10.0.255.26: icmp_seq=4 ttl=64 time=1.470 ms
--- Ping statistics for 10.0.255.26 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.470/1.582/1.729/0.093 ms
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
ip route-static 10.0.0.128 25 Vlan-interface1024 10.0.255.26 ip route-static 10.0.0.128 25 10.0.255.26 上面这两条命令有什么区别吗?