Table of Contents
General description
It is strongly recommended to use only physical network adapters for CHARON-AXP networking to gain maximum performance. In situations where the host has only one network adapter, you can use the LINUX virtual network Interfaces ("TUN/TAP") and map individual CHARON-AXP instances to their own virtual interfaces.
There are 2 ways to create the Linux virtual network Interfaces ("TUN/TAP"):
Using "ncu" utility to establish CHARON virtual network
Login as root. Start "ncu" utility:
# ncu
CHARON Network Configuration Utility, STROMASYS (c) 2015 Version 1.4
Interfaces Dedicated to State
---------- ------------ ------------
eth0 host connected to host
eth1 host connected to host
lo host unmanaged from host
==================================================================
bridge name bridge id STP enabled interfaces
select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Destroy Bridge
5 - Print status
6 - Exit
:> 3
|
Enter "3" to create a bridge between the host physical network adapter and the Linux virtual network interfaces (TAP) and specify the physical network interface ("eth1" in our example) and the number of virtual network interfaces to be created (2 in our example):
Specify the interface to be used for BRIDGE:eth1
How many tap should be created:2
Forming the bridge: ..1..2..3..4..5.. addif tap0 .. addif tap1 ..7..8 done!
Formed bridge br0_eth1 attached over eth1...
select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Print status
6 - Exit
:> 5
|
Now enter "5" to see the created virtual interfaces:
Interfaces Dedicated to State
---------- ------------ ------------
eth0 host connected to host
eth1 bridge connected to bridge
lo host unmanaged from host
tap0 bridge connected to bridge
tap1 bridge connected to bridge
==================================================================
bridge name bridge id STP enabled interfaces
br0_eth1 8000.525400698995a no tap0
tap1
select action:
1 - Dedicate to CHARON
2 - Release to host
3 - Create Bridge with TAPs
4 - Remove Bridge
5 - Print status
6 - Exit
:> E
|