실습3 - 루프백
구성
PC1
PC2
스위치1
Switch>
Switch>
Switch>!
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#!
Switch(config)#!
Switch(config)#no ip domain-lookup
Switch(config)#line con 0
Switch(config-line)#logging synch
Switch(config-line)#exec-t 0 0
Switch(config-line)#exit
Switch(config)#ho sw1
sw1(config)#
sw1(config)#
sw1(config)#vlan 30
sw1(config-vlan)#name vlan_30
sw1(config-vlan)#exit
sw1(config)#
sw1(config)#vlan 40
sw1(config-vlan)#name vlan_40
sw1(config-vlan)#exit
sw1(config)#
sw1(config)#
sw1(config)#int fa0/1
sw1(config-if)#sw mo acc
sw1(config-if)#sw acc vlan 30
sw1(config-if)#exit
sw1(config)#
sw1(config)#int fa0/2
sw1(config-if)#sw mo acc
sw1(config-if)#sw acc vlan 40
sw1(config-if)#exit
sw1(config)#
sw1(config)#int fa/10
^
% Invalid input detected at '^' marker.
sw1(config)#sw mo trunk
^
% Invalid input detected at '^' marker.
sw1(config)#int fa0/10
sw1(config-if)#sw mo trunk
sw1(config-if)#exit
sw1(config)#
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
sw1(config)#
sw1#
%SYS-5-CONFIG_I: Configured from console by console
sw1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
sw1(config)#
라우터1
Router>
Router>EN
Router#show ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/0 1.1.12.1 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset administratively down down
FastEthernet1/1 unassigned YES unset administratively down down
Router#
Router#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#
Router(config)#int loop
Router(config)#int loopback ?
<0-2147483647> Loopback interface number
Router(config)#int loopback 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 1.1.1.1 255.255.255.0
Router(config-if)#exit
Router(config)#
Router(config)#
Router(config)#show ip int b
^
% Invalid input detected at '^' marker.
Router(config)#do show ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/0 1.1.12.1 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Serial0/2 unassigned YES unset administratively down down
Serial0/3 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset administratively down down
FastEthernet1/1 unassigned YES unset administratively down down
Loopback0 1.1.1.1 YES manual up up
Router(config)#
Router(config)#
Router(config)#
Router(config)#!
Router(config)#en
% Ambiguous command: "en"
Router(config)#conf t
%Invalid hex value
Router(config)#!
Router(config)#!
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)#
R1(config)#ip route 0.0.0.0 0.0.0.0 1.1.12.2
R1(config)#
R1(config)#do sh 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 1.1.12.2 to network 0.0.0.0
1.0.0.0/24 is subnetted, 2 subnets
C 1.1.1.0 is directly connected, Loopback0
C 1.1.12.0 is directly connected, Serial0/0
S* 0.0.0.0/0 [1/0] via 1.1.12.2
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#do ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 47/55/63 ms
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#
라우터2
Router>
Router>EN
Router#show con
Router#show controllers s0/0
Interface Serial0/0
Hardware is PowerQUICC MPC860
DTE V.35 TX and RX clocks detected
idb at 0x81081AC4, driver data structure at 0x81084AC0
SCC Registers:
General [GSMR]=0x2:0x00000000, Protocol-specific [PSMR]=0x8
Events [SCCE]=0x0000, Mask [SCCM]=0x0000, Status [SCCS]=0x00
Transmit on Demand [TODR]=0x0, Data Sync [DSR]=0x7E7E
Interrupt Registers:
Config [CICR]=0x00367F80, Pending [CIPR]=0x0000C000
Mask [CIMR]=0x00200000, In-srv [CISR]=0x00000000
Command register [CR]=0x580
Port A [PADIR]=0x1030, [PAPAR]=0xFFFF
[PAODR]=0x0010, [PADAT]=0xCBFF
Port B [PBDIR]=0x09C0F, [PBPAR]=0x0800E
[PBODR]=0x00000, [PBDAT]=0x3FFFD
Port C [PCDIR]=0x00C, [PCPAR]=0x200
[PCSO]=0xC20, [PCDAT]=0xDF2, [PCINT]=0x00F
Receive Ring
rmd(68012830): status 9000 length 60C address 3B6DAC4
rmd(68012838): status B000 length 60C address 3B6D444
Transmit Ring
Router#
Router#int s0/0
^
% Invalid input detected at '^' marker.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0
Router(config-if)#ip add 1.1.12.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Router(config-if)#exit
Router(config)#
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Router(config)#
Router(config)#
Router(config)#!
Router(config)#en
% Ambiguous command: "en"
Router(config)#conf t
%Invalid hex value
Router(config)#!
Router(config)#!
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)#
R2(config)#
R2(config)#int fa0/0
R2(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
R2(config-if)#
R2(config-if)#int fa0/0.30
%LINK-5-CHANGED: Interface FastEthernet0/0.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.30, changed state to up
R2(config-subif)#
R2(config-subif)#en dot 30
R2(config-subif)#ip add 200.200.30.1 255.255.255.0
R2(config-subif)#exit
R2(config)#
R2(config)#int fa0/0.40
%LINK-5-CHANGED: Interface FastEthernet0/0.40, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.40, changed state to up
R2(config-subif)#
R2(config-subif)#en dot 40
R2(config-subif)#ip add 200.200.40.1 255.255.255.0
R2(config-subif)#exit
R2(config)#
R2(config)#int loop 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#
R2(config-if)#ip add 2.2.2.2 255.255.255.0
R2(config-if)#exit
R2(config)#
R2(config)#int fa0/1
R2(config-if)#ip add 1.1.23.1 255.255.255.0
R2(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R2(config-if)#
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#ip route 1.1.1.0 255.255.255.0 1.1.12.1
R2(config)#ip route 3.3.3.0 255.255.255.0 1.1.23.2
R2(config)#
R2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config)#
라우터3
Router>
Router>!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#!
Router(config)#!
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)#
R3(config)#int fa0/1
R3(config-if)#ip add 1.1.23.2 255.255.255.0
R3(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R3(config-if)#
R3(config-if)#exit
R3(config)#
R3(config)#int loop 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R3(config-if)#
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config-if)#exit
R3(config)#
R3(config)#
R3(config)#ip route 0.0.0.0 0.0.0.0 1.1.23.1
R3(config)#
R3(config)#
R3(config)#
R3(config)#
R3(config)#do ping 200.200.30.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.30.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 79/90/94 ms
R3(config)#
R3(config)#
R3(config)#
'MY 교육수강 > CCNA(8.16~26)' 카테고리의 다른 글
18(목) - 실습 1 (0) | 2011.08.18 |
---|---|
18(목) - 실습 4 (0) | 2011.08.18 |
18(목) - 실습 2 (0) | 2011.08.18 |
정리(1) - 라우터, 서버, FTP백업까지 (0) | 2011.08.17 |
CCNA 수업 - 즐겨찾기 모음 (0) | 2011.08.16 |