• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

Juniper SSG 140 Configuration.

Hello Experts,
We are using two gateway to connect it to the external network. We have different supplier who has a web portal to connect to their accounting systems but due to 2 gateway from our side our public ip keep changing and they advise to keep it one. So in our source routing list, we manually add internal ip addresses of those accountant who connect to the supplier web portal and its working fine. Now there is a similar requirement for the whole company for one more site. We don't want to put 0.0.0.0 to use eth7 as a particular gateway to connect internet. We just want to put a routing policy so that if user goes to www.abc.com they will only connect through that particular gateway. Is this possible?
Regards.
0
ibu1
Asked:
ibu1
  • 7
  • 7
1 Solution
 
QlemoC++ DeveloperCommented:
Of course. Just use destination routing; however, you will have to resolve site names to IP addresses, as you can't route to dynamic target IPs.
0
 
ibu1Author Commented:
Thanks for the reply. Can you please give example when to use destination routing and when to use source routing. As according to me destination route is used when somebody wants to connect to our network. Below is the example of our destination route. What does it mean?
IP/Netmask                                 Gateway                        Interface                    
0.0.0.0/0                                        XX.XXX.XX.XXX             ethernet0/7
0
 
QlemoC++ DeveloperCommented:
It is much simpler: If the destination is known, and the source does not matter, you use destination routing (which is the "default" routing applied). Source routing is used if you want a specific source to be routed differently to a specific or unknown target.
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 
QlemoC++ DeveloperCommented:
The above estination route is the default route, applied to any unknown target. It says "send all traffic you do not have routes for to gateway xx.xxx.xx.xxx using interface eth0/7".
0
 
ibu1Author Commented:
So if I will add www.abc.com to the destination router means the traffic from www.abc.com comes through the gateway xx.xxx.xx.xxx using interface eth0/7". But in my question I want to send traffice to this particular site, not receive the traffic.
0
 
QlemoC++ DeveloperCommented:
No, you are getting that wrong. "Source IP" is always based on the sender, "Destination IP" on the receiver.
0
 
ibu1Author Commented:
Hello,
Not getting what you mentioned above.
Regards.
0
 
QlemoC++ DeveloperCommented:
If www.abc.com sends traffic, www.abc.com's IP is the source IP, not the destination IP. Source = from, destination = to. It's really nothing difficult.
0
 
ibu1Author Commented:
So, why we create destination routing if www.abc.com is the source?
0
 
QlemoC++ DeveloperCommented:
if user goes to www.abc.com 
sound as www.abc.com being the destination!?
If you are asking for how to route the reply, that is different - the stateful firewall on SSG keeps the state of the session created with the first packet sent to www.abc.com for some time, and that session includes the internal and external address and port information. Routing is not used at that time (the translated destination address, which is internal, is on the interface's subnet).
0
 
ibu1Author Commented:
Is there something missing in your above comment. Means some texts are missing?
0
 
QlemoC++ DeveloperCommented:
Nothing missing there. Again, if you go to somewhere, that is the destination. It doesn't matter whether you go from somewhere home (then home is your destination), or from home to somewhere (then somewhere is the destination).
0
 
ibu1Author Commented:
Thanks for the patience in the whole process.
0
 
ibu1Author Commented:
I found very clear definition for destination and source routing on the Cyberoam site.
1.    Destination specific route  
Required when:

    Internal users require access to externally hosted servers
    Packets for external server should always be routed through a designated gateway and not the default gateway


2. Source based routing
Example:
Mail server hosted internally is used by remote users to send and receive mails and the packets from mail server should explicitly be routed through Gateway 2.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 7
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now