发新话题
打印

[求助] 哪位大侠帮忙解决一下“通过路由器实现VLAN之间通信”的问题吧!

哪位大侠帮忙解决一下“通过路由器实现VLAN之间通信”的问题吧!

哪位大侠帮忙解决一下“通过路由器实现VLAN之间通信”的问题吧!
因为急着要谢谢了啊~!!!

TOP

加三层交换或者用路由器实现单臂路由!
IT动力源欢迎您

TOP

单臂路由的配置实例



2600 IOS需求:IP Plus (c2600-ik8s-mz-122.15.T.bin)


Current configuration:
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname c2600
!
no logging console
enable password mysecret
!
!
!
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation isl 1
ip address 10.10.10.1 255.255.255.0
no ip redirects
!

!-- If 802.1Q is configured,
!-- you will instead see the following output
!-- under interface FastEthernet0/0.1:
!-- interface FastEthernet0/0.1
!-- encapsulation dot1Q 1 native
!-- ip address 10.10.10.1 255.255.255.0

!
!
interface FastEthernet0/0.2
encapsulation isl 2
ip address 10.10.11.1 255.255.255.0
no ip redirects
!

!-- If 802.1Q is configured,
!-- you will instead see the following output
!-- under interface FastEthernet0/0.2:
!-- interface FastEthernet0/0.2
!-- encapsulation dot1Q 2
!-- ip address 10.10.11.1 255.255.255.0

!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip classless
no ip http server
!
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password mysecret
login
!
no scheduler allocate
end

TOP

吖?图片怎么没传上去???怎么传图片啊?

TOP

不好意思啊兄弟,找了半天也没弄清怎么把拓扑图给你贴上来

TOP

CISCO2621路由 f0/0 接口与 CATALYST3512交换的 f0/1 相连
交换机f0/2 与 PC1(10.10.11.3/24  属于VLAN2)相连
f0/3 与 PC2(10.10.10.3/24  属于VLAN1)相连

不好意思,图片不知道怎么上传,只能这样给你描述了

TOP

以上只给出了路由的配置,关于交换上记得要在与路由相连的端口起TRUNK

TOP

发新话题