22.06.24[Cisco Nexus] L3 Routing

김스타·2022년 6월 24일
0

Cisco Nexus

목록 보기
8/9

L3 Routing Topology

0 단계

nexus 기능활성화

routing protocol 기능을 살림

vrf 삼중화(생성)

interface no스위치포트 선언(L3 port)

1단계

전부 설정

int e1/1, e1/4
vrf member static
int e1/2, e1/5
vrf member eigrp
int e1/3, e1/6
vrf member ospf

int e1/1-3
ip add 192.168.1.1/24
no sh
int e1/4-6
ip add 1.1.12.1/24
no sh

int e1/1-3
ip add 1.1.12.2/24
no sh
int e1/4-6
ip add 172.16.23.2/24
no sh

int e1/1-3
ip add 172.16.23.3/24
no sh
int e1/4-6
ip add 2.2.34.3/24
no sh

int e1/1-3
ip add 2.2.34.4/24
no sh
int e1/4-6
ip add 192.168.4.1/24
no sh

2단계

라우팅 프로토콜 설정 완료

N9K1,2

int e1/2, e1/5
ip router eigrp 1
int e1/3, e1/6
ip router ospf 1 area 0

N9K3

int e1/2, e1/5
ip router eigrp 1
int e1/3
ip router ospf 1 area 0
int e1/6
ip router ospf 1 area 1

N9K4

int e1/2, e1/5
ip router eigrp 1
int e1/3, e1/6
ip router ospf 1 area 1

신나는 스테틱 루트 설정

N9K1

vrf context static
ip route 192.168.1.0 255.255.255.0 192.168.1.100
ip route 0.0.0.0 0.0.0.0 1.1.12.2 (next-hop)

N9K4

vrf context static
ip route 192.168.4.0 255.255.255.0 192.168.4.100
ip route 0.0.0.0 0.0.0.0 2.2.34.3 (next-hop)

정말 신나는 스테틱 설정~~

N9K2

vrf context static
ip route 192.168.1.0 255.255.255.0 1.1.12.1
ip route 192.168.4.0 255.255.255.0 172.16.23.3
ip route 2.2.34.0 255.255.255.0 172.16.23.3

N9K3

vrf context static
ip route 192.168.1.0 255.255.255.0 172.16.23.2
ip route 192.168.4.0 255.255.255.0 2.2.34.4
ip route 1.1.12.0 255.255.255.0 172.16.23.2

* ip route

테이블이 있어서 목적지 설정만 함.

Ping Test

Show ip route vrf ospf

Show ip route vrf eigrp

Show ip route vrf static

0개의 댓글