ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • L3 스위치
    프로젝트로 네트워크 구조 이해하기 2021. 9. 29. 20:53

    L3 스위치(Layer 3 switch)는 라우터와 스위치의 역할을 모두 할 수 있는 장치이다.

    L3 스위치는 기본적으로 2계층 스위치로 동작하고 있다.

     

    라우터, L3스위치 비교 및 배치

    라우터는 3계층, 필터링, 암호화, 압축, DDos 차단, 악성코드 차단 등...

    L3스위치는 3계층, 라우팅, 필터링 정도

     

    '인터넷 접속 라우터'와 'WAN 접속 라우터' 처럼 경계 라우터에는 보안기능과 압축기능(회선 비용 절감)이 필요하다.

    그래서 경계에 위치라며 라우터를 배치해야 한다.

     

     

    L3 스위치 설정

    * 라우터 부분 설정

    L3(config)# int f 0/1

    L3(config-if)# no switchport

    L3(config-if)# ip add 10.1.2.5 255.255.255.0

    L3(config)# int f 0/2

    L3(config-if)# no switchport

    L3(config-if)# ip add 10.1.3.5 255.255.255.0

     

    L3(config)# int vlan 10

    L3(config-if)# ip add 10.1.8.2 255.255.255.0

    L3(config)# int vlan 20

    L3(config-if)# ip add 10.1.9.2 255.255.255.0

     

    L3(config)# ip routing

    L3(config)# router eigrp 100

    L3(config-route)# network 10.0.0.0

     

    * 스위치 부분 설정

    L3(config)# vlan 10

    L3(config)# vlan 20

    L3(config)# int f 0/3-5

    L3(config-if)# switchport trunk encapsulation dot1q

    L3(config-if)# switchport mode trunk

    댓글

Designed by Tistory.