由于公司业务扩展,现想在原来的路由器上增加一个VLAN 5 IP10.0.5.1 24 做外网使用,在路由器上PING10.0.5.1是通的,但在交换机上也做VLAN 5相应的配置PING不通10.0.5.1网关,本人是菜鸟,现请高手指点,万分感谢!!!!!!!最好有细一点的配置方法。路由器上的配置如下:
******************************************************************************
* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:admin
Password:
% Login failed!
Username:admin
Password:
<H3C>dis cu #
version 5.20, Release 2104P02 #
sysname H3C #
domain default enable system
#
dns proxy enable #
telnet server enable #
dar p2p signature-file flash:/p2p_default.mtd #
vlan 1 #
radius scheme system #
domain system access-limit disable state active idle-cut disable self-service-url disable#
dhcp server ip-pool vlan1 extended network mask 255.255.255.0 #
user-group system #
local-user password cipher a= authorization-attribute level 3 service-type telnet local-user password cipher authorization-attribute level 2 service-type telnet service-type ftp service-type ppp #
cwmp undo cwmp enable #
interface Aux0 async mode flow link-protocol ppp #
interface NULL0 #
interface Vlan-interface1 undo dhcp select server global-pool dhcp server apply ip-pool vlan1 #
interface GigabitEthernet0/1 port link-mode route ip address 192.168.1.2 255.255.255.0 #
interface GigabitEthernet0/2 port link-mode route #
interface GigabitEthernet0/2.1 vlan-type dot1q vid 1 ip address 10.0.3.1 255.255.255.0 #
interface GigabitEthernet0/2.2 vlan-type dot1q vid 2 qos max-bandwidth 1000000 ip address 10.0.0.2 255.255.255.0 qos reserved-bandwidth pct 100 qos lr outbound cir 1000000 cbs 19375000 ebs 0 #
interface GigabitEthernet0/2.3 vlan-type dot1q vid 3 ip address 10.0.1.1 255.255.255.0 #
interface GigabitEthernet0/2.4 vlan-type dot1q vid 4 ip address 10.0.2.1 255.255.255.0 #
interface GigabitEthernet0/2.5 vlan-type dot1q vid 5 ip address 10.0.5.1 255.255.255.0
#
interface GigabitEthernet0/3 port link-mode route qos max-bandwidth 1000 qos reserved-bandwidth pct 100 qos lr outbound cir 1000 cbs 62500 ebs 0 #
interface GigabitEthernet0/0 port link-mode bridge #
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 #
load xml-configuration #
load tr069-configuration #
user-interface con 0
user-interface aux 0 user-interface vty 0 4
authentication-mode scheme #
return <H3C>
以上是路由器的,交换机和路由器的接口为TRUNK,允许所有VLAN 通过的。
(0)
最佳答案
其它的可以上的VLAN 段里的PC都可以PING 通10.0.5.1的,就VLAN 5里面的不能PING不通。
我的路由器是MSR 50-06
DEVICE-SERIAL-NUMBER 210235A35YB117000007
MANUFACTURING -DATE 2011-07-09
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论