본문 바로가기

Inter-VLAN Routing (switch 이용)

액트 2019. 5. 28.
반응형

@Inter-VLAN Routing (L3-switch 이용) 

- etherchannel 의 사용 목적 : (1) 대역폭 증가, (2) 이중화, (3) 부하분산

 

 

- L2 장비

VLAN간의 통신을 위해서 Router에 Sub Interface를 만들어서 사용한다.

 

- L3 장비

각각의 Interface(논리적, 물리적)에 IP를 부여한다.

 

- VLAN을 대표하는 Gateway를 만드는 방법

(1) SVI(switch virtual interface)

(2) 각각의 물리적이 Interface에 IP 부여

 

(1) SVI 방법

< 명령어 >

ip routing

interface vlan 10        // SVI 생성

ip address <IP주소>

router eigrp 50

network 10.0.0.0

 

< 확인 >

show ip route

 

 

(2) 각각의 물리적인 Interface에 IP 부여

ip routing

interface fastethernet 0/24

no switchport                              // L3 Interface 만드는 작업

ip address 10.1.10.1 255.255.255.0

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

passive-interface default : 모든 Interface로 나가는 Routing 정보를 차단한다.

no passive-interface fa 0/24 : fa 0/24 Interface로만 Routing 정보를 나가게 한다.

 

 

 

< SVI 설정 연습 > 

 

 

!------ PC0

IP : 10.1.10.2

subnet : 255.255.255.0

Gateway : 10.1.10.1

 

!------ PC1

IP : 10.1.20.2

subnet : 255.255.255.0

Gateway : 10.1.20.1

 

!------ preconfig

ena

conf t

ena sec cisco

no ip domain-lookup

line console 0

password cisco

login

exec-timeout 0 0

logg sync

exi

username CCNP password itbank321

login local

exi

host

 

 

!------ SW1

vlan 10

int fa 0/8

sw mode acc

sw acc vlan 10

exi

 

int fa 0/1

sw mode trunk

exi

 

!------ sw2

vlan 20

int fa 0/8

sw mode acc

sw acc vlan 20

exi

 

int fa 0/2

sw mode trunk

exi

 

!------ DSW1

vlan 10

vlan 20

ip routing

interface vlan 10

no shut

ip add 10.1.10.1 255.255.255.0

int vlan 20

ip add 10.1.20.1 255.255.255.0

no shut

반응형

'IT > 하드웨어' 카테고리의 다른 글

InterVLAN3 실습  (0) 2019.05.28
InterVLAN 설정 (L3 switching)  (0) 2019.05.28
Inter-VLAN Routing (Router 이용)  (0) 2019.05.28
EtherChannel - 이더 채널 구성  (0) 2019.05.28
[실습] VTP  (0) 2019.05.28

댓글