- This topic is empty.
April 4, 2011 at 6:19 am #42930PhrixusMember
I have 3 NIC in my new zeroshell box:
ETH00 – Has 6 VLANs and is connected to a Cisco 2960XL switch – all vlan and internet traffic works as expected.
ETH01 – Shaw Cable connection plugged directly into the modem and is assigned a dynamic IP from shaw.
ETH02 – Plugged into an ASDL modem
ppp0 – PPOE connection through ETH02 (statically assigned IP from service provider)
I had just ETH01 (Cable) plugged in, everything was fine. When I added the PPOE connection, it replaced the cable connection as the default gateway. Everything works fine now on the ADSL connection.
What I want to do is set ETH01 (Cable) as the primary connection (metric 2) and have the ppp0 (ADSL) as a load balance/failover, as well as force one particular port to use ADSL.
As soon as I enable Net Balancer, I lose my internet on all interfaces and vlans.
I am assuming I am missing some basic important step. All of the diagrams and articles i have seen seem to have a router before the zeroshell box. My goal is to get rid of all the extra routers, is this necessary? or am I missing another step? I am guessing I need to make a change to the default gateway, but I would think that the whole point of net balancer is that it would do that.
I am booting off 1.0.beta14
My routing table:
Destination Netmask Type Metric Gateway Interface Flags State Source
22.214.171.124 255.255.255.255 Host 0 none ppp0 UH Up Auto
192.168.6.0 255.255.255.0 Net 0 none ETH00 vlan 6 U Up Auto
192.168.5.0 255.255.255.0 Net 0 none ETH00 vlan 5 U Up Auto
192.168.4.0 255.255.255.0 Net 0 none ETH00 vlan 4 U Up Auto
192.168.2.0 255.255.255.0 Net 0 none ETH00 vlan 2 U Up Auto
192.168.1.0 255.255.255.0 Net 0 none ETH00 U Up Auto
192.168.250.0 255.255.255.0 Net 0 none VPN99 U Up Auto
192.168.222.0 255.255.255.0 Net 0 none ETH00 vlan 3 U Up Auto
126.96.36.199 255.255.252.0 Net 0 none ETH01 U Up Auto
DEFAULT GATEWAY 0.0.0.0 Net 0 none ppp0 U Up Auto
Result of failover test in net balancer log:
11:04:11 +++ Testing across the gateway ADSL (Interface: ppp0) +++
11:04:11 [188.8.131.52] : Success (Round Trip Time: 127 ms)
11:04:11 [184.108.40.206] : Success (Round Trip Time: 67.1 ms)
11:04:11 +++ Testing across the gateway CABLE (Interface: ETH01) +++
11:04:14 [220.127.116.11] : ERROR
11:04:14 [18.104.22.168] : Success (Round Trip Time: 48.2 ms)
I have added 2 gateways to the gateway list:
ppp0 weight 1
ETH01 weight 2
I have ETH01 and ppp0 in my NAT table.January 12, 2012 at 2:02 pm #51664JeroenStMember
I think you have to use static ip’s in the netbalancer, not device names (which would be easier)..
- You must be logged in to reply to this topic.