다음과 같이 장비를 연결하고 라우터의 기본 설정을 통해 PC-PC 를 연결하시오.
- 참고
PC - 다이렉트 케이즐 - switch - 다이렉트 케이블 - 라우터 - V.35 시리얼 케이블 - 라우터 - 다이렉트 케이블 - switch - 다이렉트 케이블 - PC
1. 라우터의 IP설정
1) 라우터 0의 IP 설정
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
- interface FastEthernet 0번 슬롯 / 0번 포트로 접근한다.
Router(config-if)#ip address 10.1.1.1 255.255.255.0
- 라우터 0의 FasrEthernet 0/0에 ip address : 10.1.1.1, Subnet MASK : 255.255.255.0 을 입력한다.
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
- FastEthernet 0/0 이 활성화 된 것을 확인 할 수 있다.
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 unassigned YES manual administratively down down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
2) 라우터 1의 IP 설정
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 10.1.2.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.2.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 unassigned YES manual administratively down down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
------------------------------------------------------------------------------------------------------------------
2. 라우터의 serial port 구간을 위한 ip 설정
1) 라우터 0의 serial port IP 설정
Router(config)#interface serial 0/0/0
- serial 0번째 모듈 / 0번째 슬롯 / 0번째 포트로 접근한다.
Router(config-if)#ip address 10.1.12.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
- 라우터 1과 연결이 되지 않았기 때문에 state가 down 상태가 되어 있다.
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
- 라우터 1의 설정이 완료되면 state는 up 상태가 된다.
Router(config-if)#
2) 라우터 1의 serial port IP 설정
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 10.1.12.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#
------------------------------------------------------------------------------------------------------------------
3. clock 동기화
- clock을 동기화는 serial cable 연결 중 V.35 DCE Cable 쪽에서만 해 줄 수 있다.
1) 라우터 0의 설정
Router(config-if)#clock rate 64000
- 라우터 0 과 라우터 1의 clock을 임의적으로 맞춘다.
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#no shutdown
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
2) 라우터 1의 설정
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
- 라우터 0의 clock 동기화로 인해 라우터 1의 clock이 동기화 되었다.
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
------------------------------------------------------------------------------------------------------------------
4. PC 의 ip설정
Windows 에서의 설정
네트워크 설정 -> 속성 -> TCP/IP 에서 ip address, subnet MASK, gateway 값을 입력해준다.
ping은 cmd에서 확인하면 된다.
Packet Tracer에서의 설정
1) pc0의 IP 설정
- pc0 -> config
- global setting -> gateway : 10.1.1.1 입력
- fastehernet -> ip address : 10.1.1.2, subnet mask : 255.255.255.0 입력
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 10.1.1.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.1.1
PC>ping 10.1.1.1 - 라우터 0 과의 ping test
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time=26ms TTL=255
Reply from 10.1.1.1: bytes=32 time=8ms TTL=255
Reply from 10.1.1.1: bytes=32 time=8ms TTL=255
Reply from 10.1.1.1: bytes=32 time=7ms TTL=255
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 26ms, Average = 12ms
PC>
2) pc1의 ip 설정
- pc0 -> config
- global setting -> gateway : 10.1.2.1 입력
- fastehernet -> ip address : 10.1.2.2, subnet mask : 255.255.255.0 입력
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 10.1.2.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.2.1
PC>ping 10.1.2.1 - 라우터 1 과의 ping test
Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 time=15ms TTL=255
Reply from 10.1.2.1: bytes=32 time=8ms TTL=255
Reply from 10.1.2.1: bytes=32 time=10ms TTL=255
Reply from 10.1.2.1: bytes=32 time=10ms TTL=255
Ping statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 15ms, Average = 10ms
PC>
------------------------------------------------------------------------------------------------------------------
5. 라우팅
- 실제적으로 라우터 0 과 라우터 1 을 연결시켜 주는 것이다.
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 10.1.12.1 YES manual up up
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
1) 라우터0 의 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.1.2.0 255.255.255.0 10.1.12.2
- ip route : static 경로 설정
- 10.1.2.0 255.255.255.0 : 목적지인 네트워크 IP 주소
- 10.1.12.2 : 라우터 1의 시리얼 포트 주소 (라우터 1로의 통신을 위해 무조건 이쪽으로 보내게 된다.)
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
S 10.1.2.0 [1/0] via 10.1.12.2
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
2) 라우터 1의 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.1.1.0 255.255.255.0 10.1.12.1
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 3 subnets
S 10.1.1.0 [1/0] via 10.1.12.1
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
3) pc0 ping test
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ping 10.1.2.1 - 라우터 1 과의 ping test
Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=13ms TTL=254
Ping statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 13ms, Average = 11ms
PC>ping 10.1.2.2 - 라우터 1 에 연결된 pc1 과의 ping test
Pinging 10.1.2.2 with 32 bytes of data:
Reply from 10.1.2.2: bytes=32 time=25ms TTL=126
Reply from 10.1.2.2: bytes=32 time=23ms TTL=126
Reply from 10.1.2.2: bytes=32 time=19ms TTL=126
Reply from 10.1.2.2: bytes=32 time=20ms TTL=126
Ping statistics for 10.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 19ms, Maximum = 25ms, Average = 21ms
PC>
4) pc1 ping test
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ping 10.1.1.1 - 라우터 0 과의 ping test
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time=15ms TTL=254
Reply from 10.1.1.1: bytes=32 time=14ms TTL=254
Reply from 10.1.1.1: bytes=32 time=15ms TTL=254
Reply from 10.1.1.1: bytes=32 time=14ms TTL=254
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 14ms, Maximum = 15ms, Average = 14ms
PC>ping 10.1.1.2 - 라우터 0 에 연결된 pc0 과의 ping test
Pinging 10.1.1.2 with 32 bytes of data:
Reply from 10.1.1.2: bytes=32 time=24ms TTL=126
Reply from 10.1.1.2: bytes=32 time=16ms TTL=126
Reply from 10.1.1.2: bytes=32 time=21ms TTL=126
Reply from 10.1.1.2: bytes=32 time=23ms TTL=126
Ping statistics for 10.1.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 24ms, Average = 21ms
PC>
------------------------------------------------------------------------------------------------------------------
6) 설정저장
Router#copy running-config startup-config
- 참고
PC - 다이렉트 케이즐 - switch - 다이렉트 케이블 - 라우터 - V.35 시리얼 케이블 - 라우터 - 다이렉트 케이블 - switch - 다이렉트 케이블 - PC
1. 라우터의 IP설정
1) 라우터 0의 IP 설정
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
- interface FastEthernet 0번 슬롯 / 0번 포트로 접근한다.
Router(config-if)#ip address 10.1.1.1 255.255.255.0
- 라우터 0의 FasrEthernet 0/0에 ip address : 10.1.1.1, Subnet MASK : 255.255.255.0 을 입력한다.
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
- FastEthernet 0/0 이 활성화 된 것을 확인 할 수 있다.
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 unassigned YES manual administratively down down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
2) 라우터 1의 IP 설정
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 10.1.2.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.2.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 unassigned YES manual administratively down down
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
------------------------------------------------------------------------------------------------------------------
2. 라우터의 serial port 구간을 위한 ip 설정
1) 라우터 0의 serial port IP 설정
Router(config)#interface serial 0/0/0
- serial 0번째 모듈 / 0번째 슬롯 / 0번째 포트로 접근한다.
Router(config-if)#ip address 10.1.12.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
- 라우터 1과 연결이 되지 않았기 때문에 state가 down 상태가 되어 있다.
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
- 라우터 1의 설정이 완료되면 state는 up 상태가 된다.
Router(config-if)#
2) 라우터 1의 serial port IP 설정
Router(config)#interface serial 0/0/0
Router(config-if)#ip address 10.1.12.2 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#
------------------------------------------------------------------------------------------------------------------
3. clock 동기화
- clock을 동기화는 serial cable 연결 중 V.35 DCE Cable 쪽에서만 해 줄 수 있다.
1) 라우터 0의 설정
Router(config-if)#clock rate 64000
- 라우터 0 과 라우터 1의 clock을 임의적으로 맞춘다.
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#no shutdown
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
2) 라우터 1의 설정
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
- 라우터 0의 clock 동기화로 인해 라우터 1의 clock이 동기화 되었다.
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
------------------------------------------------------------------------------------------------------------------
4. PC 의 ip설정
Windows 에서의 설정
네트워크 설정 -> 속성 -> TCP/IP 에서 ip address, subnet MASK, gateway 값을 입력해준다.
ping은 cmd에서 확인하면 된다.
Packet Tracer에서의 설정
1) pc0의 IP 설정
- pc0 -> config
- global setting -> gateway : 10.1.1.1 입력
- fastehernet -> ip address : 10.1.1.2, subnet mask : 255.255.255.0 입력
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 10.1.1.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.1.1
PC>ping 10.1.1.1 - 라우터 0 과의 ping test
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time=26ms TTL=255
Reply from 10.1.1.1: bytes=32 time=8ms TTL=255
Reply from 10.1.1.1: bytes=32 time=8ms TTL=255
Reply from 10.1.1.1: bytes=32 time=7ms TTL=255
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 7ms, Maximum = 26ms, Average = 12ms
PC>
2) pc1의 ip 설정
- pc0 -> config
- global setting -> gateway : 10.1.2.1 입력
- fastehernet -> ip address : 10.1.2.2, subnet mask : 255.255.255.0 입력
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ipconfig
IP Address......................: 10.1.2.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 10.1.2.1
PC>ping 10.1.2.1 - 라우터 1 과의 ping test
Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 time=15ms TTL=255
Reply from 10.1.2.1: bytes=32 time=8ms TTL=255
Reply from 10.1.2.1: bytes=32 time=10ms TTL=255
Reply from 10.1.2.1: bytes=32 time=10ms TTL=255
Ping statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 15ms, Average = 10ms
PC>
------------------------------------------------------------------------------------------------------------------
5. 라우팅
- 실제적으로 라우터 0 과 라우터 1 을 연결시켜 주는 것이다.
Router#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
FastEthernet0/1 unassigned YES manual administratively down down
Serial0/0/0 10.1.12.1 YES manual up up
Serial0/0/1 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Router#
1) 라우터0 의 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.1.2.0 255.255.255.0 10.1.12.2
- ip route : static 경로 설정
- 10.1.2.0 255.255.255.0 : 목적지인 네트워크 IP 주소
- 10.1.12.2 : 라우터 1의 시리얼 포트 주소 (라우터 1로의 통신을 위해 무조건 이쪽으로 보내게 된다.)
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
S 10.1.2.0 [1/0] via 10.1.12.2
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
2) 라우터 1의 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 10.1.1.0 255.255.255.0 10.1.12.1
Router(config)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#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
10.0.0.0/24 is subnetted, 3 subnets
S 10.1.1.0 [1/0] via 10.1.12.1
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, Serial0/0/0
Router#
3) pc0 ping test
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ping 10.1.2.1 - 라우터 1 과의 ping test
Pinging 10.1.2.1 with 32 bytes of data:
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=11ms TTL=254
Reply from 10.1.2.1: bytes=32 time=13ms TTL=254
Ping statistics for 10.1.2.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 11ms, Maximum = 13ms, Average = 11ms
PC>ping 10.1.2.2 - 라우터 1 에 연결된 pc1 과의 ping test
Pinging 10.1.2.2 with 32 bytes of data:
Reply from 10.1.2.2: bytes=32 time=25ms TTL=126
Reply from 10.1.2.2: bytes=32 time=23ms TTL=126
Reply from 10.1.2.2: bytes=32 time=19ms TTL=126
Reply from 10.1.2.2: bytes=32 time=20ms TTL=126
Ping statistics for 10.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 19ms, Maximum = 25ms, Average = 21ms
PC>
4) pc1 ping test
- Desktop -> command prompt
Packet Tracer PC Command Line 1.0
PC>ping 10.1.1.1 - 라우터 0 과의 ping test
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time=15ms TTL=254
Reply from 10.1.1.1: bytes=32 time=14ms TTL=254
Reply from 10.1.1.1: bytes=32 time=15ms TTL=254
Reply from 10.1.1.1: bytes=32 time=14ms TTL=254
Ping statistics for 10.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 14ms, Maximum = 15ms, Average = 14ms
PC>ping 10.1.1.2 - 라우터 0 에 연결된 pc0 과의 ping test
Pinging 10.1.1.2 with 32 bytes of data:
Reply from 10.1.1.2: bytes=32 time=24ms TTL=126
Reply from 10.1.1.2: bytes=32 time=16ms TTL=126
Reply from 10.1.1.2: bytes=32 time=21ms TTL=126
Reply from 10.1.1.2: bytes=32 time=23ms TTL=126
Ping statistics for 10.1.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 24ms, Average = 21ms
PC>
------------------------------------------------------------------------------------------------------------------
6) 설정저장
Router#copy running-config startup-config
'CCNA 기초' 카테고리의 다른 글
VLAN과 Trunk 기본 설정 (0) | 2008.12.01 |
---|---|
CCNA 기초 - L2 이더 채널 설정 및 확인 (0) | 2008.11.30 |
CCNA 기초 - VLAN (Virtual LAN) (0) | 2008.11.30 |
CCNA 기초 - Switch 기본설정 (0) | 2008.11.28 |
CCNA 기초 - 라우터 기본설정 - 2 (0) | 2008.11.26 |
CCNA 기초 - 라우터 기본설정 - 1 (0) | 2008.11.26 |