千家论坛_智能建筑与智能家居技术交流社区

标题: 配置4506 [打印本页]

作者: osdiy    时间: 2004-11-6 08:40
标题: 配置4506

show run

! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption service compress-config ! hostname Switch ! enable secret 5 ! vtp mode transparent ip subnet-zero ! spanning-tree mode pvst spanning-tree extend system-id power dc input 2500 ! ! ! ! vlan 97 name fuwuqi ! vlan 98 name dianzi ! vlan 99 name bangongshi ! vlan 100 name huiwen ! vlan 200 name manager ! interface GigabitEthernet1/1 ! interface GigabitEthernet1/2 ! interface GigabitEthernet2/1 no switchport ip address 10.10.0.254 255.255.255.252 ! interface GigabitEthernet2/2 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet2/3 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet2/4 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet2/5 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet2/6 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet3/1 switchport access vlan dynamic switchport trunk encapsulation dot1q switchport trunk allowed vlan 97-100,200 switchport mode trunk ! interface GigabitEthernet3/2 ! interface GigabitEthernet3/3 ! interface GigabitEthernet3/4 ! interface GigabitEthernet3/5 ! interface GigabitEthernet3/6 ! interface Vlan1 no ip address ! interface Vlan97 ip address 192.168.3.1 255.255.255.0 ! interface Vlan98 ip address 10.10.36.1 255.255.255.0 no ip redirects ! interface Vlan99 ip address 10.10.7.1 255.255.255.0 no ip redirects ! interface Vlan100 ip address 192.168.0.1 255.255.255.0 ! interface Vlan200 ip address 172.168.1.1 255.255.255.0 ! ip classless ip route 0.0.0.0 0.0.0.0 10.10.0.253 no ip http server

—————————————————————————— show ip route

Gateway of last resort is 10.10.0.253 to network 0.0.0.0

172.168.0.0/24 is subnetted, 1 subnets C 172.168.1.0 is directly connected, Vlan200 10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks C 10.10.7.0/24 is directly connected, Vlan99 C 10.10.36.0/24 is directly connected, Vlan98 C 10.10.0.252/30 is directly connected, GigabitEthernet2/1 C 192.168.0.0/24 is directly connected, Vlan100 C 192.168.3.0/24 is directly connected, Vlan97 S* 0.0.0.0/0 [1/0] via 10.10.0.253

_____________________________________________________________

我想让10.10.36.1路由到10.10.7.1,请问如何配置啊? 本来是10.10.36.2-》10.10.36.1-》10.10.0.254 我的意思是10.10.36.2-》10.10.36.1-》10.10.7.1-》10.10.0.254

这样配置可以吗?没有办法的办法才这样想的,因为10.10.36.0的网速受到限制


作者: osdiy    时间: 2004-11-7 02:06

[attach]18757[/attach]

我的意思就是这样啊,我 想在4506上做虚网的 路由

让vlan98 10.10.36.0 的机器通过网关10.10.36.1 再指向vlan99的网关10.10.7.1,通过10.10.7.1出去,也就是让10.10.36.1的下一跳为10.10.7.1

10.10.36.1和10.10.7.1是都是在同一cisco4506上的

帮帮忙啊


作者: osdiy    时间: 2004-11-7 21:05

谢谢






欢迎光临 千家论坛_智能建筑与智能家居技术交流社区 (http://bbs.qianjia.com/) Powered by Discuz! X3.2