1. IRB(Integrated Routing and Bridging) Configuration 구성도
1) IRB(Integrated Routing and Bridging) Configuration 구성도
- 본 글은 단순히 vQFX Configuration을 입력하고 동작을 확인하는 목적
- 동작에 대한 설명은 '동작 과정' 글이나' vMX Configuration' 글을 참고
2) 테스트 장비
- Emulator : EVE-NG
- OS : Juniper vQFX 19.4R1.10
2. IRB(Integrated Routing and Bridging) Configuration
1) IRB(Integrated Routing and Bridging) Configuration
< SW1 : VLAN 10 생성 및 인터페이스 irb.10 라우팅 설정 >
set vlans VLAN10 description VLAN10
set vlans VLAN10 vlan-id 10
set vlans VLAN10 l3-interface irb.10
< SW1 : VLAN 20 생성 및 인터페이스 irb.20 라우팅 설정 >
set vlans VLAN20 description VLAN20
set vlans VLAN20 vlan-id 20
set vlans VLAN20 l3-interface irb.20
< SW1 : ge-0/0/0 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW2
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN20
< SW1 : ge-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC1
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members VLAN10
< SW1 : ge-0/0/2 Access Mode 설정 >
set interfaces xe-0/0/2 description PC2
set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members VLAN10
< SW1 : IRB 인터페이스 설정 >
set interfaces irb unit 10 family inet address 10.0.0.1/24
set interfaces irb unit 20 family inet address 20.0.0.1/24
< SW2 : VLAN 10 생성 >
set vlans VLAN10 description VLAN10
set vlans VLAN10 vlan-id 10
< SW2 : VLAN 20 생성 >
set vlans VLAN20 description VLAN20
set vlans VLAN20 vlan-id 20
< SW2 : ge-0/0/0 Trunk Mode 설정 >
set interfaces xe-0/0/0 description SW1
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN10
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VLAN20
< SW2 : ge-0/0/1 Access Mode 설정 >
set interfaces xe-0/0/1 description PC3
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members VLAN10
< SW2 : ge-0/0/2 Access Mode 설정 >
set interfaces xe-0/0/2 description PC4
set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members VLAN20
root@SW1> show vlans
Routing instance VLAN name Tag Interfaces
default-switch VLAN10 10
xe-0/0/0.0*
xe-0/0/1.0*
xe-0/0/2.0*
default-switch VLAN20 20
xe-0/0/0.0*
root@SW2> show vlans
Routing instance VLAN name Tag Interfaces
default-switch VLAN10 10
xe-0/0/0.0*
xe-0/0/1.0*
default-switch VLAN20 20
xe-0/0/0.0*
xe-0/0/2.0*
root@SW1> show route table inet.0
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.0/24 *[Direct/0] 00:03:48
> via irb.10
10.0.0.1/32 *[Local/0] 00:03:48
Local via irb.10
20.0.0.0/24 *[Direct/0] 00:03:48
> via irb.20
20.0.0.1/32 *[Local/0] 00:03:48
Local via irb.20
169.254.0.0/24 *[Direct/0] 11:16:12
> via em1.0
169.254.0.2/32 *[Local/0] 11:16:12
Local via em1.0
root@SW1> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
Ethernet switching table : 4 entries, 4 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical NH RTR
name address flags interface Index ID
VLAN10 00:50:79:66:68:05 D - xe-0/0/1.0 0 0
VLAN10 00:50:79:66:68:0a D - xe-0/0/0.0 0 0
VLAN10 00:50:79:66:68:0b D - xe-0/0/2.0 0 0
VLAN20 00:50:79:66:68:06 D - xe-0/0/0.0 0 0
2) 동일 Switch에서 동일 VLAN 통신 확인
3) 동일 Switch에서 다른 VLAN 통신 확인
4) 서로 다른 Switch 간 동일 VLAN 통신 확인
5) 서로 다른 Switch 간 다른 VLAN 통신 확인
'Network > VLAN' 카테고리의 다른 글
Inter-VLAN Configuration(Juniper vQFX) (0) | 2025.04.05 |
---|---|
Native VLAN Configuration(Juniper vQFX) (0) | 2025.04.03 |
Trunk Mode Configuration(Juniper vQFX) (0) | 2025.04.01 |
Access Mode Configuration(Juniper vQFX) (0) | 2025.03.30 |
SVI Configuration(Cisco IOL) (0) | 2025.01.23 |
Inter-VLAN Configuration(Cisco IOL) (0) | 2025.01.21 |
Native VLAN Configuration(Cisco IOL) (0) | 2025.01.19 |
Trunk Mode Configuration(Cisco IOL) (0) | 2025.01.17 |