关于VLAN间路由时,不同网段的机器通讯问题(2)
        
        
		
  
  WS-X5302路由模块设置: 
  
  Router#wri t 
  
  Building configuration... 
  
  Current configuration: 
  
  ! 
  
  version 11.2 
  
  no service password-encryption 
  
  no service udp-small-servers 
  
  no service tcp-small-servers 
  
  ! 
  
  hostname Router 
  
  ! 
  
  enable secret 5 $1$w1kK$AJK69fGOD7BqKhKcSNBf6. 
  
  ! 
  
  ip subnet-zero 
  
  ! 
  
  interface Vlan1 
  
   ip address 10.230.2.56 255.255.255.0 
  
  ! 
  
  interface Vlan777 
  
   ip address 10.230.3.56 255.255.255.0 
  
  ! 
  
  interface Vlan888 
  
   ip address 10.230.4.56 255.255.255.0 
  
  ! 
  
  no ip classless 
  
  ! 
  
  line con 0 
  
  line aux 0 
  
  line vty 0 4 
  
   password router 
  
   login 
  
  ! 
  
  end 
  
  Router# 
  
  3.1. 例二: 
  
  交换设备仍选用Catalyst5500交换机1台,安装WS-X5530-E3管理引擎,多块WS-X5225R在交换机内划有3个虚拟网,分别名为default、qbw、rgw,通过Cisco3640路由器实现虚拟网间路由。交换机设置与例一类似。 
  
  路由器Cisco3640,配有一块NM-1FE-TX模块,此模块带有一个快速以太网接口可以支持ISL。Cisco3640快速以太网接口与交换机上的某一支持ISL的端口实现连接,如交换机第3槽第1个接口(3/1口)。 
  
  Router#wri t 
  
  Building configuration... 
  
  Current configuration: 
  
  ! 
  
  version 11.2 
  
  no service password-encryption 
  
  no service udp-small-servers 
  
  no service tcp-small-servers 
  
  ! 
  
  hostname Router 
  
  ! 
  
  enable secret 5 $1$w1kK$AJK69fGOD7BqKhKcSNBf6. 
  
  ! 
  
  ip subnet-zero 
  
  ! 
  
  interface FastEthernet1/0 
  
  ! 
  
  interface FastEthernet1/0.1 
  
   encapsulation isl 1 
  
   ip address 10.230.2.56 255.255.255.0 
  
  ! 
  
  interface FastEthernet1/0.2 
  
  encapsulation isl 777 
  
   ip address 10.230.3.56 255.255.255.0 
  
  ! 
  
  interface FastEthernet1/0.3 
  
   encapsulation isl 888 
  
   ip address 10.230.4.56 255.255.255.0 
  
  ! 
  
  no ip classless 
  
  ! 
  
  line con 0 
  
  line aux 0 
  
  line vty 0 4 
  
   password router 
  
   login 
  
  ! 
  
  end 
  
  Router# 
  
        
        
        
        
        
        
        
        
		声明:中国IT运维网登载此文出于传递更多信息之目的,并不意味着本站赞同其观点或证实其描述。其原创性以及文中陈述
文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或
承诺,请网友及读者仅作参考,并请自行核实相关内容。如原作者不同意在本网站刊登内容,请及时通知本站予以删除。凡本网站注明"来源:中国IT运维网"的作品,在授权范围内使用时,请保留注明"来源:中国IT运维网"。