__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# Topology for Bond mode 1,5,6 testing
#
# +-------------------------------------+
# | bond0 |
# | + | Server
# | eth0 | eth1 eth2 | 192.0.2.1/24
# | +-------------------+ | 2001:db8::1/24
# | | | | |
# +-------------------------------------+
# | | |
# +-------------------------------------+
# | | | | |
# | +---+---------+---------+---+ | Gateway
# | | br0 | | 192.0.2.254/24
# | +-------------+-------------+ | 2001:db8::254/24
# | | |
# +-------------------------------------+
# |
# +-------------------------------------+
# | | | Client
# | + | 192.0.2.10/24
# | eth0 | 2001:db8::10/24
# +-------------------------------------+
source bond_topo_2d1c.sh
setup_prepare()
{
gateway_create
server_create
client_create
# Add the extra device as we use 3 down links for bond0
local i=2
ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns}
ip -n ${g_ns} link set s${i} up
ip -n ${g_ns} link set s${i} master br0
ip -n ${s_ns} link set eth${i} master bond0
tc -n ${g_ns} qdisc add dev s${i} clsact
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Makefile | File | 492 B | 0644 |
|
| bond-arp-interval-causes-panic.sh | File | 1.27 KB | 0755 |
|
| bond-break-lacpdu-tx.sh | File | 1.87 KB | 0755 |
|
| bond-eth-type-change.sh | File | 2.3 KB | 0755 |
|
| bond-lladdr-target.sh | File | 1.77 KB | 0755 |
|
| bond_macvlan_ipvlan.sh | File | 2.98 KB | 0755 |
|
| bond_options.sh | File | 10.25 KB | 0755 |
|
| bond_topo_2d1c.sh | File | 3.72 KB | 0644 |
|
| bond_topo_3d1c.sh | File | 1.45 KB | 0644 |
|
| dev_addr_lists.sh | File | 2.05 KB | 0755 |
|
| lag_lib.sh | File | 4.52 KB | 0644 |
|
| mode-1-recovery-updelay.sh | File | 1.25 KB | 0755 |
|
| mode-2-recovery-updelay.sh | File | 1.25 KB | 0755 |
|