[j-nsp] Source Based Routing

Jonathan Looney jonlooney at gmail.com
Wed Aug 13 08:00:26 EDT 2008


>From the CLI, use these commands:

set vrouter "trust-vr"
set sibr-routing enable
set route source in-interface <incoming_int> 192.168.10.0/24 interface
<adsl_int> gateway <adsl_gw>
exit

Where:
<inside_int> is the interface on which the traffic will be received (e.g.
ethernet2, trust, bgroup0, etc.)
<adsl_int> is the outbound interface (in this case, it sounds like it will
be an ADSL interface
<adsl_gw> is the IP address of the next-hop on the outbound interface (I
believe this part may be optional)

The above will work if both are in the same VR.  Because you have put them
in separate VRs, I'm not sure whether that will work.

-Jonathan


On Wed, Aug 13, 2008 at 5:27 AM, SunnyDay <cscosunny at gmail.com> wrote:

> Hello I trying to configure source based routing on a ssg140.
>
> The ssg has 3 adsl lines 2 adsl cards and one bridged pppoe on an Ethernet.
>
> I have put the interfaces to the untrust-vr and local network to the
> trust-vr with the appropriate zones.
>
> I have 4 subnets 192.168.10.1 192.168.20.1 192.168.30.1 192.168.40.1.
>
>  I have configured a default route to the trust-vr pointing the untrust-vr.
>
> At the untrust-vr I have source based routing e.g 192.168.10.0/24 to leave
> through adsl/1.but this does not seem to work.
>
> When I put the source based routing to the rust-vr traffic leaves for
> adsl/1
> but internal traffic goes also.
>
> Anyone has worked with similar scenario icould use some help here.
>
> Thanks
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list