본문 바로가기

NetWork

encapsulation ppp 3교시

 

 

R3와 R4 연결후 기본 설정하기

R3

 

19일_3교시.pkt

교육3일자료_3교시ppp.txt


R3>en
R3#
R3#config t
R3(config)#int se0/0
R3(config-if)#ip address 193.70.90.201 255.255.255.252
R3(config-if)#no shutdown
R3(config-if)#

 

R4

 

Router>en
Router#config t
Router(config)#hostname R4
R4(config)#
R4(config)#int se0/1
R4(config-if)#ip address 193.70.90.202 255.255.255.252
R4(config-if)#no shutdown
R4(config-if)#end

R4#config t
R4(config)#int fa0/0
R4(config-if)#ip address 193.70.90.129 255.255.255.224
R4(config-if)#no shutdown
R4(config-if)#end


R4#

R1

 

R1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID    Local Intrfce   Holdtme    Capability   Platform    Port ID
Switch       Fas 0/0          164            S       2960        Fas 0/1
R2           Ser 0/0          170            R       C2600       Ser 0/1
R1#

R1#debug ip rip
RIP protocol debugging is on
R1#RIP: sending  v2 update to 224.0.0.9 via Serial0/0 (193.70.90.193)
RIP: build update entries
      193.70.90.0/27 via 0.0.0.0, metric 1, tag 0

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

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
RIP: sending  v2 request to 224.0.0.9 via Serial0/0 (193.70.90.193)
RIP: sending  v2 update to 224.0.0.9 via Serial0/0 (193.70.90.193)
RIP: build update entries
      193.70.90.0/27 via 0.0.0.0, metric 1, tag 0

R1#un all
All possible debugging has been turned off
R1#
R1(config)#router rip
R1(config-router)#pass
R1(config-router)#passive-interface fa0/0
R1(config-router)#pass
R1(config-router)#passive-interface s0/0
R1(config-router)#
R1(config-router)#end
R1#
R1#clear ip route *
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 3 subnets, 3 masks
C       193.70.90.0/27 is directly connected, FastEthernet0/0
C       193.70.90.192/30 is directly connected, Serial0/0
C       193.70.90.194/32 is directly connected, Serial0/0
R1#
R1#config t
R1(config)#router rip
R1(config-router)#no pass
R1(config-router)#no passive-interface s0/0
R1(config-router)#
R1(config-router)#exit
R1(config)#end
R1#
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 3 subnets, 3 masks
C       193.70.90.0/27 is directly connected, FastEthernet0/0
C       193.70.90.192/30 is directly connected, Serial0/0
C       193.70.90.194/32 is directly connected, Serial0/0
R1#
R1#show interfaces s0/0
Serial0/0 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 193.70.90.193/30
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open
  Open: IPCP, CDPCP
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1158 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 13 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     53 packets output, 2756 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#
R1(config)#int s0/0
R1(config-if)#enc
R1(config-if)#encapsulation ppp
R1(config-if)#
R1(config-if)#do show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 3 subnets, 3 masks
C       193.70.90.0/27 is directly connected, FastEthernet0/0
C       193.70.90.192/30 is directly connected, Serial0/0
C       193.70.90.194/32 is directly connected, Serial0/0

R1(config-if)#

R1(config-if)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#config t
R1(config)#usern
R1(config)#username R2 password cisco
R1(config)#

R1(config)#int s0/0
R1(config-if)#ppp authentication pap
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

R1(config-if)#ppp pap ?
  sent-username  Set outbound PAP username
R1(config-if)#ppp pap sent-username R1 password cisco

 

R2

 

R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 4 subnets, 2 masks
C       193.70.90.32/27 is directly connected, FastEthernet0/0
R       193.70.90.64/27 [120/1] via 193.70.90.198, 00:00:09, Serial0/0
C       193.70.90.196/30 is directly connected, Serial0/0
R       193.70.90.200/30 [120/1] via 193.70.90.198, 00:00:09, Serial0/0

R2#
R2#clear ip route *
R2#clear ip route *
R2#
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 4 subnets, 2 masks
C       193.70.90.32/27 is directly connected, FastEthernet0/0
R       193.70.90.64/27 [120/1] via 193.70.90.198, 00:00:25, Serial0/0
C       193.70.90.196/30 is directly connected, Serial0/0
R       193.70.90.200/30 [120/1] via 193.70.90.198, 00:00:25, Serial0/0

R2#
R2#config t
R2(config)#router rip
R2(config-router)#passive-interface s0/1
R2(config-router)#
R2(config-router)#end
R2(config)#username R1 password cisco
R2(config)#
R2(config)#int s0/1
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-username R2 password cisco
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R2(config-if)#
R2(config-if)#end
R2#
R2#config t
R2(config)#int s0/1
R2(config-if)#encapsulation ppp
R2(config-if)#
R2(config-if)#end
R2#
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 7 subnets, 3 masks
R       193.70.90.0/27 [120/1] via 193.70.90.193, 00:00:16, Serial0/1
C       193.70.90.32/27 is directly connected, FastEthernet0/0
R       193.70.90.64/27 [120/1] via 193.70.90.198, 00:00:05, Serial0/0
C       193.70.90.192/30 is directly connected, Serial0/1
C       193.70.90.193/32 is directly connected, Serial0/1
C       193.70.90.196/30 is directly connected, Serial0/0
R       193.70.90.200/30 [120/1] via 193.70.90.198, 00:00:05, Serial0/0

R2#
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 7 subnets, 3 masks
R       193.70.90.0/27 [120/1] via 193.70.90.193, 00:00:26, Serial0/1
C       193.70.90.32/27 is directly connected, FastEthernet0/0
R       193.70.90.64/27 [120/1] via 193.70.90.198, 00:00:13, Serial0/0
C       193.70.90.192/30 is directly connected, Serial0/1
C       193.70.90.193/32 is directly connected, Serial0/1
C       193.70.90.196/30 is directly connected, Serial0/0
R       193.70.90.200/30 [120/1] via 193.70.90.198, 00:00:13, Serial0/0

R2#
R2#show interfaces s0/1
Serial0/1 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 193.70.90.194/30
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open
  Open: IPCP, CDPCP
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1158 kilobits/sec
  5 minute input rate 12 bits/sec, 0 packets/sec
  5 minute output rate 28 bits/sec, 0 packets/sec
     74 packets input, 3848 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     10 packets output, 1060 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up

R2#
R2#config t
R2(config)#int s0/0
R2(config-if)#encapsulation ppp
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

R2(config-if)#end
R2#
R2#config t
R2(config)#
R2(config-if)#end
R2#
R2#config t
R2(config)#do show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 4 subnets, 3 masks
R       193.70.90.0/27 [120/1] via 193.70.90.193, 00:00:01, Serial0/1
C       193.70.90.32/27 is directly connected, FastEthernet0/0
C       193.70.90.192/30 is directly connected, Serial0/1
C       193.70.90.193/32 is directly connected, Serial0/1

R2(config)#

 

R3

 

R3>en
R3#
R3#config t
R3(config)#int s0/1
R3(config-if)#encapsulation ppp
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R2

 

R2(config)#
R2(config)#username R3 password cisco
R2(config)#int s0/0
R2(config-if)#ppp authentication chap
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

 

R3

 

R3(config-if)#end
R3#
R3#config t
R3(config)#user
R3(config)#username R2 password cisco
R3(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R3(config)#
R3(config)#int s0/1
R3(config-if)#ppp authentication chap
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down

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

R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 7 subnets, 3 masks
R       193.70.90.0/27 [120/2] via 193.70.90.197, 00:00:09, Serial0/1
R       193.70.90.32/27 [120/1] via 193.70.90.197, 00:00:09, Serial0/1
C       193.70.90.64/27 is directly connected, FastEthernet0/0
R       193.70.90.192/30 [120/1] via 193.70.90.197, 00:00:09, Serial0/1
C       193.70.90.196/30 is directly connected, Serial0/1
C       193.70.90.197/32 is directly connected, Serial0/1
C       193.70.90.200/30 is directly connected, Serial0/0

R3#
R3#config t
R3(config)#int s0/0
R3(config-if)#ppp authentication chap
Must set encapsulation to PPP before using PPP subcommands
R3(config-if)#
R3(config-if)#exit
R3(config)#username R2 password cisco
R3(config)#
R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 7 subnets, 3 masks
R       193.70.90.0/27 [120/2] via 193.70.90.197, 00:00:25, Serial0/1
R       193.70.90.32/27 [120/1] via 193.70.90.197, 00:00:25, Serial0/1
C       193.70.90.64/27 is directly connected, FastEthernet0/0
R       193.70.90.192/30 [120/1] via 193.70.90.197, 00:00:25, Serial0/1
C       193.70.90.196/30 is directly connected, Serial0/1
C       193.70.90.197/32 is directly connected, Serial0/1
C       193.70.90.200/30 is directly connected, Serial0/0

R3#

 

R2

 

R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 8 subnets, 3 masks
R       193.70.90.0/27 [120/1] via 193.70.90.193, 00:00:21, Serial0/1
C       193.70.90.32/27 is directly connected, FastEthernet0/0
R       193.70.90.64/27 [120/1] via 193.70.90.198, 00:00:03, Serial0/0
C       193.70.90.192/30 is directly connected, Serial0/1
C       193.70.90.193/32 is directly connected, Serial0/1
C       193.70.90.196/30 is directly connected, Serial0/0
C       193.70.90.198/32 is directly connected, Serial0/0
R       193.70.90.200/30 [120/1] via 193.70.90.198, 00:00:03, Serial0/0

R2#

 

R1

 

R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 7 subnets, 3 masks
C       193.70.90.0/27 is directly connected, FastEthernet0/0
R       193.70.90.32/27 [120/1] via 193.70.90.194, 00:00:27, Serial0/0
R       193.70.90.64/27 [120/2] via 193.70.90.194, 00:00:27, Serial0/0
C       193.70.90.192/30 is directly connected, Serial0/0
C       193.70.90.194/32 is directly connected, Serial0/0
R       193.70.90.196/30 [120/1] via 193.70.90.194, 00:00:27, Serial0/0
R       193.70.90.200/30 [120/2] via 193.70.90.194, 00:00:27, Serial0/0

R1#

 

 

R3

 

R3#show interfaces se0/0
Serial0/0 is up, line protocol is up (connected)
  Hardware is HD64570
  Internet address is 193.70.90.201/30
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set, keepalive set (10 sec)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0 (size/max/drops); Total output drops: 0
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/0 (size/max total/threshold/drops)
     Conversations  0/0/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 1158 kilobits/sec
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 38 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
     151 packets output, 18372 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
     DCD=up  DSR=up  DTR=up  RTS=up  CTS=up


R3#
R3#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int s0/0
R3(config-if)#encapsulation ppp
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

R3(config-if)#end
R3#
R3#config t
R3(config)#username R4 password cisco
R3(config)#int s0/0
R3(config-if)#ppp authentication chap
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
R3(config-if)#

R3#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#ppp pap sent-u
R3(config)#ppp pap sent-usern
R3(config)#router rip
R3(config-router)#pass
R3(config-router)#passive-interface s0/1
R3(config-router)#
R3(config-router)#
R3(config-router)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console

R3#config t
R3(config)#router rip
R3(config-router)#no passive-interface s0/1
R3(config-router)#
R3(config-router)#end
R3#

R3#config t
R3(config)#int s0/1
R3(config-if)#ppp pap sent-username R3 password cisco
R3(config-if)#

R3(config-if)#exit
R3(config)#int s0/0
R3(config-if)#ppp pap sent-username R3 password cisco
R3(config-if)#

R3(config)#int s0/0
R3(config-if)#en
R3(config-if)#encapsulation ppp
R3(config-if)#

R3(config-if)#exit
R3(config)#user
R3(config)#username R4 password cisco
R3(config)#int s0/0
R3(config-if)#ppp authentication chap
R3(config-if)#

R3#config t
R3(config)#router rip
R3(config-router)#ver
R3(config-router)#version 2
R3(config-router)#no auto-summary
R3(config-router)#network 193.70.90.200
R3(config-router)#end
R3#

R4

 

R4>
R4>en
R4#
R4#config t
R4(config)#int s0/1
R4(config-if)#encapsulation ppp
R4(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up

R4(config-if)#exit
R4(config)#use
R4(config)#username R3 password cisco
R4(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
R4(config)#int s0/1
R4(config-if)#ppp aut
R4(config-if)#ppp authentication chap
R4(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
R4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 3 subnets, 3 masks
C       193.70.90.128/27 is directly connected, FastEthernet0/0
C       193.70.90.200/30 is directly connected, Serial0/1
C       193.70.90.201/32 is directly connected, Serial0/1

R4#

R4#
R4#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#int s0/1
R4(config-if)#ppp authentication chap
R4(config-if)#exit
R4(config)#username R3 password cisco
R4(config)#

R4#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#int s0/1
R4(config-if)#en
R4(config-if)#encapsulation ppp
R4(config-if)#

R4#clear ip route *

R4#config t
R4(config)#
R4(config)#router rip
R4(config-router)#no passive-interface s0/1
R4(config-router)#end
R4#
R4#config t
R4(config)#username R3 password cisco
R4(config)#

R4(config-if)#ppp pap sent-username R3 password cisco
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R4(config-if)#
R4(config-if)#end
R4#

R4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     193.70.90.0/24 is variably subnetted, 3 subnets, 3 masks
C       193.70.90.128/27 is directly connected, FastEthernet0/0
C       193.70.90.200/30 is directly connected, Serial0/1
C       193.70.90.201/32 is directly connected, Serial0/1

R4#
R4(config)#int s0/1
R4(config-if)#enc
R4(config-if)#encapsulation ppp
R4(config-if)#

R4(config)#username R3 password cisco
R4(config)#int s0/1
R4(config-if)#ppp authentication chap
R4(config-if)#

R4(config-if)#ppp pap sent-username R4 password cisco
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.

R4#config t
R4(config)#router rip
R4(config-router)#version 2
R4(config-router)#no auto-summary
R4(config-router)#network 193.70.90.200
R4(config-router)#network 193.70.90.128
R4(config-router)#end
R4#
 

'NetWork' 카테고리의 다른 글

26일 2교실  (0) 2019.01.27
26일 1교시  (0) 2019.01.26
debug ip rip 2교시  (0) 2019.01.24
router rip 1교시  (0) 2019.01.24
정정인 라우팅 - Static Routing LAB 구성  (0) 2017.07.22