Q1) One SSG 20 with 2 ADSL interfaces and i want to load balance 50% 50% between them?
Ans) Use source based routing u can force:
a) one network (say network A on trust) pass through ISP1 with metric 1 and through ISP2 with metric 2 (for failover)
b) other network (say network B on DMZ) pass through ISP2 with metric 1 and through ISP1 with metric 2 (for failover)
c) Monitor each ISP gateway IP so that if one ISP is down ur all traffic switch to other ISP
Like:
set interface ethernet0/0 monitor track-ip ip
set interface ethernet0/0 monitor track-ip threshold 10
set interface ethernet0/0 monitor track-ip ip "gw to ISP1" interval 3
set interface ethernet0/0 monitor track-ip ip "gw to ISP1" threshold 10
set interface ethernet0/1 monitor track-ip ip
set interface ethernet0/1 monitor track-ip threshold 10
set interface ethernet0/1 monitor track-ip ip "gw to ISP2" interval 3
set interface ethernet0/1 monitor track-ip ip "gw to ISP2" threshold 10
OR
If u have one flat network say 10.1.1.0/24 then you can divide that into four /27 networks: 10.1.1.0/27, 10.1.1.32/27, 10.1.1.64/27, 10.1.1.96/27 and 10.1.1.128/27.
a) You can route all traffic coming from 10.1.1.0/27 and 10.1.1.64/27 to ISP1 with metric 1 and and also ISP2 with metric 2 (for failover )
b) You can route all traffic coming from 10.1.1.32/27 and 10.1.1.128/27 to ISP2 with metric 1 and also ISP2 with metric 2 (for failover)
Note: Refer to http://kb.juniper.net/KB4246 and http://kb.juniper.net/KB4273 for configuring source based routing
Q2) 2 SSG 20 one with ADSL and the other with E1 and i want to load balance 50% traffic in ADSL and 50% trafffic in E1?
ANS) U can configure both ssg-20 in active/active mode (for load balancing traffic) with NSRP (Netscreen redundancy protocol)
Note: Refer to http://kb.juniper.net/ui.jsp?ui_mode=paging&charset=UTF-8&language=en-US&prior_transaction_id=1644014816&navigation_purpose=ANSWER&searchWithin=337641707&page=search_within_doc_page for configuring Active/Active NSRP
I hope this post will helpful for you and u accept my solution!!!
Thanks