Нужно подключить два Nesxus 5k в vPC домене к одному ISR G3 (4331), как это лучше сделать?
Пока на ум приходит только два варианта:
Вариант #1
ISR:
Код:
interface port-channel1
description to VPC N5K
ip address 10.10.10.1 255.255.255.248
ip nat inside
interface GigabitEthernet0/0/1
description to Nexus Switch 1
switchport mode trunk
channel-group 1
interface GigabitEthernet0/0/2
description to Nexus Switch 2
switchport mode trunk
channel-group 1
Nexus Switch 1:
Код:
!
interface vlan 10
description to ISR
ip address 10.10.10.2 255.255.255.248
!
interface port-channel1
description to ISR
switchport mode access
switchport access vlan 10
spanning-tree port type network
!
interface Ethernet1/1
switchport mode trunk
channel-group 1 mode on
!
ip route 0.0.0.0 0.0.0.0 10.10.10.1
Nexus Switch 2:
Код:
!
interface vlan 10
description to ISR
ip address 10.10.10.3 255.255.255.248
!
interface port-channel1
description to ISR
switchport mode access
switchport access vlan 10
spanning-tree port type network
!
interface Ethernet1/1
switchport mode trunk
channel-group 1 mode on
!
ip route 0.0.0.0 0.0.0.0 10.10.10.1
Вариант #2
ISR:
Код:
!
interface vlan 10
description to ISR
ip address 10.10.10.1 255.255.255.248
ip nat inside
!
interface GigabitEthernet0/0/1
description to Nexus Switch 1
switchport mode access
switchport access vlan 10
interface GigabitEthernet0/0/2
description to Nexus Switch 2
switchport mode access
switchport access vlan 10
Nexus Switch 1:
Код:
!
interface vlan 10
description to ISR
ip address 10.10.10.2 255.255.255.248
!
interface Ethernet1/1
switchport mode access
switchport access vlan 10
!
ip route 0.0.0.0 0.0.0.0 10.10.10.1
Nexus Switch 2:
Код:
!
interface vlan 10
description to ISR
ip address 10.10.10.3 255.255.255.248
!
interface Ethernet1/1
switchport mode access
switchport access vlan 10
ip route 0.0.0.0 0.0.0.0 10.10.10.1
Может кто уже делал подобное? Как лучше сделать?