三层交换机划分了 vlan 20、30、40三个VLAN ,怎么配置才能不通过其他设备实现三个VLAN间互访?
网关都在三层路由器 已经配置了DHCP 地址也可以获取
(0)
最佳答案
只要终端网关指向交换机上的同网段地址,就能互访,本身配了接口地址是有直连路由的
(0)
自动获取的呀~ DHCP设置的默认网关就是253
不是同网段啊 网关分别是192.168.20.253 192.168.30.253 192.168.40.253 。IP地址分配也是3个网段的
是每个终端指向自己网段的网关,20.10指向20.253,30.10指向30.253,因为两个253都在同一台交换机上,所以可以通过直连路由互访
<H3C> <H3C>%Jan 1 20:27:24:407 2013 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0. <H3C>sys System View: return to User View with Ctrl+Z. [H3C]dis vlan Total VLANs: 5 The VLANs include: 1(default), 41, 61, 71, 2000 [H3C]dis vlan 61 VLAN ID: 61 VLAN type: Static Route interface: Configured IPv4 address: 192.168.61.253 IPv4 subnet mask: 255.255.255.0 Description: VLAN 0061 Name: VLAN 0061 Tagged ports: None Untagged ports: GigabitEthernet1/0/16 GigabitEthernet1/0/17 GigabitEthernet1/0/18 GigabitEthernet1/0/19 [H3C]ping 192.168.41.253 Ping 192.168.41.253 (192.168.41.253): 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 192.168.41.253 --- 5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss [H3C]%Jan 1 20:28:06:092 2013 H3C PING/6/PING_STATISTICS: Ping statistics for 192.168.41.253: 5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss. [H3C]ping 192.168.61.253 Ping 192.168.61.253 (192.168.61.253): 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 192.168.61.253 --- 5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss [H3C]%Jan 1 20:28:31:260 2013 H3C PING/6/PING_STATISTICS: Ping statistics for 192.168.61.253: 5 packet(s) transmitted, 0 packet(s) received, 100.0% packet loss.
只能ping 的同自己所在VLAN的网关 ping其他vlan的网关ping不通
自动获取的呀~ DHCP设置的默认网关就是253
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
嗯 嗯 没办法截图 但是真的ping 不通