+ All Categories
Home > Documents > Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux...

Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux...

Date post: 26-Jun-2020
Category:
Upload: others
View: 18 times
Download: 1 times
Share this document with a friend
17
Ethernet Interface Bonding Ethernet Interface Bonding for RTSP Streaming Server Channel Increment AddPac Technology Sales and Marketing www.addpac.com Sales and Marketing
Transcript
Page 1: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Ethernet Interface BondingEthernet Interface Bondingfor RTSP Streaming Serverg

Channel Increment

AddPac Technology

Sales and Marketing

www.addpac.com

Sales and Marketing

Page 2: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

ContentsContents

• Network Service Diagram• Network Service Diagram • RTSP Streaming Server Bandwidth Estimation• Ethernet Interface Bonding (1G x 2) Procedures forEthernet Interface Bonding (1G x 2) Procedures for

Ethernet Bandwidth Increment

www.addpac.com 2

Page 3: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Service DiagramNetwork Service Diagram

IP Wall Display

Storage Server

Large Scale IP Camera Control more than 10000 IP Camera

Active Management

Server

ActiveStreaming &

Recording Server

g

Active Control Server

IP Camera

StandbyManagement

Server

StandbyStreaming &

Recording Server

Storage Server

StandbyControl Server

www.addpac.com 3

ManagementPC

Storage Server

Page 4: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

RTSP Streaming ServerRTSP Streaming ServerBandwidth Estimation

www.addpac.com 4

Page 5: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Streaming Server Bandwidth EstimationStreaming Server Bandwidth Estimation

Quadruple Encoding= Full HD + HD + D1 + CIF= Full HD + HD + D1 + CIF= 8Mbps + 4Mbps + 1Mbps + 512K = 13 5Mbps 64channel x 13 5 = 864Mbps= 13.5Mbps 64channel x 13.5 = 864Mbps

Triple EncodingTriple Encoding= HD + D1 + CIF= 4Mbps + 1Mbps + 512K= 4Mbps + 1Mbps + 512K = 5.5Mbps 128 channel x 5.5 = 704Mbps

www.addpac.com 5

Page 6: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Diagram

IP Camera IP C

Network Diagram

IP Camera IP CameraPC

Mobile

LAN InternetStreaming

Server1G Ethernet

LAN 1G Ethernet

Recording Server

Web ServerInterface

1G Ethernet

PCPC

RTSP

SAN 10G Optic SAN Switch

www.addpac.com 6

RTSPClients

(VLC, etc)

Page 7: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Ethernet Interface BondingEthernet Interface Bondingfor Bandwidth Increment

www.addpac.com 7

Page 8: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Diagram (Gigabit Switch Interface)

IP Camera IP C

Network Diagram (Gigabit Switch Interface)

IP Camera IP Camera

LAN

Streaming Server

Gigabit Switch1G Ethernet

Recording Server

SAN 10G Optic SAN Switch

www.addpac.com 8

Page 9: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Diagram (RTSP Traffic Flow)

IP Camera IP C

Network Diagram (RTSP Traffic Flow)

IP Camera IP Camera

LAN

Streaming Server

Gigabit Switch1G Ethernet

Recording Server

SAN 10G Optic SAN Switch

www.addpac.com 9

Page 10: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Diagram (Ethernet Bonding)

IP Camera IP C

Network Diagram (Ethernet Bonding)

IP Camera IP Camera

LANEthernet InterfaceBonding

(Virtual 2G)

Gigabit Switch

1G Ethernet x 2

(Virtual 2G)

Streaming Server Recording

Server

1G Ethernet x 2

SAN 10G Optic SAN Switch

www.addpac.com 10

Page 11: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures

• Bond0 Interface Configuration• Bond0 Interface Configuration• Ethernet Interface Eth0, Eth1 Configuration• Network Environment File ModificationNetwork Environment File Modification• Module Configuration• Network Restart & Bonding Interface CheckNetwork Restart & Bonding Interface Check

www.addpac.com 11

Page 12: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Bond0 Interface ConfigurationBond0 Interface Configuration

• Bond0 Interface ConfigurationBond0 Interface Configuration[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-bond0

DEVICE=bond0IPADDR 100 100 100 66IPADDR=100.100.100.66NETMASK=255.255.255.0BROADCAST=100.100.100.255GATEWAY=100.100.100.1ONBOOT=yesBOOTPROTO=noneUSERCTL=noBONDING_OPTS="mode=4 miimon=100"[Bonding Mode]

0 : balance-round robin ( round-robin + fault tolerance )1 : active-standby ( active-standby fault tolerance )y ( y )2 : balance-xor ( similar with 0 mode, XOR(source, destination MAC) + fault tol

erance)3 : broadcast (link broadcasting both + fault tolerance)

www.addpac.com 12

4 : 802.3ad (link aggregation) – switch aggregation scheme

Page 13: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Ethernet Interface Eth0 Eth1 Configuration

• Ethernet Interface Eth0 Eth1 Configuration

Ethernet Interface Eth0, Eth1 Configuration

Ethernet Interface Eth0, Eth1 Configurationroot@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0ONBOOTONBOOT=yesBOOTPROTO=noneUSERCTL=noMASTER=bond0SLAVE=yes

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth1

DEVICE=eth1ONBOOT=yesBOOTPROTO=noneUSERCTL=noMASTER=bond0SLAVE=yes

www.addpac.com 13

Page 14: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Environment File Modification

• Network Environment File Modification

Network Environment File Modification

Network Environment File Modification[root@localhost ~]# vi /etc/sysconfig/network

#Add f ll i I f I fil#Add following Info. In file

GATEDEV=bond0

www.addpac.com 14

Page 15: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Module Configuration

• Module Configuration

Module Configuration

Module Configuration

[root@localhost ~]# vi /etc/modprobe.conf

# Add following Info. In file alias bond0 bondingoptions bond0 miimon=100

[root@localhost ~]# modprobe bonding

[root@localhost ~]# lsmod | grep bondingbonding 126649 0ipv6 432161 26 bonding,ip6t_REJECT

www.addpac.com 15

Page 16: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Network Restart

• Network Restart & Bond0 Interface Check

Network Restart

Network Restart & Bond0 Interface Check[root@localhost ~]# service network restart

[root@localhost ~]# show interfaces

[root@localhost ~]# cat /proc/net/bonding/bond0

www.addpac.com 16

Page 17: Ethenet Interface Bonding for RTSP Streaming Server ... Linux Ethernet Bonding ProceduresLinux Ethernet Bonding Procedures • Bond0 Interface ConfigurationBond0 Interface Configuration

Thank you!AddPac Technology Co., Ltd.

Sales and MarketingSales and Marketing

Phone +82.2.568.3848 (KOREA)FAX +82.2.568.3847 (KOREA)

E-mail : [email protected]

www.addpac.com 17


Recommended