본문 바로가기

컴퓨터 과학 & 영상처리 관련/네트워크 프로토콜

111205 - redistribute & access list





## hq 설정
conf t
router ospf 1
network 10.1.20.0 0.0.0.7 area 0

router eigrp 1
no auto-summary
network 10.1.30.0 0.0.0.7
end

## Redistribute config

conf t
router ospf 1
redistribute eigrp 1 subnets

router eigrp 1
redistribute ospf 1 metric 1000 100 255 1 1500
end

//k1 대역폭 k3 딜레이
//eigrp 메트릭값 k상수 5개 직접 지정해줌 이번엔 임의의값


## r1 라우터 설정 opspf

conf t
router ospf 1
network 172.16.10.0 0.0.0.255 area 0
network 10.1.12.0 0.0.0.7 area 0
end


## r2 라우터 설정 ospf
conf t
router ospf 1
network 10.1.12.0 0.0.0.7 area 0
network 10.1.20.0 0.0.0.7 area 0
network 172.16.20.1 0.0.0.255
end

 

## r3,r4 egirp 설정

conf t
router eigrp 1
no auto-summary
network 10.1.30.0 0.0.0.7
network 10.1.34.0 0.0.0.7
network 172.16.30.1 0.0.0.255
end

conf t
router eigrp 1
no auto-summary
network 10.1.34.0 0.0.0.7
network 172.16.40.1 0.0.0.255

 

 

 


EX...170..외부 eigrp 맞음

 

hq

Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback1
     10.0.0.0/29 is subnetted, 4 subnets
O       10.1.12.0 [110/128] via 10.1.20.2, 00:35:53, Serial1/0
C       10.1.20.0 is directly connected, Serial1/0
C       10.1.30.0 is directly connected, Serial1/1
D       10.1.34.0 [90/21024000] via 10.1.30.3, 00:36:08, Serial1/1
     172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
O       172.16.10.0/24 [110/129] via 10.1.20.2, 00:35:53, Serial1/0
O       172.16.20.1/32 [110/65] via 10.1.20.2, 00:35:53, Serial1/0
D       172.16.30.0/24 [90/20640000] via 10.1.30.3, 00:36:08, Serial1/1
D       172.16.40.0/24 [90/21152000] via 10.1.30.3, 00:36:05, Serial1/1
HQ#

 


r1
     10.0.0.0/29 is subnetted, 4 subnets
C       10.1.12.0 is directly connected, Serial1/1
O       10.1.20.0 [110/128] via 10.1.12.2, 00:24:55, Serial1/1
O E2    10.1.30.0 [110/20] via 10.1.12.2, 00:00:52, Serial1/1
O E2    10.1.34.0 [110/20] via 10.1.12.2, 00:00:52, Serial1/1
     172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C       172.16.10.0/24 is directly connected, FastEthernet0/0
O       172.16.20.1/32 [110/65] via 10.1.12.2, 00:24:55, Serial1/1
O E2    172.16.30.0/24 [110/20] via 10.1.12.2, 00:00:52, Serial1/1
O E2    172.16.40.0/24 [110/20] via 10.1.12.2, 00:00:52, Serial1/1
R1#

     10.0.0.0/29 is subnetted, 4 subnets
D EX    10.1.12.0 [170/21049600] via 10.1.34.3, 00:01:16, Serial1/1
D EX    10.1.20.0 [170/21049600] via 10.1.34.3, 00:01:16, Serial1/1
D       10.1.30.0 [90/21024000] via 10.1.34.3, 00:37:15, Serial1/1
C       10.1.34.0 is directly connected, Serial1/1
     172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
D EX    172.16.10.0/24 [170/21049600] via 10.1.34.3, 00:01:16, Serial1/1
D EX    172.16.20.1/32 [170/21049600] via 10.1.34.3, 00:01:16, Serial1/1
D       172.16.30.0/24 [90/20640000] via 10.1.34.3, 00:37:15, Serial1/1
C       172.16.40.0/24 is directly connected, Loopback1
R4#
R4#

 


     10.0.0.0/29 is subnetted, 4 subnets
D EX    10.1.12.0 [170/20537600] via 10.1.30.5, 00:01:14, Serial1/0
D EX    10.1.20.0 [170/20537600] via 10.1.30.5, 00:01:14, Serial1/0
C       10.1.30.0 is directly connected, Serial1/0
C       10.1.34.0 is directly connected, Serial1/1
     172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
D EX    172.16.10.0/24 [170/20537600] via 10.1.30.5, 00:01:14, Serial1/0
D EX    172.16.20.1/32 [170/20537600] via 10.1.30.5, 00:01:14, Serial1/0
C       172.16.30.0/24 is directly connected, Loopback1
D       172.16.40.0/24 [90/20640000] via 10.1.34.4, 00:37:13, Serial1/1
R3#

 

 

     10.0.0.0/29 is subnetted, 4 subnets
C       10.1.12.0 is directly connected, Serial1/1
C       10.1.20.0 is directly connected, Serial1/0
O E2    10.1.30.0 [110/20] via 10.1.20.5, 00:01:23, Serial1/0
O E2    10.1.34.0 [110/20] via 10.1.20.5, 00:01:23, Serial1/0
     172.16.0.0/24 is subnetted, 4 subnets
O       172.16.10.0 [110/65] via 10.1.12.1, 00:37:04, Serial1/1
C       172.16.20.0 is directly connected, Loopback1
O E2    172.16.30.0 [110/20] via 10.1.20.5, 00:01:23, Serial1/0
O E2    172.16.40.0 [110/20] via 10.1.20.5, 00:01:23, Serial1/0
R2#

'컴퓨터 과학 & 영상처리 관련 > 네트워크 프로토콜' 카테고리의 다른 글

111219 - access list  (0) 2011.12.19
show ip route  (0) 2011.12.11
111121 - redistribute & access-list  (3) 2011.11.21
111121 - ospf multi  (0) 2011.11.21
111114 ospf  (0) 2011.11.14