4강_Static route 설정
-
VLAN
- broadcast domain을 나눈다.
- switch 분할효과 (1대를 다수의 스위치처럼)
Inter Vlan : VLAN 구성된 토폴로지에 라우터가 결합된상태
Router serial port는 DCE와 DTE로 나뉘는데 DCE에서만 Clock rate를 설정한다.
R1>
#conf t
c#int fastethernet 0/0
c-i#ip address 192.168.1.1 255.255.255.0
#no shutdown
c#int serial 0/0/0
c-i#no shutdown
#ip address 192.168.100.1 255.255.255.252
#clock rate 64000
c#ip route 192.168.10.0 255.255.255.0 192.168.100.2 (또는 포트번호를 적는데 포트번호는 출발포트를 적는다 s0/0/0)
라우팅 테이블 확인 show ip route
NetSim 라우터 설정 Static (DCE)
Press Enter to Start
Router>
Router>en
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface ethernet 0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#exit
Router(config)#interface serial 0
Router(config-if)#no shutdown
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
Router(config-if)#ip address 192.168.100.1 255.255.255.252
Router(config-if)#
Router(config-if)#clock rate 64000
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
Router(config-if)#ip route 192.168.10.0 255.255.255.0 192.168.100.2
Router(config)#exit
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
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, * - candidate default
U - per-user static route
Gateway of last resort is not set
C 192.168.1.0 is directly connected, Ethernet0
192.168.100.0/30 is subnetted, 1 subnets
C 192.168.100.0 is directly connected, Serial0
S 192.168.10.0 [1/0] via 192.168.100.2
History
Last edited on 11/06/2008 18:17 by 한휴리
Comments (0)