老师 小年好,我用的是H3CS3600三层交换机 + 华为路由 A1 Lite,我在交换机上划分了VLAN:
VLAN ID: 2 VLAN Type: static Route Interface: configured
IP Address: 192.168.5.254 Subnet Mask: 255.255.255.0 Description: VLAN 0002 Name: VLAN 0002 Tagged Ports: none Untagged
Ports: Ethernet1/0/3 Ethernet1/0/4
VLAN ID: 3 VLAN Type: static Route Interface: not configured Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged
Ports: Ethernet1/0/23 Ethernet1/0/24
我把客户机插在vlan2上,网址:192.168.5.5,网关设为IP Address: 192.168.5.254,将路由器接出来的网线插到vlan3的24口,华为路由器的登陆地址是 192.168.3.1,并在交换机作了路由
[H3C]ip route 0.0.0.0 0.0.0.0 192.168.3.1
可是现在客户机死活就是不通,上不去网,请老师指教我哪里错了,感谢您!
H3CS3600三层交换机 + 华为路由 A1 Lite,我在交换机上划分了VLAN:
VLAN ID: 2 VLAN Type: static Route Interface: configured
IP Address: 192.168.5.254 Subnet Mask: 255.255.255.0 Description: VLAN 0002 Name: VLAN 0002 Tagged Ports: none Untagged
Ports: Ethernet1/0/3 Ethernet1/0/4
VLAN ID: 3 VLAN Type: static Route Interface: not configured Description: VLAN 0003 Name: VLAN 0003 Tagged Ports: none Untagged
Ports: Ethernet1/0/23 Ethernet1/0/24
华为路由 A1 Lite 上网并接出一根线到交换机上,客户机在交换机上,交换机直接不划分 vlan用没有问题,客户机自动获取IP可以上网
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
客户机就是笔记本电脑,华为有路由,客户机能ping通交换机
产品名称 华为路由 A1 Lite 序列号 S6J8W16C03000699 软件版本 1.8.2 上网时长 0 天 12 小时 0 分钟 运行时间 0 天 12 小时 0 分钟 LAN MAC 地址 84:9F:B5:DD:ED:08 LAN IP 192.168.3.1 WAN MAC 地址 84:9F:B5:DD:ED:09 WAN IP 10.0.22.2 默认网关 10.0.22.1
客户机可以ping通华为路由器以及公网地址吗?如果不通,可以抓包看丢在哪里了。
ping不通,我应该是不会设置,老师我应该怎么设置阿
[H3C]ip route 0.0.0.0 0.0.0.0 192.168.3.2 这样设置对吗
那就是华为上没有明细路由啊,华为上写跳到PC的明细路由指向S3600
[H3C]ip route-static 0.0.0.0 0.0.0.0 192.168.3.1 Warning: Duplicate gateway or interface [H3C]
应该怎么写啊老师
[H3C]ip route 192.168.5.0 24 192.168.3.2
<H3C> %Apr 2 13:31:58:935 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login <H3C>sys System View: return to User View with Ctrl+Z. [H3C]ip route 192.168.5.0 24 192.168.3.2 Error:Invalid next-hop address 老师 我老提示这个错误啊