Contents

Alteon Switch - L3, L4

   Feb 28, 2023     3 min read

ALteon Switch

  • L3 기능 : VLAN간 통신

Ex. 01

방법

결과

Ex. 02

사진첨부

방법

Atleon)

/cfg/l2/vlan 10/add 1/ena
/cfg/l2/vlan 20/add 2/ena

/cfg/l3/if 1/add 192.168.10.2/vlan 10/ena
/cfg/l3/if 2/add 192.168.20.1/vlan 20/ena

/cfg/l3/route/ip4/add
    destination IP address : 192.168.30.0
    destination subnet mask : 255.255.255.0
    gateway IP address : 192.168.20.2
    interface number : 2



  • Alteon 장비에 Telnet 서버 구성
main# cfg
configuration# sys
system# tnet en
system# apply/save



결과

10.1 PC에서 30.1로 PC가 ping되면 된다.

Ex. 03 - 1

사진첨부

방법

Alteon)

/cfg/l2/vlan 10/add 1/ena
/cfg/l2/vlan 20/add 2/ena

/cfg/l3/if 1/add 192.168.10.2/mask 255.255.255.0/vlan 10/ena
/cfg/l3/if 2/add 1.1.12.1/mask 255.255.255.0/vlan 20/ena

/cfg/l3/route/ip4/add
    destination IP address : 192.168.20.0
    destination subnet mask : 255.255.255.0
    gateway IP address : 1.1.12.2
    interface number : 2

apply



Alteon 1)

/cfg/l2/vlan 10/add 1/ena
/cfg/l2/vlan 20/add 2/ena

/cfg/l3/if 1/add 192.168.20.2/mask 255.255.255.0/vlan 10/ena
/cfg/l3/if 2/add 2.2.12.2/mask 255.255.255.0/vlan 20/ena

/cfg/l3/route/ip4/add
    destination IP address : 192.168.10.0
    destination subnet mask : 255.255.255.0
    gateway IP address : 2.2.12.1
    interface number : 2

apply



결과

사진첨부
10.1 PC에서 20.1로 ping이 된다.

Ex. 03 - 2

사진첨부

방법

Alteon)

/cfg/l3/rip/if 1/verwion 2/ena
/cfg/l3/rip/if 2/version 2/nea
/cfg/l3/rip/on
apply



Alteon 1)

/cfg/l3/rip/if 1/version 2/ena
/cfg/l3/rip/if 2/version 2/ena
/cfg/l3/rip/on
apply



결과 - /info/l3/rip/route

Alteon)

사진첨부

Alteon 1)

사진첨부

192.168.10.1)

사진첨부

Ex. 03 - 3

사진첨부

방법

vIOS)

router ospf 1
router-id 2.2.2.2
network 1.1.12.0 0.0.0.255 area 0
network 2.2.12.0 0.0.0.255 area 0



Alteon)

/cfg/l3/ospf/on
/cfg/l3/ospf/aindex -> 0 -> ena
/cfg/l3/ospf/if 1/aindex 0/ena
/cfg/l3/ospf/if 2/aindex 0/ena
apply



Alteon 1)

/cfg/l3/ospf/on
/cfg/l3/ospf/aindex/0/ena
/cfg/l3/ospf/if 1/aindex 0/ena
/cfg/l3/ospf/if 2/aindex 0/ena
apply



결과 - /info/l3/ospf/route

사진첨부

사진첨부

사진첨부

L4 기능

  • SUB - HTTP

Ex.

사진첨부

방법

  • [ Alteon L4 스위치에 IP 주소 구성 ]
    Alteon)
/cfg/l2/vlan 10/add 1/ena
/cfg/l2/vlan 20/add 2/ena

/cfg/l3/if 1/add 192.168.1.254/vlan 10/ena
/cfg/l3/if 2/add 192.168.2.254/vlan 20/ena

apply



  • [ 스텝 01. 실제 웹 서버 등록 ]
/cfg/slb/real 1
rip -> 192.168.2.10
ena

/cfg/slb/real 2
rip -> 192.168.2.20
ena



  • [ 스텝 02. 그룹으로 묶기]
/cfg/slb/group 1
add 1
add 2
health -> tcp
metric -> roundrobin



  • [ 스텝 03. VIP 설정 ]
/cfg/slb/virt 1
vip -> 192.168.2.100
ena
service 80
group 1
apply
save



결과

사진첨부

사진첨부