구성
PC0
PC1
PC2
PC3
PC4
PC5
WEB
DNS
스위치1
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 10
SW1(config-vlan)#
SW1(config-vlan)#name vlan_10
SW1(config-vlan)#exit
SW1(config)#
SW1(config)#int range fa0/1 , fa0/10
SW1(config-if-range)#sw mo acc
SW1(config-if-range)#sw acc vlan 10
SW1(config-if-range)#exit
SW1(config)#
SW1(config)#
SW1(config)#
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)#
스위치2
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 SW2
SW2(config)#
SW2(config)#
SW2(config)#!
SW2(config)#en
% Ambiguous command: "en"
SW2(config)#conf t
^
% Invalid input detected at '^' marker.
SW2(config)#!
SW2(config)#!
SW2(config)#no ip domain-lookup
SW2(config)#line con 0
SW2(config-line)#logging synch
SW2(config-line)#exec-t 0 0
SW2(config-line)#exit
SW2(config)#
SW2(config)#
SW2(config)#vlan 30
SW2(config-vlan)#name vlan_30
SW2(config-vlan)#exit
SW2(config)#
SW2(config)#vlan 40
SW2(config-vlan)#name vlan_40
SW2(config-vlan)#
SW2(config-vlan)#exit
SW2(config)#
SW2(config)#int fa0/10
SW2(config-if)#sw mo trunk
SW2(config-if)#exit
SW2(config)#
SW2(config)#int range fa0/1 - 2
SW2(config-if-range)#sw mo acc
SW2(config-if-range)#sw acc vlan 30
SW2(config-if-range)#exit
SW2(config)#
SW2(config)#int range fa0/3 - 4
SW2(config-if-range)#sw mo acc
SW2(config-if-range)#sw acc vlan 40
SW2(config-if-range)#exit
SW2(config)#
SW2(config)#
SW2(config)#do show vlan b
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
30 vlan_30 active Fa0/1, Fa0/2
40 vlan_40 active Fa0/3, Fa0/4
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
SW2(config)#
SW2(config)#
SW2(config)#
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
SW2(config)#
스위치3
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 SW3
SW3(config)#
SW3(config)#
SW3(config)#vlan 50
SW3(config-vlan)#name vlan_50
SW3(config-vlan)#exit
SW3(config)#
SW3(config)#int range fa0/1 - 2 , fa0/10
SW3(config-if-range)#sw mo acc
SW3(config-if-range)#sw acc vlan 50
SW3(config-if-range)#exit
SW3(config)#
SW3(config)#
SW3(config)#
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
SW3(config)#
스위치4
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 SW4
SW4(config)#
SW4(config)#
SW4(config)#
SW4(config)#vlan 60
SW4(config-vlan)#name vlan_60
SW4(config-vlan)#exit
SW4(config)#
SW4(config)#int range fa0/1 , fa0/10
SW4(config-if-range)#sw mo acc
SW4(config-if-range)#sw acc vlan 60
SW4(config-if-range)#exit
SW4(config)#
SW4(config)#
SW4(config)#
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
SW4(config)#
라우터1
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 R1
R1(config)#
R1(config)#
R1(config)#int fa0/0
R1(config-if)#ip add 220.220.10.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)#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)#exit
R1(config)#
R1(config)#
R1(config)#ip route 0.0.0.0 0.0.0.0 1.1.12.2
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)#
라우터2
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 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 220.220.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
R2(config-subif)#encapsulation do
R2(config-subif)#encapsulation dot1Q 40
R2(config-subif)#ip add 220.220.40.1 255.255.255.0
R2(config-subif)#exit
R2(config)#
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)#int s0/1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R2(config-if)#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)#
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#ip route 220.220.10.0 255.255.255.0 1.1.12.1
R2(config)#ip route 220.220.50.0 255.255.255.0 1.1.23.3
R2(config)#ip route 220.220.60.0 255.255.255.0 1.1.23.3
R2(config)#ip route 1.1.34.0 255.255.255.0 1.1.23.3
R2(config)#
R2(config)#
R2(config)#int fa0/0.30
R2(config-subif)#ip help
R2(config-subif)#ip helper-address 1.1.23.3
R2(config-subif)#exit
R2(config)#
R2(config)#int fa0/0.40
R2(config-subif)#ip helper-address 1.1.23.3
R2(config-subif)#exit
R2(config)#
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)#
라우터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)#
R3(config)#
R3(config)#int fa0/0
R3(config-if)#ip add 220.220.50.1 255.255.255.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)#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)#exit
R3(config)#
R3(config)#int s0/0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to up
R3(config)#int s0/0
R3(config-if)#ip add 1.1.34.3 255.255.255.0
R3(config-if)#clock rate 64000
R3(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0, changed state to down
R3(config-if)#exit
R3(config)#
R3(config)#
R3(config)#ip route 220.220.10.0 255.255.255.0 1.1.23.2
R3(config)#ip route 220.220.30.0 255.255.255.0 1.1.23.2
R3(config)#ip route 220.220.40.0 255.255.255.0 1.1.23.2
R3(config)#ip route 1.1.12.0 255.255.255.0 1.1.23.2
R3(config)#ip route 220.220.60.0 255.255.255.0 1.1.34.4
R3(config)#
R3(config)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R3(config)#
R3(config)#do sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 220.220.50.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/0 1.1.34.3 YES manual up up
Serial0/1 1.1.23.3 YES manual up up
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
R3(config)#
R3(config)#
R3(config)#
R3(config)#
R3(config)#ip dhcp ex
R3(config)#ip dhcp excluded-address 220.220.30.1
R3(config)#ip dhcp excluded-address 220.220.40.1
R3(config)#
R3(config)#ip dhcp pool VLAN_30
R3(dhcp-config)#network 220.220.30.0 255.255.255.0
R3(dhcp-config)#defa
R3(dhcp-config)#default-router 220.220.30.1
R3(dhcp-config)#dns-server 220.220.50.2
R3(dhcp-config)#exit
R3(config)#
R3(config)#
R3(config)#ip dhcp pool VLAN_40
R3(dhcp-config)#
R3(dhcp-config)#net
R3(dhcp-config)#network 220.220.40.0 255.255.255.0
R3(dhcp-config)#defa
R3(dhcp-config)#default-router 220.220.40.1
R3(dhcp-config)#dns
R3(dhcp-config)#dns-server 220.220.50.2
R3(dhcp-config)#
R3(dhcp-config)#
라우터4
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 R4
R4(config)#
R4(config)#
R4(config)#
R4(config)#int fa0/0
R4(config-if)#ip add 220.220.60.1 255.255.255.0
R4(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
R4(config-if)#
R4(config-if)#exit
R4(config)#
R4(config)#int s0/0
R4(config-if)#ip add 1.1.34.4 255.255.255.0
R4(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
R4(config-if)#
R4(config-if)#exit
R4(config)#
R4(config)#ip route 0.0.
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
0.
R4(config)#ip route 0.0.0.0 0.0.0.0 1.1.34.3
R4(config)#
R4(config)#do sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 220.220.60.1 YES manual up up
FastEthernet0/1 unassigned YES unset administratively down down
Serial0/0 1.1.34.4 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
R4(config)#
웹 사이트 잘 들어가 진다는 뜻이다.
'MY 교육수강 > CCNA(8.16~26)' 카테고리의 다른 글
18(목) - 실습 5 (첨부) (0) | 2011.08.18 |
---|---|
18(목) - 실습 1 (0) | 2011.08.18 |
18(목) - 실습 3 (0) | 2011.08.18 |
18(목) - 실습 2 (0) | 2011.08.18 |
정리(1) - 라우터, 서버, FTP백업까지 (0) | 2011.08.17 |