Inlab Networks : BalanceNG: Example 15 (virtual cross cable connecting two virtual TAP interfaces)
BalanceNG
About/Features
Datasheet
References
Download
Documentation
Examples
   - Example 1
   - Example 2
   - Example 3
   - Example 4
   - Example 5
   - Example 6
   - Example 7
   - Example 8
   - Example 9
   - Example 10
   - Example 11
   - Example 12
   - Example 13
   - Example 14
   - Example 15
   - Example 16
   - Example 17
   - Example 18
   - Example 4-1
FAQ
Tips+Tricks
Configs
Pricing+Order
License Shop
Key Factory
Support
Change History
Benchmarks
PartnerNetwork
OEM Systems
BNG V4 FRs
RBridge
Balance
Inlab-Scheme
 
BalanceNG - The Software Load Balancer
BalanceNG®

The Software Load Balancer and Embeddable ADC

10 Years BalanceNG

BalanceNG certified system
Thomas-Krenn LES LoadBalancer
certified OEM Load-Balancers

 

Virtual cross-cable connecting two virtual TAP interfaces

This example shows how to implement a virtual cross-cable which connects two virtual TAP interfaces (Linux only). This setup is implemented by one instance, where the other instance may be used to examine the HW performance using the BalanceNG benchmark command.

The following BalanceNG instance 1 configuration (/etc/bng1.conf) implements the cross cable and sets up the virtual TAP interfaces:

//        configuration taken Wed May  8 13:55:38 2013
//        BalanceNG 3.450 (created 2013/05/08)
hostname  c_1_crossover
module    crossover
interface 1 {
          name veth0
          access tap
          init "ip addr add 10.0.0.1/24 dev veth0; ip link set veth0 up"
}         
interface 2 {
          name veth1
          access tap
          init "ip addr add 10.0.0.2/24 dev veth1; ip link set veth1 up"
}         
register  interfaces 1,2
enable    interfaces 1,2
//        end of configuration


After instance 1 has been started using "bng start 1", the BalanceNG benchmark command may be run as usual (see BalanceNG Benchmark Results Page for more information.

Please contact us in case of questions, errors or suggestions at info@inlab.de.


Copyright © 1991-2016,2017 by Inlab Networks GmbH, All Rights Reserved - Impressum - Datenschutzerklärung - Widerrufsrecht - Sitemap - Internal