· 7 years ago · Jun 12, 2018, 09:08 PM
1root@Hellbender:/home/ianseventh/Documents/scripts# ./loadbalance2.sh
2------------- load Balanced 192.168.1.1 => 10.64.64.64
3default
4 nexthop via 192.168.1.1 dev eth0 weight 200
5 nexthop via 10.64.64.64 dev ppp0 weight 10
610.64.64.64 dev ppp0 proto kernel scope link src 10.81.129.200
7169.254.0.0/16 dev wlan0 scope link metric 1000
8192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.1
9192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.12 metric 1
10Kernel IP routing table
11Destination Gateway Genmask Flags Metric Ref Use Iface
120.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
1310.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
14169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
15192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
16192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
17root@Hellbender:/home/ianseventh/Documents/scripts#