● Packet Tracer 장비 설정하기
ROUTER - 2620XM 두대
PC - 1 대
케이블 설정
PC - ROUTER : Copper Cross-Over
ROUTER - ROUTER : Serial DCE
라우터들과 PC를 적당한 자리에 둔다.
두개의 라우터를 각각 세팅한다.
선을 연결한다.
● PC1 설정하기
● 라우터 0 설정하기
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#interface serial 0/0
R1(config-if)#ip address 192.168.1.2 255.255.255.0
R1(config-if)#encapsulation hdlc
R1(config-if)#bandwidth 1024
R1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0, changed state to down
R1(config-if)#exit
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 192.11.0.1 255.255.255.0
R1(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
R1(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.11.0.1 YES manual up up
Serial0/0 192.168.1.2 YES manual down down
연결결과.....
● 라우터 1 설정하기
Router>enable
Router#config
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#bandwidth 1024
Router(config-if)#encapsulation hdlc
Router(config-if)#clock rate 1000000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Router(config-if)#exit
Router(config)#interface 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)#exit
Router(config)#hostname R2
R2(config)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES manual administratively down down
Serial0/0 192.168.1.1 YES manual up down
Loopback0 unassigned YES manual up up
R2#
연결결과.....
'工夫 > Network' 카테고리의 다른 글
utp케이블 규격 (0) | 2009.12.27 |
---|---|
Dynamips - Static-LAB 라우터 구축하기 (0) | 2009.08.03 |
Dynamips-Basic 1 (0) | 2009.08.02 |
Dynamips 설치하기 (0) | 2009.08.02 |
Router 추가부팅 과정 (0) | 2009.08.01 |
댓글