Contents

Ex.축약 & 재분배

   Jan 4, 2023     2 min read

Ex.Build Up

1


01.방법.



  1. ip 주소 적기

  2. network

  3. DHCP Client, PAT 공인 주소
    R4)
     ip dhcp pool ciso 1
     network 223.255.255.0 255.255.255.0
     default-router 223.255.255.254
     ip dhcp excluded-address 223.255.255.254
    
     ip nat pool cisco 192.168.40.254 192.168.40.254 netmask 255.255.255.0
     access-list 10 permit 223.255.255.0 0.0.0.255
     ip nat inside source list 10 pool cisco overload
    
     interface e0/0
     ip nat inside
     interface s1/0
     ip nat outside
     interface s1/1
     ip nat outside
    
  4. 축약
R1)
    interface s1/0
    ip summary-address rip 193.168.10.0 255.255.255.0

R5)
    interface s1/0
    ip summary-address eigrp 100 194.168.50.0 255.255.254.0

R7)
    router ospf 1
    area 70 range 196.168.70.0 255.255.254.0

R8)
    router ospf 1
    area 80 range 195.168.80.0 255.255.254.0




02. 결과



2

3
R1 축약 확인 완.

R4)
4
축약 확인 완.

R5)
5

6

7

8


03. 오류.


  • ping 안 감 -> 재분배 안 함.


04. 오류 해결.


R5)
interface s1/0
ip summary-address eigrp 100 222.175.0.0 255.255.0.0

R8)
router ospf 1
summary0address 211.175.0.0 255.255.0.0



04. 결과.


9

10

11

12

13

14

15

16

17

18


05. 오류.


19

  • 223.255.255.254는 eigrp 가 아님.
  • DHCP Client에서는 밖으로 ping이 가야 됨. / 밖에서 회사 내부로는 ping이 되면 안 됨.


06. 결과.



20

21

22

23

24

25

26

27

28

29

30