Saturday, August 25, 2012

Zeroshell- Netbalancer and failover Configuration

In my office network I have one broadband and one T1 line.I planning a solution to accomplish that if any one connection disconnected the end user need not be affected at the same time to implement this the cost has to be considered. After long way of hunting finally I found Zeroshell it very lite and easy to implement and can be configure using a browser.

My scenario


Let Start

1. Downloaded Zeroshell from this Here and write it to cd
2. Boot the system with zeroshell cd
3. After Booting into the press "I" to enter into interface configuration mode where I changed Ip address of ETH00 to 10.10.20.20 and subnet mask to 255.255.255.192 default gateway as 10.10.20.20 ( later it will be disabled )
4. Then rebooted the system
5. After Booting go to any system in that network open a browser and type ip address in a address bar as 10.10.20.20 and hit enter it will now ask user name and password as I didn't changed default I entered admin as user name and zeroshell as password and entered into console.
6. now created a profile in hard disk so that in the future the configuration will be saved otherwise everytime after rebooting we need to configure again and again.
7. To create profile go to home page and find the profile tab and hit enter. It will now show the hardisk as sda or hda select it and click create profile now in the form filled out description abt the server (optiona) and everything filled out and save.
8. Profile created now I configured interfaces by go to network tab and configured ETH01 and ETH02 with 219.xxx.xxx.xx and 192.168.3.2 respectively.
9. Now configured Nat for ETH01 and ETH02.
10. After that configured gateway by go to Netbalancer and add default gateway for Both T1 and Broadband routers as their respective Ip addresses.
11. Disable the default gateway the system selected itself as 10.10.20.20 and make other two gateways active. Make ICMP failover checking enabled, and give failover addresses as google's and open dns addresses (8.8.8.8, 4.2.2.2, 208.67.222.222)and enabled them.
12. and then in the Http prox tab add capturing rules for eth00 and enable http proxy.
13. Its a transparent Proxy so we don't need to change anything in client system. We just add default gateway and dns server address as zeroshell's address (10.10.20.20 in my case).
14. If you want add QOS then enter into qos tab and add class manager as you required I did like accounts, reception, backoffice, billing, IT Dept and administrators)
15. Configure Classifiers (ie users belonging to that class managers ) If the network been segregated as separate departments it will be so easy as we have to just mention starting Ip and end Ip add.
16. Now add class to interface eth00 in interface manager tab in qos.

Thats it now the network will be without internet failure ..