ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 22(월) 실습 2 : eigrp, NAT, 권한지정(key chain), 루프백
    MY 교육수강/CCNA(8.16~26) 2011. 8. 22. 14:46
    실습2


    용어 정리
    eigrp : rip과 비슷한 개념으로, 라우터가 가지고 잇는 정보를 공유하는 역할을 한다.
    NAT : 사설IP를 공인IP로 바꿔주는 것.


    시험에 나오는 것
    1. eigrp 번호 변경하기
    2. 액세스리스트 관련
    3. nat 관련 설정하기 - inside outside 설정


    라우터1
    Router>
    Router>!
    Router>en
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#no ip domain-lookup
    Router(config)#line con 0
    Router(config-line)#logging synch
    Router(config-line)#exec-t 0 0
    Router(config-line)#exit
    Router(config)#ho R1
    R1(config)#
    R1(config)#int fa0/0
    R1(config-if)#ip add 192.168.1.1 255.255.255.0
    R1(config-if)#no sh

    %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

    R1(config-if)#
    R1(config-if)#
    R1(config-if)#exit
    R1(config)#
    R1(config)#int s0/0
    R1(config-if)#ip add 1.1.12.1 255.255.255.0
    R1(config-if)#clock rate 64000
    R1(config-if)#no sh

    %LINK-5-CHANGED: Interface Serial0/0, changed state to down
    R1(config-if)#
    R1(config-if)#exit
    R1(config)#
    R1(config)#int loop 1

    %LINK-5-CHANGED: Interface Loopback1, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

    R1(config-if)#
    R1(config-if)#
    R1(config-if)#ip add 210.210.10.1 255.255.255.0
    R1(config-if)#exit
    R1(config)#
    R1(config)#
    R1(config)#
    %LINK-5-CHANGED: Interface Serial0/0, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

    R1(config)#
    R1(config)#
    R1(config)#
    R1(config)#router eigrp 1
    R1(config-router)#no auto
    R1(config-router)#no auto-summary
    R1(config-router)#net 210.210.10.0
    R1(config-router)#net 1.1.12.0 0.0.0.255
    R1(config-router)#
    %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 1.1.12.2 (Serial0/0) is up: new adjacency

    R1(config-router)#exit
    R1(config)#
    R1(config)#
    R1(config)#
    R1(config)#
    R1(config)#ip nat pool ABC
    R1(config)#ip nat pool ABC 210.210.10.1 210.210.10.1 netmask 255.255.255.0
    R1(config)#ip nat inside source list 30 pool ABC overload
    R1(config)#access-list 30 permit 192.168.1.0 0.0.0.255
    R1(config)#
    R1(config)#
    R1(config)#int fa0/0
    R1(config-if)#ip nat inside
    R1(config-if)#exit
    R1(config)#
    R1(config)#
    R1(config)#int s0/0
    R1(config-if)#ip nat outside
    R1(config-if)#exit
    R1(config)#
    R1(config)#
    R1(config)#
    R1(config)#show ip nat tra
    R1(config)#show ip nat translations
                ^
    % Invalid input detected at '^' marker.
     
    R1(config)#show ip nat translation
                ^
    % Invalid input detected at '^' marker.
     
    R1(config)#show ip nat translations
                ^
    % Invalid input detected at '^' marker.
     
    R1(config)#do show ip nat translations
    Pro  Inside global     Inside local       Outside local      Outside global
    udp 210.210.10.1:1025  192.168.1.2:1025   210.210.20.2:53    210.210.20.2:53
    udp 210.210.10.1:1026  192.168.1.2:1026   210.210.20.2:53    210.210.20.2:53
    udp 210.210.10.1:1027  192.168.1.2:1027   210.210.20.2:53    210.210.20.2:53
    tcp 210.210.10.1:1025  192.168.1.2:1025   210.210.20.3:80    210.210.20.3:80
    tcp 210.210.10.1:1026  192.168.1.2:1026   210.210.20.3:80    210.210.20.3:80
    tcp 210.210.10.1:1027  192.168.1.2:1027   210.210.20.3:80    210.210.20.3:80

    R1(config)#



    라우터2
    Router>!
    Router>en
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#no ip domain-lookup
    Router(config)#line con 0
    Router(config-line)#logging synch
    Router(config-line)#exec-t 0 0
    Router(config-line)#exit
    Router(config)#ho R2
    R2(config)#
    R2(config)#int s0/0
    R2(config-if)#ip add 1.1.12.2 255.255.255.0
    R2(config-if)#no sh

    %LINK-5-CHANGED: Interface Serial0/0, changed state to up

    R2(config-if)#
    R2(config-if)#
    R2(config-if)#eit
                   ^
    % Invalid input detected at '^' marker.
     
    R2(config-if)#exit
    R2(config)#
    R2(config)#int s
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

    R2(config)#int s0/1
    R2(config-if)#ip add 1.1.23.2 255.255.255.0
    R2(config-if)#clock rate 64000
    R2(config-if)#no sh

    %LINK-5-CHANGED: Interface Serial0/1, changed state to down
    R2(config-if)#exit
    R2(config)#
    R2(config)#
    %LINK-5-CHANGED: Interface Serial0/1, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

    R2(config)#
    R2(config)#
    R2(config)#
    R2(config)#
    R2(config)#router eigrp 1
    R2(config-router)#no auto
    R2(config-router)#net 1.1.12.0 0.0.0.255
    R2(config-router)#net 1.1.23.0 0.0.0.255
    R2(config-router)#
    %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 1.1.23.3 (Serial0/1) is up: new adjacency

    R2(config-router)#
    R2(config-router)#
    R2(config-router)#
    R2(config-router)#exit
    R2(config)#
    R2(config)#
    R2(config)#
    %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 1.1.12.1 (Serial0/0) is up: new adjacency

    R2(config)#



    라우터3
    Router>!
    Router>en
    Router#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#no ip domain-lookup
    Router(config)#line con 0
    Router(config-line)#logging synch
    Router(config-line)#exec-t 0 0
    Router(config-line)#exit
    Router(config)#ho R3
    R3(config)#
    R3(config)#int s0/1
    R3(config-if)#ip add 1.1.23.3 255.255.255.0
    R3(config-if)#no sh

    %LINK-5-CHANGED: Interface Serial0/1, changed state to up

    R3(config-if)#
    R3(config-if)#
    R3(config-if)#exit
    R3(config)#
    R3(config)#int fa0/0
    R3(config-if)#
    %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

    R3(config-if)#ip add 210.210.20.1 255.255.255.0
    R3(config-if)#exit
    R3(config)#int fa0/0
    R3(config-if)#no sh

    %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

    R3(config-if)#
    R3(config-if)#exit
    R3(config)#
    R3(config)#
    R3(config)#
    R3(config)#
    R3(config)#
    R3(config)#
    R3(config)#router eigerp 1
                         ^
    % Invalid input detected at '^' marker.
     
    R3(config)#router eigrp 1
    R3(config-router)#no auto
    R3(config-router)#no auto-summary
    R3(config-router)#net 210.210.20.0
    R3(config-router)#net 1.1.23.0 0.0.0.255
    R3(config-router)#exit
    R3(config)#
    R3(config)#
    R3(config)#
    R3(config)#
    %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 1.1.23.2 (Serial0/1) is up: new adjacency

    R3(config)#
    R3(config)#
    R3(config)#













Designed by Tistory.