보안세상
패킷트레이서를 이용한 HSRP 구성 및 라우팅(HSRP configuration and routing using packet tracer) 본문
패킷트레이서를 이용한 HSRP 구성 및 라우팅(HSRP configuration and routing using packet tracer)
똔민 2017. 7. 5. 15:06사진상에서는 switch7이 shutdown상태인데 게시한 파일은 no shut 상태고 통신 이상없습니다.~
switch6 config 입니다~
---------------------------
Building configuration...
Current configuration : 2300 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
no switchport
ip address 10.10.110.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/3
no switchport
no ip address
duplex auto
speed auto
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0001.6337.6401
ip address 10.10.10.3 255.255.255.0
standby 1 ip 10.10.10.254
standby 1 priority 150
standby 1 preempt
!
interface Vlan20
mac-address 0001.6337.6402
ip address 10.10.20.3 255.255.255.0
standby 2 ip 10.10.20.254
standby 2 priority 50
standby 2 preempt
!
router ospf 10
log-adjacency-changes
!
ip classless
ip route 1.1.1.0 255.255.255.252 FastEthernet0/1
ip route 1.1.1.4 255.255.255.252 FastEthernet0/1
ip route 1.1.1.8 255.255.255.252 FastEthernet0/1
ip route 10.10.40.0 255.255.255.0 FastEthernet0/1
ip route 10.10.50.0 255.255.255.0 FastEthernet0/1
ip route 10.10.60.0 255.255.255.0 FastEthernet0/1
ip route 10.10.100.0 255.255.255.0 FastEthernet0/1
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
ip route 10.10.30.0 255.255.255.0 FastEthernet0/1
ip route 10.10.90.0 255.255.255.0 FastEthernet0/1
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
switch7 config 입니다~
---------------------------
Building configuration...
Current configuration : 2277 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
!
!
!
!
!
!
ip routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
no switchport
ip address 10.10.120.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/3
no switchport
no ip address
duplex auto
speed auto
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0040.0b56.4801
ip address 10.10.10.4 255.255.255.0
standby 1 ip 10.10.10.254
standby 1 priority 50
standby 1 preempt
!
interface Vlan20
mac-address 0040.0b56.4802
ip address 10.10.20.4 255.255.255.0
standby 2 ip 10.10.20.254
standby 2 priority 150
standby 2 preempt
!
router ospf 10
log-adjacency-changes
network 10.10.10.0 0.0.0.255 area 10
!
ip classless
ip route 1.1.1.0 255.255.255.252 FastEthernet0/2
ip route 1.1.1.4 255.255.255.252 FastEthernet0/2
ip route 1.1.1.8 255.255.255.252 FastEthernet0/2
ip route 10.10.40.0 255.255.255.0 FastEthernet0/2
ip route 10.10.50.0 255.255.255.0 FastEthernet0/2
ip route 10.10.60.0 255.255.255.0 FastEthernet0/2
ip route 10.10.100.0 255.255.255.0 FastEthernet0/2
ip route 10.10.30.0 255.255.255.0 FastEthernet0/2
ip route 10.10.90.0 255.255.255.0 FastEthernet0/2
ip route 0.0.0.0 0.0.0.0 FastEthernet0/2
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
'공부 > 네트워크' 카테고리의 다른 글
[cisco switch] voice vlan 설정 관련 명령어 (0) | 2020.07.14 |
---|---|
VTP역할 및 vlan,trunk,native vlan은 왜 쓸까?? (3) | 2017.11.06 |
IEEE란? 각 하위 계층의 표준화 관련 (0) | 2017.06.28 |
패킷트레이서를 활용한 L3스위치(3560-24PS) VLAN 및 STATIC 라우팅 설정 (0) | 2017.05.25 |
공유기 초기 비밀번호 모음 (1) | 2017.05.25 |