diff options
author | Kirill Semenkov <semenkovk@gmail.com> | 2018-12-17 12:10:50 +0300 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-04-20 21:10:41 -0700 |
commit | b5bb3cdf925730a693eed9e2528b92c04975c7d0 (patch) | |
tree | b00ecddfa5a28fb50b8c52201b190199574fa28b /doc | |
parent | Veth support added (diff) | |
download | netifrc-b5bb3cdf925730a693eed9e2528b92c04975c7d0.tar.gz netifrc-b5bb3cdf925730a693eed9e2528b92c04975c7d0.tar.bz2 netifrc-b5bb3cdf925730a693eed9e2528b92c04975c7d0.zip |
Veth support added
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/net.example.Linux.in | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in index 3b414ba..6fc6094 100644 --- a/doc/net.example.Linux.in +++ b/doc/net.example.Linux.in @@ -915,6 +915,30 @@ #openvpn_tun1="--user foo --group bar" #----------------------------------------------------------------------------- +# Virtual interface device (veth) +# For veth support install iproute2 and awk +# +# The script uses "standard" ways of IP-address assignement in net.lo script. Network namespaces are not implemented here +# because net.lo currently knows nothing about network namespaces. +# +# You must specify veth interface type to avoid interference with "normal" interfaces startup +# The interface type must be set for both peers +#type_veth0="veth" +# Here we declare peers for "ip link add" command +#veth_veth0="veth0 veth1" +#config_veth0="192.168.0.1/24" +# +# Avoids race +#rc_net_veth1_need="net.veth0" +#type_veth1="veth" +# Both peers are created when the first one starts, we don't need to create the second peer +# explicitly, we just configure it +#veth_veth1_create="no" +#config_veth1="192.168.2.1/24" +# + + +#----------------------------------------------------------------------------- # Bridging (802.1d) # Preferred: iproute2, emerge sys-apps/iproute2 # Legacy: brctl, emerge net-misc/bridge-utils |