Tiny Core Extensions > TCE Q&A Forum

bridge eth0 with wlan0 for firefox?

<< < (3/3)

nick65go:
@Rich: Thanks for the "bounding" tip. I found fresh info about bounding.
https://www.kernel.org/doc/html/latest/networking/bonding.html
https://wiki.archlinux.org/index.php/Wireless_bonding 
https://en.wikipedia.org/wiki/Link_aggregation

I started the investigation, but I think I bit more than I can chew. I have to digest a lot of information, about iproute2, bound, etc. And I kind of predict that the result isn't worth it. I was hoping for easy fruits to pick up  ;) 

nick65go:
my progress in learning to make slave NICs in a master bound:
https://www.kernel.org/doc/html/latest/networking/bonding.html#configuring-bonding-manually-via-sysfs
3.4 Configuring Bonding Manually via Sysfs (no need for iproute2)
Options for the bonding driver are supplied as parameters to the bonding module at load time, or are specified via /sysfs

--- Code: ---modprobe bonding
echo +bond0 > /sys/class/net/bonding_masters
echo active-backup > /sys/class/net/bond0/bonding/mode
echo 1000 > /sys/class/net/bond0/bonding/miimon
echo 12 > /sys/class/net/bond0/bonding/lp_interval

--- End code ---

To enslave interface eth0, eth1 to bond bond0:

--- Code: ---ifconfig bond0 192.168.0.1 netmask 255.255.255.0 up
echo +eth0 > /sys/class/net/bond0/bonding/slaves
echo +eth1 > /sys/class/net/bond0/bonding/slaves
--- End code ---

The bonding driver supports two schemes for monitoring a slave device’s link state: the ARP monitor and the MII monitor, but not simultaneously. To add ARP targets:

--- Code: ---echo 2000 > /sys/class/net/bond1/bonding/arp_interval
echo +192.168.0.100 > /sys/class/net/bond0/bonding/arp_ip_target
echo +192.168.0.101 > /sys/class/net/bond0/bonding/arp_ip_target
--- End code ---

12.1.1 MT(Maximizing Throughput) Bonding Mode Selection for Single Switch Topology [Router]
The active-backup [1], balance-tlb [2] and balance-alb [3] modes do not require any specific configuration of the switch.
so I eliminated modes: broadcast, balance-rr, balance-xor, 802.3ad,

active-backup [1]: the inactive backup devices are all connected to the same peer as the primary. load balancing mode (with link monitoring) will provide the same level of network availability, but with increased available bandwidth

balance-tlb [2]: balances outgoing traffic by peer (use MAC address), send all traffic across a single device; ARP monitor is not available.

balance-alb [3]: same as balance-tlb [2], + balance incoming traffic from "local" network peers; but network device driver must support changing the hardware address while the device is open.

Navigation

[0] Message Index

[*] Previous page

Go to full version