w takiej konfiguracji:
Czy połączenie pomiędzy switchami 3560 a routerami 2811 powinienem zrobić jako L3? Czy może na SVI?
Switche 3560 to L3, na nich jest inter-routing vlan.
Vlan5 - zarządzanie
Vlan2 - użytkownicy
Uruchomione HSRP pomiędzy Switchami 3560 i pomiędzy routerami 2811.
Config sw1:
Kod: Zaznacz cały
ip routing
!
!
spanning-tree mode rapid-pvst
!
interface FastEthernet0/1
description to_R0
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/2
description to_R1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/20
description to_sw2
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
interface FastEthernet0/24
description to_sw2950
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.5.11 255.255.255.0
standby version 2
standby 10 ip 192.168.5.10
standby 10 priority 120
standby 10 preempt
!
interface Vlan2
ip address 192.168.2.2 255.255.255.0
standby version 2
standby 12 ip 192.168.2.1
standby 12 priority 120
standby 12 preempt
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.5.15
Kod: Zaznacz cały
ip routing
!
!
spanning-tree mode rapid-pvst
!
interface FastEthernet0/1
description to_R0
switchport trunk encapsulation dot1q
switchport mode trunk
interface FastEthernet0/2
description to_R1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/20
description to_sw1
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
interface FastEthernet0/24
description to_sw2950
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.5.12 255.255.255.0
standby version 2
standby 10 ip 192.168.5.10
standby 10 priority 100
standby 10 preempt
!
interface Vlan2
ip address 192.168.2.3 255.255.255.0
standby version 2
standby 12 ip 192.168.2.1
standby 12 priority 100
standby 12 preempt
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.5.15
Ro:
Kod: Zaznacz cały
interface FastEthernet0/3/0
switchport mode trunk
!
interface FastEthernet0/3/1
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.5.16 255.255.255.0
standby version 2
standby 11 ip 192.168.5.15
standby 11 priority 120
standby 11 preempt
!
ip classless
ip route 0.0.0.0 0.0.0.0 8.8.8.8
ip route 192.168.2.0 255.255.255.0 192.168.5.10
Kod: Zaznacz cały
interface FastEthernet0/3/0
switchport mode trunk
!
interface FastEthernet0/3/1
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.5.17 255.255.255.0
standby version 2
standby 11 ip 192.168.5.15
standby 11 priority 100
standby 11 preempt
!
ip classless
ip route 0.0.0.0 0.0.0.0 8.8.8.8
ip route 192.168.2.0 255.255.255.0 192.168.5.10