Good day all,
I am new to the forum. I am in a bit of problem with our internet connections with 2 providers, as i have recently joined and do not quite understand the configurations.
we use juniper srx series, below is the configuration with details ((note, i have used dummy ip's, asn etc).
ISP1-AS65333 (10.2.2.1 is its peer ip)
ISP2-AS65222 (10.5.5.1 is its peer ip)
192.168.241.0/24 & 192.168.242.0/24 & 192.168.100.0/24 - Additional IP ranges assigned to us.
(Sorry, but i am not sure it is assigned by which ISP)
Our main ip ranges (used for proxy internet, email services etc) are in 192.168.241.0/24 & 192.168.242.0/24 ranges, 192.168.100.0/24 is another range which is used for specific case based outbound traffic.
My main queries are:-
- With the two providers, is our internet outbound & inbound loadbalanced? (i say no)
- which provider link will be used to advertise 192.168.241.0/24 & 192.168.242.0/24? (i say its ISP2)
- basic understanding on how the 192.168.241.0/24 & 192.168.242.0/24 are advertised, so which link will the incoming traffic come from for these IP ranges & what in the config defines this?
=======================================================
set routing-options static route 0.0.0.0/0 next-hop 10.2.2.1
set routing-options static route 0.0.0.0/0 no-readvertise
set routing-options static route 0.0.0.0/0 preference 188
set routing-options static route 192.168.100.0/24 next-hop 192.168.241.122
set routing-options static route 192.168.100.0/24 preference 1
set policy-options policy-statement sendroute-isp1 term 1 from route-filter 192.168.100.0/24 exact
set policy-options policy-statement sendroute-isp2 term 1 from route-filter 192.168.100.0/24 exact
set policy-options policy-statement getroute-isp1 term 1 from route-filter 192.168.100.0/24 exact
set policy-options policy-statement getroute-isp2 term 1 from route-filter 192.168.100.0/24 exact
policy-statement sendroute-isp1 {
term 1 {
from {
protocol static;
route-filter 192.168.241.0/24 exact;
route-filter 192.168.100.0/24 exact;
route-filter 192.168.242.0/24 exact;
}
then accept;
}
term 2 {
then reject;
policy-statement sendroute-isp2 {
term 1 {
from {
protocol static;
route-filter 192.168.100.0/24 exact;
route-filter 192.168.241.0/24 orlonger;
route-filter 192.168.242.0/24 orlonger;
}
then accept;
}
term 2 {
then reject;
policy-statement getroute-isp1 {
term 1 {
from {
protocol bgp;
route-filter 192.168.241.0/24 orlonger;
route-filter 192.168.242.0/24 orlonger;
route-filter 192.168.100.0/24 exact;
}
then reject;
}
term 2 {
then accept;
}
}
policy-statement getroute-isp2 {
term 1 {
from {
protocol bgp;
route-filter 192.168.241.0/24 orlonger;
route-filter 192.168.242.0/24 orlonger;
route-filter 192.168.100.0/24 exact;
}
then reject;
}
term 2 {
then accept;
group BGP-65333 {
type external;
description "BGP with ISP1";
import getroute-isp1;
export sendroute-isp1;
peer-as 65333;
multipath multiple-as;
neighbor 10.2.2.1;
}
group BGP-65222 {
type external;
description "eBGP with ISP2";
import getroute-isp2;
export sendroute-isp2;
peer-as 65222;
multipath multiple-as;
neighbor 10.5.5.1;
j.fw> show route 0.0.0.0
inet.0: 61012 destinations, 60840 routes (60720 active, 0 holddown, 29 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[BGP/170] 9w1d 09:01:29, MED 0, localpref 100, from 10.2.2.1
AS path: 65333 I, validation-state: unverified
to 10.2.2.1 via ge-5/0/1
> to 10.5.5.1 via ge-5/0/2
[BGP/170] 8w1d 03:05:27, localpref 100
AS path: 65222 I, validation-state: unverified
> to 10.5.5.1 via ge-5/0/2
[Static/188] 39w2d 06:05:18
> to 10.2.2.1 via ge-5/0/1
=====================================
Please do help on this for me to understand it. thank you all.
#junosrouting#SRX