Table of Contents
General description
It is strongly recommended to use only physical network adapters for CHARON-VAX 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-VAX instances to their own virtual interfaces.
There are 2 ways to create the LINUX virtual network Interfaces ("TUN/TAP"):
Using "ncu" utility
Manually
Using "ncu" utility to establish CHARON virtual network
Login a root. Start "ncu" utility:
# ncu
CHARON Network Configuration Utility, STROMASYS (c) 2014
Interfaces Dedicated to State
---------- ------------ ------------
eth0 host connected to host
eth1 host connected to host
lo host unmanaged to host
select action:
D - Dedicate to CHARON
R - Release to host
B - Create Bridge with TAPs
C - Destroy Bridge
S - Print status
E - Exit
:> B
|
Enter "B" or "b" 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 a number of the 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
grep: /etc/ncu_br.cfg: No such file or directory
Cannot change rx-checksumming
Could not change any device features
Actual changes:
tx-checksumming: off
tx-checksum-ip-generic: off
tcp-segmentation-offload: off
tx-tcp-segmentation: off [requested on]
tx-tcp-ecn-segmentation: off [requested on]
tx-tcp6-segmentation: off [requested on]
udp-fragmentation-offload: off [requested on]
Actual changes:
scatter-gather: off
tx-scatter-gather: off
tx-scatter-gather-fraglist: off
generic-segmentation-offload: off [requested on]
Cannot change tx-vlan-offload
Cannot change rx-vlan-offload
Binding bridge to eth1...
br0_eth1 Route[] eth0
Forming the bridge: ..1..2..3..4..5.. addif tap0 .. addif tap1 ..7..8 done!
Formed bridge br0_eth1 attached over eth1...
select action:
D - Dedicate to CHARON
R - Release to host
B - Create Bridge with TAPs
C - Destroy Bridge
S - Print status
E - Exit
:> S
|
Now enter "S" or "s" to see the created virtual interfaces:
Interfaces Dedicated to State
---------- ------------ ------------
eth0 host connected to host
eth1 bridge connected to bridge
lo host unmanaged to host
tap0 bridge unmanaged to bridge
tap1 bridge unmanaged to bridge
select action:
D - Dedicate to CHARON
R - Release to host
B - Create Bridge with TAPs
C - Destroy Bridge
S - Print status
E - Exit
:> E
|