반응형
이번 테스트는 EVE-NG 환경에서 진행합니다.
Net 상단으로 네트워크 구성이 되어 있으며, 노트북과 eve-ng간 통신 라우팅을 해놓은 상황입니다.
이번 글에서는 eve-ng의 Node들의 기본 구성(Config)를 다루도록 하겠습니다.
아래의 Config를 참고하여, 테스트자에 알맞는 구성을 하시기를 바랍니다.
EVE-NG 사용 이미지
R_1, R_2, R_3 - Cisco IOL I86BI_LINUX-ADVENTERPRISEK9-M
BB_01, BB_02 - nxosv9k-7.0.3.I7.4
Alteon-1, Alteon-2 - alteon-va-30.5.0.0
WEB Server - CentOS7
0. EVE-NG 구성도
1. Config
1.1 R_1 Config
hostname R1
interface Ethernet0/0
description ##to_Net##
ip address 10.100.91.101 255.255.255.0
ip nat outside
interface Ethernet0/1
description ##to_R2##
ip address 10.100.99.1 255.255.255.252
ip nat inside
ip ospf cost 10
interface Ethernet0/2
description ##to_R3##
ip address 10.100.99.5 255.255.255.252
ip nat inside
interface Ethernet0/3
description ##to_NTP_SVR#
ip address 10.100.99.25 255.255.255.252
ip nat inside
interface Ethernet1/0
description ##to_ZABBIX##
ip address 10.100.99.29 255.255.255.252
ip nat inside
router ospf 1
network 10.100.99.1 0.0.0.0 area 0
network 10.100.99.5 0.0.0.0 area 0
network 10.100.99.25 0.0.0.0 area 0
default-information originate always
ip route 0.0.0.0 0.0.0.0 10.100.91.254
ip nat inside source static 10.100.99.1 10.100.91.102
ip nat inside source static 10.100.99.5 10.100.91.103
ip nat inside source static 10.100.99.2 10.100.91.104
ip nat inside source static 10.100.99.6 10.100.91.105
ip nat inside source static 10.100.99.10 10.100.91.106
ip nat inside source static 10.100.99.14 10.100.91.107
ip nat inside source static 10.100.99.18 10.100.91.108
ip nat inside source static 10.100.99.22 10.100.91.109
ip nat inside source static 192.168.10.10 10.100.91.110
ip nat inside source static 192.168.11.10 10.100.91.111
ip nat inside source static 192.168.12.10 10.100.91.112
1.2 R_2
hostname R_2
interface Ethernet0/0
description ##uplink##
ip address 10.100.99.2 255.255.255.252
interface Ethernet0/1
description ##interlink##
no ip address
interface Ethernet0/2
description ##to_BB_01##
ip address 10.100.99.0 255.255.255.252
interface Ethernet0/3
description ##to_Alteon1##
ip address 10.100.99.17 255.255.255.2
router ospf 1
network 10.100.99.2 0.0.0.0 area 0
network 10.100.99.9 0.0.0.0 area 0
network 10.100.99.17 0.0.0.0 area 0
1.3 R_3
hostname R_3
interface Ethernet0/0
description ##to_R1##
ip address 10.100.99.6 255.255.255.252
interface Ethernet0/1
no ip address
interface Ethernet0/2
description ##to_BB_02##
ip address 10.100.99.13 255.255.255.252
interface Ethernet0/3
description ##to_Alteon_2##
ip address 10.100.99.21 255.255.255.252
router ospf 1
network 10.100.99.6 0.0.0.0 area 0
network 10.100.99.13 0.0.0.0 area 0
network 10.100.99.21 0.0.0.0 area 0
1.4 BB_01
hostname BB_01
feature ospf
feature interface-vlan
feature hsrp
vlan 1,10-13
spanning-tree vlan 10-13 priority 4096
interface Vlan10
no shutdown
ip address 192.168.10.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 10
preempt
priority 110
ip 192.168.10.254
interface Vlan11
no shutdown
ip address 192.168.11.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 11
preempt
priority 110
ip 192.168.11.254
interface Vlan12
no shutdown
ip address 192.168.12.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 12
preempt
priority 110
ip 192.168.12.254
interface Vlan13
no shutdown
ip address 192.168.13.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 13
preempt
priority 110
ip 192.168.13.254
interface Ethernet1/1
description ##to_r2##
no switchport
ip address 10.100.99.10/30
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet1/2
description ##interlink##
switchport mode trunk
switchport trunk allowed vlan 10-13
interface Ethernet1/3
description ##to_l2_1##
switchport access vlan 10
interface Ethernet1/4
description ##to_l2_2##
switchport access vlan 11
interface Ethernet1/5
description ##to_l2_3##
switchport access vlan 12
interface Ethernet1/6
description ##to_alteon1_e1##
switchport access vlan 10
interface Ethernet1/7
description ##to_alteon1_e2##
switchport access vlan 11
interface Ethernet1/8
description ##to_alteon1_e3##
switchport access vlan 12
router ospf 1
router-id 192.168.10.252
ip route 0.0.0.0/0 10.100.99.9
1.5 BB_02
hostname BB_02
feature ospf
feature interface-vlan
feature hsrp
vlan 1,10-13
spanning-tree vlan 10-13 priority 8192
interface Vlan10
no shutdown
ip address 192.168.10.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 10
preempt
ip 192.168.10.254
interface Vlan11
no shutdown
ip address 192.168.11.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 11
preempt
ip 192.168.11.254
interface Vlan12
no shutdown
ip address 192.168.12.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 12
preempt
ip 192.168.12.254
interface Vlan13
no shutdown
ip address 192.168.13.253/24
ip router ospf 1 area 0.0.0.0
hsrp version 2
hsrp 13
preempt
ip 192.168.13.254
interface Ethernet1/1
description ##to_r3##
no switchport
ip address 10.100.99.14/30
ip router ospf 1 area 0.0.0.0
no shutdown
interface Ethernet1/2
description ##interlink##
switchport mode trunk
switchport trunk allowed vlan 10-13
interface Ethernet1/3
description ##to_l2_1##
switchport access vlan 10
interface Ethernet1/4
description ##to_l2_2##
switchport access vlan 12
interface Ethernet1/5
description ##to_l2_3##
switchport access vlan 12
interface Ethernet1/6
description ##to_alteon2_e1##
switchport access vlan 10
interface Ethernet1/7
description ##to_alteon2_e2##
switchport access vlan 11
interface Ethernet1/8
description ##to_alteon2_e3##
switchport access vlan 12
router ospf 1
router-id 192.168.10.253
ip route 0.0.0.0/0 10.100.99.13
728x90
1.6 sw_01
hostname SW_1
interface Ethernet0/0
description ##to_bb_01##
switchport access vlan 10
switchport mode access
interface Ethernet0/1
description ##to_bb_02##
switchport access vlan 10
switchport mode access
interface Ethernet0/2
description ##to_web1_svr##
switchport access vlan 10
switchport mode access
interface Ethernet0/3
description ##to_web2_svr##
switchport access vlan 10
switchport mode access
ip default-gateway 192.168.10.254
1.7 sw_02
hostname SW_2
interface Ethernet0/0
description ##to_bb_01##
switchport access vlan 11
switchport mode access
interface Ethernet0/1
description ##to_bb_02##
switchport access vlan 11
switchport mode access
interface Ethernet0/2
description ##to_web3_svr##
switchport access vlan 11
switchport mode access
interface Ethernet0/3
description ##to_web4_svr##
switchport access vlan 11
switchport mode access
ip default-gateway 192.168.11.254
1.8 sw_03
hostname SW_3
interface Ethernet0/0
description ##to_bb_01##
switchport access vlan 12
switchport mode access
interface Ethernet0/1
description ##to_bb_02##
switchport access vlan 12
switchport mode access
interface Ethernet0/2
description ##to_web5_svr##
switchport access vlan 12
switchport mode access
interface Ethernet0/3
description ##to_web6_svr##
switchport access vlan 12
switchport mode access
ip default-gateway 192.168.12.254
1.9 web server
web server들은 미리 Net에 연결해서 인터넷 외부 통신 가능한 대역으로 설정 후 httpd 설정 완료 후에 연결하면 더 편합니다.
web1 -> 192.168.20.100 / gw 192.168.20.10
web2 -> 192.168.20.101 / gw 192.168.20.10
web3 -> 192.168.21.100 / gw 192.168.21.10
web4 -> 192.168.21.101 / gw 192.168.21.10
web5 -> 192.168.22.100 / gw 192.168.22.10
web6 -> 192.168.22.101 / gw 192.168.22.10
다음글
[Alteon] EVE-NG로 진행하는 Alteon L4 Test - 2 [Alteon 장비 기본 구성(vrrp, virt 등)]
이번 시간은 Alteon 장비를 셋팅해보도록 하겠습니다.인프라 구성 안하신 분은 아래의 링크 참고하여 진행해주세요이전글2025.04.16 - [Network/L4 Switch] - [Alteon] EVE-NG로 진행하는 Alteon L4 Test - 1 [Alteon] E
ohsong-city.tistory.com
반응형
'Network > L4 Switch' 카테고리의 다른 글
[Alteon] EVE-NG로 진행하는 Alteon L4 Test - 3 [Alteon 장비 PIP 설정] (1) | 2025.04.17 |
---|---|
[Alteon] EVE-NG로 진행하는 Alteon L4 Test - 2 [Alteon 장비 기본 구성(vrrp, virt 등)] (0) | 2025.04.17 |
[Alteon] Alteon L4 Switch 테스트 하기 - 1 (0) | 2025.02.12 |
[L4] L4 스위치 학습하기 - 3 [NAT] (0) | 2025.02.07 |
[L4] L4 스위치 학습하기 - 2 (0) | 2025.02.06 |