bonding 2 tap tunnels vpn
Доброго времени суток!
сделал два соединения через vpn на debian7 по этой инструкции
https://forums.openvpn.net/topic14153.html только в режиме balance-alb
на server.conf и server2.conf Я добавил строку
server 192.168.2.0 255.255.255.0
server 192.168.3.0 255.255.255.0
на сервере все запустилось хорошо, и bonding работает и каналы поднимаются.
ПРОБЛЕМА на клиенте... туннели поднимаются, но bond не поднимается.
выводит ошибку при рестарте
RTNETLINK answers: Cannot assign requested address
Failed to bring up bond0
done.
bond-client1 Link encap:Ethernet HWaddr 36:d1:fd:95:8d:77
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::34d1:fdff:fe95:8d77/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
bond-client2 Link encap:Ethernet HWaddr a6:0a:65:8e:b8:d5
inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::a40a:65ff:fe8e:b8d5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
eth0 Link encap:Ethernet HWaddr 00:0c:29:c5:47:74
inet addr:192.168.95.60 Bcast:192.168.95.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fec5:4774/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15674 errors:0 dropped:0 overruns:0 frame:0
TX packets:4988 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1438942 (1.3 MiB) TX bytes:919554 (898.0 KiB)
Interrupt:19 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Fri Apr 11 17:06:01 2014 TUN/TAP device bond-client1 opened
Fri Apr 11 17:06:01 2014 Persist state set to: ON
Fri Apr 11 17:06:01 2014 TUN/TAP device bond-client2 opened
Fri Apr 11 17:06:01 2014 Persist state set to: ON
RTNETLINK answers: File exists
Failed to bring up bond0.
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)