在CISCO上做单臂路由
version 12.2 no service password-encryption!
hostname r1
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 10.1.1.254 255.255.255.0
!
interface FastEthernet0/0.10
encapsulation dot1Q 10
ip address 10.1.2.254 255.255.255.0
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
ip> !
!
!
!
!
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
login
!
!
end
页:
[1]