Reply To: help in multi isp aggregate internet and failover

Home Page Forums Network Management ZeroShell help in multi isp aggregate internet and failover Reply To: help in multi isp aggregate internet and failover

#48885

eldhose
Member

ok this is my openvpn conf from my system

:
#============================================================================#
# Specify the Hostname or the IP, the port and the protocol (tcp or udp) #
# to reach the OpenVPN Server. #
# The Hostname can be a dynamic FQDN such as a DynDNS one. #
#============================================================================#

remote 192.168.1.76 1194
proto tcp

#============================================================================#
# You must specify this parameter if you want the Username and Password #
# request to appear. Comment it if you only use X.509 Authentication. #
#============================================================================#

auth-user-pass

#============================================================================#
# You need to specify the file which contains the certificate (PEM format) #
# of the Certification Authority that signed the OpenVPN server certificate. #
# You can export it by clicking the hyperlink CA on the login page of #
# ZeroShell. #
# Notice that you need to specify this parameter also if you use #
#”Password Only” Authentication. #
#============================================================================#

ca CA.pem

#============================================================================#
# If you want to use the Client X.509 Authentication you must specify #
# a client certificate and the related private key in pem format. #
# You can merge both in the same file. #
#============================================================================#

;cert client.pem
;key client.pem

#============================================================================#
# You should not need to change these settings. #
#============================================================================#

comp-lzo
verb 3
mute 20
resolv-retry infinite
nobind
client
dev tap
persist-key
persist-tun

ok then i connected to my VMware..

this is my VMware network

:
root@zeroshell root> ifconfig
ETH00 Link encap:Ethernet HWaddr 00:0C:29:1C:1A:B9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33958 errors:0 dropped:0 overruns:0 frame:0
TX packets:22143 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5633366 (5.3 Mb) TX bytes:3400132 (3.2 Mb)
Interrupt:18 Base address:0x1400

ETH00:00 Link encap:Ethernet HWaddr 00:0C:29:1C:1A:B9
inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0x1400

VPN99 Link encap:Ethernet HWaddr 00:FF:26:98:26:4D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3477 errors:0 dropped:0 overruns:0 frame:0
TX packets:1434 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:473262 (462.1 Kb) TX bytes:287450 (280.7 Kb)

VPN99:00 Link encap:Ethernet HWaddr 00:FF:26:98:26:4D
inet addr:192.168.250.254 Bcast:192.168.250.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

dummy1 Link encap:Ethernet HWaddr 66:16:DC:BD:45:6A
inet addr:192.168.142.142 Bcast:192.168.142.255 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP 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)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:298086 errors:0 dropped:0 overruns:0 frame:0
TX packets:298086 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18688448 (17.8 Mb) TX bytes:18688448 (17.8 Mb)

……
ok

the above network having only one broadband modem at 192.168.1.1

i changed the VMware system adres from 192.168.0.1 to 192.168.1.75
and added a default gateway as 192.168.1.1

so for bonding, do i want to create a new gateway with new modem gateway
den create a vpn and bond the eth vit vpn???
is dat ryt???

or ….

so idea netsetter, i vil try..