SlideShare uma empresa Scribd logo
1 de 10
13-Feb-2015
SAKURA Internet Research Center.
Senior Researcher / Naoto MATSUMOTO
Basic Ideas
Using Vyatta/VyOS with OSPFv2 and VRRP for Tiny Server Clustering
SERVER
SERVER
SERVER
SERVER SERVER
LAN
1Gigabit Ethernet
1/10/40/56 Gigabit Ethernet
Direct Connect
Vyatta/VyOS
vSwitch
NIC
NIC
VMM: (VMware vSphere, Microsoft Hyper-V, Linux KVM ..etc)
1/10/40/56 Gigabit Ethernet
Direct Connect
VM
VM
VM
OSPFv2 (IPv4)
OSPFv2 (IPv4)
VRRP
vSwitch
vSwitch
VR-02 Configuration
# set system host-name VR-02
# set interfaces ethernet eth0 address 10.0.1.2/24
# set interfaces ethernet eth1 address 10.0.2.2/24
# set protocols ospf area 0.0.0.0 network 0.0.0.0/0
# set protocols ospf parameters router-id 10.0.2.2
# set protocols ospf passive-interface eth2
# set protocols ospf redistribute connected
# set interfaces ethernet eth2 address 192.168.2.2/24
eth0 10.0.1.2/24
eth1 10.0.2.2/24
SERVER
SERVER
SERVER
SERVER SERVER
LAN
VR-128 VR-01
VR-02VR-04
VR-03
Local-Link I/F Config
OSPFv2 Config
VR-03 Configuration
# set system host-name VR-03
# set interfaces ethernet eth0 address 10.0.2.3/24
# set interfaces ethernet eth1 address 10.0.3.3/24
# set protocols ospf area 0.0.0.0 network 0.0.0.0/0
# set protocols ospf parameters router-id 10.0.3.3
# set protocols ospf passive-interface eth2
# set protocols ospf redistribute connected
# set interfaces ethernet eth2 address 192.168.3.3/24
10.0.3.3/24 eth1 eth0 10.0.2.3/24
SERVER
SERVER
SERVER
SERVER SERVER
LAN
VR-128 VR-01
VR-02VR-04
VR-03
Local-Link I/F Config
OSPFv2 Config
VR-03 Configuration
# set system host-name VR-04
# set interfaces ethernet eth0 address 10.0.3.4/24
# set interfaces ethernet eth1 address 10.0.4.4/24
# set protocols ospf area 0.0.0.0 network 0.0.0.0/0
# set protocols ospf parameters router-id 10.0.4.4
# set protocols ospf passive-interface eth2
# set protocols ospf redistribute connected
# set interfaces ethernet eth2 address 192.168.4.4/24
10.0.4.4/24 eth1
10.0.3.4/24 eth0
SERVER
SERVER
SERVER
SERVER SERVER
LAN
VR-128 VR-01
VR-02VR-04
VR-03
Local-Link I/F Config
OSPFv2 Config
VR-01 Configuration
SERVER
LAN
VR-01
# set system host-name VR-01
# set interfaces ethernet eth0 address 10.0.1.1/24
# set interfaces ethernet eth1 address 10.0.128.1/24
# set protocols ospf area 0.0.0.0 network 0.0.0.0/0
# set protocols ospf parameters router-id 10.0.1.1
# set protocols ospf passive-interface eth2
# set protocols ospf redistribute connected
# set interfaces ethernet eth2 address 192.168.1.1/24
eth0 10.0.1.1/24
10.0.128.1/24 eth1
# set interfaces ethernet eth3 vrrp vrrp-group 1 virtual-address 10.254.254.10
# set interfaces ethernet eth3 vrrp vrrp-group 1 priority 100
# set interfaces ethernet eth3 address 10.254.254.1/24
# set protocols ospf passive-interface eth3
eth3 10.254.254.1/24
(VIP: 10.254.254.10)
VRRP Config
Local-Link I/F Config
OSPFv2 Config
VR-128 Configuration
# set system host-name VR-128
# set interfaces ethernet eth0 address 10.0.4.128/24
# set interfaces ethernet eth1 address 10.0.128.128/24
# set protocols ospf area 0.0.0.0 network 0.0.0.0/0
# set protocols ospf parameters router-id 10.0.128.128
# set protocols ospf passive-interface eth2
# set protocols ospf redistribute connected
# set interfaces ethernet eth2 address 192.168.128.128/24
# set interfaces ethernet eth3 vrrp vrrp-group 1 virtual-address 10.254.254.10
# set interfaces ethernet eth3 vrrp vrrp-group 1 priority 150
# set interfaces ethernet eth3 address 10.254.254.128/24
# set protocols ospf passive-interface eth3
SERVER
LAN
VR-128
eth0 10.0.4.128/24
eth1 10.0.128.128/24
10.254.254.128/24 eth3
(VIP: 10.254.254.10)
VRRP Config
Local-Link I/F Config
OSPFv2 Config
OSPFv2 default-info originate
SERVER
SERVER
SERVER
SERVER SERVER
LAN
VR-128 VR-01
VR-02VR-04
VR-03
VR-01# set protocols ospf default-information originate
VR-01# set system gateway-address 10.254.254.222
VR-01# commit
VR-01# save
VR-128# set protocols ospf default-information originate
VR-128# set system gateway-address 10.254.254.222
VR-128# commit
VR-128# save
OSPFv2
default-information originate
eth3 10.254.254.1/2410.254.254.128/24 eth3
default-gateway 10.254.254.222/24
OSPFv2 Interval Adjustment
SERVER
SERVER
SERVER
SERVER SERVER
LAN
VR-128 VR-01
VR-02VR-04
VR-03
# set interfaces ethernet eth0 ip ospf hello-interval 1
# set interfaces ethernet eth0 ip ospf retransmit-interval 5
# set interfaces ethernet eth0 ip ospf dead-interval 7
:
# set interfaces ethernet eth1 ip ospf hello-interval 1
# set interfaces ethernet eth1 ip ospf retransmit-interval 5
# set interfaces ethernet eth1 ip ospf dead-interval 7
:
OSPFv2 Interval Adjustment
Thanks for your interset.
SAKURA Internet Research Center.

Mais conteúdo relacionado

Mais procurados

Mais procurados (16)

VPNIPSec site to site
VPNIPSec site to siteVPNIPSec site to site
VPNIPSec site to site
 
How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-How to ride a 100GbE LAN -MEMO-
How to ride a 100GbE LAN -MEMO-
 
VYATTAによるマルチパスVPN接続手法
VYATTAによるマルチパスVPN接続手法VYATTAによるマルチパスVPN接続手法
VYATTAによるマルチパスVPN接続手法
 
How to install OpenStack MITAKA --allinone - cheat sheet -
How to install OpenStack MITAKA --allinone - cheat sheet -How to install OpenStack MITAKA --allinone - cheat sheet -
How to install OpenStack MITAKA --allinone - cheat sheet -
 
Configuring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA FirewallConfiguring GRE Tunnel Through a Cisco ASA Firewall
Configuring GRE Tunnel Through a Cisco ASA Firewall
 
SR-IOV, KVM and Intel X520 10Gbps cards on Debian/Stable
SR-IOV, KVM and Intel X520 10Gbps cards on Debian/StableSR-IOV, KVM and Intel X520 10Gbps cards on Debian/Stable
SR-IOV, KVM and Intel X520 10Gbps cards on Debian/Stable
 
How to Cisco ACI Multi-Pod
How to Cisco ACI Multi-PodHow to Cisco ACI Multi-Pod
How to Cisco ACI Multi-Pod
 
Server-side Intelligent Switching using vyatta
Server-side Intelligent Switching using vyattaServer-side Intelligent Switching using vyatta
Server-side Intelligent Switching using vyatta
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
SSL Web VPN
SSL Web VPNSSL Web VPN
SSL Web VPN
 
Site-to-Site IPSEC VPN Between Cisco ASA and Pfsense
Site-to-Site IPSEC VPN Between Cisco ASA and PfsenseSite-to-Site IPSEC VPN Between Cisco ASA and Pfsense
Site-to-Site IPSEC VPN Between Cisco ASA and Pfsense
 
Nat
NatNat
Nat
 
SR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/StableSR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/Stable
 
Nxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asaNxll14 cut through-proxy on asa
Nxll14 cut through-proxy on asa
 
Westermo WeOS Multicast Tunneling
Westermo WeOS Multicast TunnelingWestermo WeOS Multicast Tunneling
Westermo WeOS Multicast Tunneling
 

Destaque

Zimbra Collaboration Suite And Google Apps
Zimbra Collaboration Suite And Google AppsZimbra Collaboration Suite And Google Apps
Zimbra Collaboration Suite And Google Apps
agileware
 
Vyatta Ip Services Ref Vc5 V03
Vyatta Ip Services Ref Vc5 V03Vyatta Ip Services Ref Vc5 V03
Vyatta Ip Services Ref Vc5 V03
Kittanun Nuaon
 
Vyatta lan interfaces-6.5_r1_v01
Vyatta lan interfaces-6.5_r1_v01Vyatta lan interfaces-6.5_r1_v01
Vyatta lan interfaces-6.5_r1_v01
Nguyen Van Duy
 
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
Amazon Web Services Japan
 

Destaque (20)

Optimización, rendimiento y escalabilidad en ActiveRecord
Optimización, rendimiento y escalabilidad en ActiveRecordOptimización, rendimiento y escalabilidad en ActiveRecord
Optimización, rendimiento y escalabilidad en ActiveRecord
 
Intrusion tolerance
Intrusion toleranceIntrusion tolerance
Intrusion tolerance
 
Vyatta open cloudcampus 2011/08/02
Vyatta open cloudcampus 2011/08/02Vyatta open cloudcampus 2011/08/02
Vyatta open cloudcampus 2011/08/02
 
Zimbra Collaboration Suite And Google Apps
Zimbra Collaboration Suite And Google AppsZimbra Collaboration Suite And Google Apps
Zimbra Collaboration Suite And Google Apps
 
Vyatta Ip Services Ref Vc5 V03
Vyatta Ip Services Ref Vc5 V03Vyatta Ip Services Ref Vc5 V03
Vyatta Ip Services Ref Vc5 V03
 
Vyatta lan interfaces-6.5_r1_v01
Vyatta lan interfaces-6.5_r1_v01Vyatta lan interfaces-6.5_r1_v01
Vyatta lan interfaces-6.5_r1_v01
 
Vyatta 改造入門
Vyatta 改造入門Vyatta 改造入門
Vyatta 改造入門
 
パブリッククラウドにおけるL2TPv3を用いたサーバ高可用性の評価
パブリッククラウドにおけるL2TPv3を用いたサーバ高可用性の評価パブリッククラウドにおけるL2TPv3を用いたサーバ高可用性の評価
パブリッククラウドにおけるL2TPv3を用いたサーバ高可用性の評価
 
mmm... beacons
mmm... beaconsmmm... beacons
mmm... beacons
 
100GbE NICを使ったデータセンター・ネットワーク実証実験 -メモ-
100GbE NICを使ったデータセンター・ネットワーク実証実験 -メモ- 100GbE NICを使ったデータセンター・ネットワーク実証実験 -メモ-
100GbE NICを使ったデータセンター・ネットワーク実証実験 -メモ-
 
[WIP] ネットワーク仮想化における仮想ネットワークインターフェイス冗長化の考察
[WIP] ネットワーク仮想化における仮想ネットワークインターフェイス冗長化の考察[WIP] ネットワーク仮想化における仮想ネットワークインターフェイス冗長化の考察
[WIP] ネットワーク仮想化における仮想ネットワークインターフェイス冗長化の考察
 
SoftLayer 서비스 설명 4차 - 네트워크
SoftLayer 서비스 설명 4차 - 네트워크SoftLayer 서비스 설명 4차 - 네트워크
SoftLayer 서비스 설명 4차 - 네트워크
 
Intrusion Prevention System
Intrusion Prevention SystemIntrusion Prevention System
Intrusion Prevention System
 
デバイスとネットワーク仮想化を使ったワイヤレスネットワーク拡張の実証実験 -メモ-
デバイスとネットワーク仮想化を使ったワイヤレスネットワーク拡張の実証実験 -メモ-デバイスとネットワーク仮想化を使ったワイヤレスネットワーク拡張の実証実験 -メモ-
デバイスとネットワーク仮想化を使ったワイヤレスネットワーク拡張の実証実験 -メモ-
 
SoftLayer 서비스 설명 1차 - SoftLayer 소개
SoftLayer 서비스 설명 1차 - SoftLayer 소개SoftLayer 서비스 설명 1차 - SoftLayer 소개
SoftLayer 서비스 설명 1차 - SoftLayer 소개
 
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
[AWSマイスターシリーズ] Amazon VPC VPN & Direct Connect
 
大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察大規模なスイッチレス・サーバクラスタリング構築運用の考察
大規模なスイッチレス・サーバクラスタリング構築運用の考察
 
データセンターを構成する最新ネットワーク技術動向
データセンターを構成する最新ネットワーク技術動向データセンターを構成する最新ネットワーク技術動向
データセンターを構成する最新ネットワーク技術動向
 
クラウド時代のネットワーク再入門
クラウド時代のネットワーク再入門クラウド時代のネットワーク再入門
クラウド時代のネットワーク再入門
 
Amazon VPCトレーニング-VPCの説明
Amazon VPCトレーニング-VPCの説明Amazon VPCトレーニング-VPCの説明
Amazon VPCトレーニング-VPCの説明
 

Semelhante a Tiny Server Clustering using Vyatta/VyOS (MEMO)

CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11
Irsandi Hasan
 
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
Josimar Caitano
 
Exploration routing chapter_11
Exploration routing chapter_11Exploration routing chapter_11
Exploration routing chapter_11
Joshua Torres
 
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 ConfigurationENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
kecatem465
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 

Semelhante a Tiny Server Clustering using Vyatta/VyOS (MEMO) (20)

acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Make container without_docker_6-overlay-network_1
Make container without_docker_6-overlay-network_1 Make container without_docker_6-overlay-network_1
Make container without_docker_6-overlay-network_1
 
Mpls vpn.rip
Mpls vpn.ripMpls vpn.rip
Mpls vpn.rip
 
CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11CCNA Exploration 2 - Chapter 11
CCNA Exploration 2 - Chapter 11
 
Lan Network with Redundancy.ppt
Lan Network with Redundancy.pptLan Network with Redundancy.ppt
Lan Network with Redundancy.ppt
 
Lan Network with Redundancy
Lan Network with RedundancyLan Network with Redundancy
Lan Network with Redundancy
 
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
 
Exploration routing chapter_11
Exploration routing chapter_11Exploration routing chapter_11
Exploration routing chapter_11
 
Nat failover with dual isp on cisco router configuration explained with example
Nat failover with dual isp on cisco router configuration explained with exampleNat failover with dual isp on cisco router configuration explained with example
Nat failover with dual isp on cisco router configuration explained with example
 
Alcatel vm
Alcatel vmAlcatel vm
Alcatel vm
 
VXLAN and FRRouting
VXLAN and FRRoutingVXLAN and FRRouting
VXLAN and FRRouting
 
[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting[오픈소스컨설팅] Linux Network Troubleshooting
[오픈소스컨설팅] Linux Network Troubleshooting
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 
ENSA_Module_2.pptx
ENSA_Module_2.pptxENSA_Module_2.pptx
ENSA_Module_2.pptx
 
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 ConfigurationENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
ENSA_Module_2 Packet Tracer - Single-Area OSPFv2 Configuration
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Understanding Open vSwitch
Understanding Open vSwitch Understanding Open vSwitch
Understanding Open vSwitch
 
Eigrp authentication
Eigrp authenticationEigrp authentication
Eigrp authentication
 
Thebasicintroductionofopenvswitch
ThebasicintroductionofopenvswitchThebasicintroductionofopenvswitch
Thebasicintroductionofopenvswitch
 

Mais de Naoto MATSUMOTO

Mais de Naoto MATSUMOTO (20)

Alder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature MonitoringAlder Lake-S CPU Temperature Monitoring
Alder Lake-S CPU Temperature Monitoring
 
CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化CPU製品出荷状況と消費電力の見える化
CPU製品出荷状況と消費電力の見える化
 
5Gの見える化
5Gの見える化5Gの見える化
5Gの見える化
 
2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)2023年以降のサーバークラスタリング設計(メモ)
2023年以降のサーバークラスタリング設計(メモ)
 
防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察防災を考慮した水中調査の一考察
防災を考慮した水中調査の一考察
 
旅するパケットの見える化
旅するパケットの見える化旅するパケットの見える化
旅するパケットの見える化
 
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91LTE-M/NB IoTを試してみる nRF9160/Thingy:91
LTE-M/NB IoTを試してみる nRF9160/Thingy:91
 
災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化災害時における無線モニタリングによる社会インフラの見える化
災害時における無線モニタリングによる社会インフラの見える化
 
BeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep diveBeautifulSoup / selenium Deep dive
BeautifulSoup / selenium Deep dive
 
AMDGPU ROCm Deep dive
AMDGPU ROCm Deep diveAMDGPU ROCm Deep dive
AMDGPU ROCm Deep dive
 
Network Adapter Deep dive
Network Adapter Deep diveNetwork Adapter Deep dive
Network Adapter Deep dive
 
RTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep diveRTL2838 DVB-T Deep dive
RTL2838 DVB-T Deep dive
 
x86_64 Hardware Deep dive
x86_64 Hardware Deep divex86_64 Hardware Deep dive
x86_64 Hardware Deep dive
 
ADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheetADS-B, AIS, APRS cheatsheet
ADS-B, AIS, APRS cheatsheet
 
curl --http3 cheatsheet
curl --http3 cheatsheetcurl --http3 cheatsheet
curl --http3 cheatsheet
 
3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet3/4G USB modem Cheat Sheet
3/4G USB modem Cheat Sheet
 
How To Train Your ARM(SBC)
How To  Train Your ARM(SBC)How To  Train Your ARM(SBC)
How To Train Your ARM(SBC)
 
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
全国におけるCOVID-19対策の見える化 ~宿泊業の場合~
 
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
我が国の電波の使用状況/携帯電話向け割当 (2019年3月1日現在)
 
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
私たちに訪れる(かもしれない)未来と計算機によるモノコトの見える化
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Tiny Server Clustering using Vyatta/VyOS (MEMO)

  • 1. 13-Feb-2015 SAKURA Internet Research Center. Senior Researcher / Naoto MATSUMOTO
  • 2. Basic Ideas Using Vyatta/VyOS with OSPFv2 and VRRP for Tiny Server Clustering SERVER SERVER SERVER SERVER SERVER LAN 1Gigabit Ethernet 1/10/40/56 Gigabit Ethernet Direct Connect Vyatta/VyOS vSwitch NIC NIC VMM: (VMware vSphere, Microsoft Hyper-V, Linux KVM ..etc) 1/10/40/56 Gigabit Ethernet Direct Connect VM VM VM OSPFv2 (IPv4) OSPFv2 (IPv4) VRRP vSwitch vSwitch
  • 3. VR-02 Configuration # set system host-name VR-02 # set interfaces ethernet eth0 address 10.0.1.2/24 # set interfaces ethernet eth1 address 10.0.2.2/24 # set protocols ospf area 0.0.0.0 network 0.0.0.0/0 # set protocols ospf parameters router-id 10.0.2.2 # set protocols ospf passive-interface eth2 # set protocols ospf redistribute connected # set interfaces ethernet eth2 address 192.168.2.2/24 eth0 10.0.1.2/24 eth1 10.0.2.2/24 SERVER SERVER SERVER SERVER SERVER LAN VR-128 VR-01 VR-02VR-04 VR-03 Local-Link I/F Config OSPFv2 Config
  • 4. VR-03 Configuration # set system host-name VR-03 # set interfaces ethernet eth0 address 10.0.2.3/24 # set interfaces ethernet eth1 address 10.0.3.3/24 # set protocols ospf area 0.0.0.0 network 0.0.0.0/0 # set protocols ospf parameters router-id 10.0.3.3 # set protocols ospf passive-interface eth2 # set protocols ospf redistribute connected # set interfaces ethernet eth2 address 192.168.3.3/24 10.0.3.3/24 eth1 eth0 10.0.2.3/24 SERVER SERVER SERVER SERVER SERVER LAN VR-128 VR-01 VR-02VR-04 VR-03 Local-Link I/F Config OSPFv2 Config
  • 5. VR-03 Configuration # set system host-name VR-04 # set interfaces ethernet eth0 address 10.0.3.4/24 # set interfaces ethernet eth1 address 10.0.4.4/24 # set protocols ospf area 0.0.0.0 network 0.0.0.0/0 # set protocols ospf parameters router-id 10.0.4.4 # set protocols ospf passive-interface eth2 # set protocols ospf redistribute connected # set interfaces ethernet eth2 address 192.168.4.4/24 10.0.4.4/24 eth1 10.0.3.4/24 eth0 SERVER SERVER SERVER SERVER SERVER LAN VR-128 VR-01 VR-02VR-04 VR-03 Local-Link I/F Config OSPFv2 Config
  • 6. VR-01 Configuration SERVER LAN VR-01 # set system host-name VR-01 # set interfaces ethernet eth0 address 10.0.1.1/24 # set interfaces ethernet eth1 address 10.0.128.1/24 # set protocols ospf area 0.0.0.0 network 0.0.0.0/0 # set protocols ospf parameters router-id 10.0.1.1 # set protocols ospf passive-interface eth2 # set protocols ospf redistribute connected # set interfaces ethernet eth2 address 192.168.1.1/24 eth0 10.0.1.1/24 10.0.128.1/24 eth1 # set interfaces ethernet eth3 vrrp vrrp-group 1 virtual-address 10.254.254.10 # set interfaces ethernet eth3 vrrp vrrp-group 1 priority 100 # set interfaces ethernet eth3 address 10.254.254.1/24 # set protocols ospf passive-interface eth3 eth3 10.254.254.1/24 (VIP: 10.254.254.10) VRRP Config Local-Link I/F Config OSPFv2 Config
  • 7. VR-128 Configuration # set system host-name VR-128 # set interfaces ethernet eth0 address 10.0.4.128/24 # set interfaces ethernet eth1 address 10.0.128.128/24 # set protocols ospf area 0.0.0.0 network 0.0.0.0/0 # set protocols ospf parameters router-id 10.0.128.128 # set protocols ospf passive-interface eth2 # set protocols ospf redistribute connected # set interfaces ethernet eth2 address 192.168.128.128/24 # set interfaces ethernet eth3 vrrp vrrp-group 1 virtual-address 10.254.254.10 # set interfaces ethernet eth3 vrrp vrrp-group 1 priority 150 # set interfaces ethernet eth3 address 10.254.254.128/24 # set protocols ospf passive-interface eth3 SERVER LAN VR-128 eth0 10.0.4.128/24 eth1 10.0.128.128/24 10.254.254.128/24 eth3 (VIP: 10.254.254.10) VRRP Config Local-Link I/F Config OSPFv2 Config
  • 8. OSPFv2 default-info originate SERVER SERVER SERVER SERVER SERVER LAN VR-128 VR-01 VR-02VR-04 VR-03 VR-01# set protocols ospf default-information originate VR-01# set system gateway-address 10.254.254.222 VR-01# commit VR-01# save VR-128# set protocols ospf default-information originate VR-128# set system gateway-address 10.254.254.222 VR-128# commit VR-128# save OSPFv2 default-information originate eth3 10.254.254.1/2410.254.254.128/24 eth3 default-gateway 10.254.254.222/24
  • 9. OSPFv2 Interval Adjustment SERVER SERVER SERVER SERVER SERVER LAN VR-128 VR-01 VR-02VR-04 VR-03 # set interfaces ethernet eth0 ip ospf hello-interval 1 # set interfaces ethernet eth0 ip ospf retransmit-interval 5 # set interfaces ethernet eth0 ip ospf dead-interval 7 : # set interfaces ethernet eth1 ip ospf hello-interval 1 # set interfaces ethernet eth1 ip ospf retransmit-interval 5 # set interfaces ethernet eth1 ip ospf dead-interval 7 : OSPFv2 Interval Adjustment
  • 10. Thanks for your interset. SAKURA Internet Research Center.