"Frank Kahle" <fr...@igs.net> writes:
For the sake of example, let's assume you're using RIP and you
have a static default route.
> How do I get gated to stop 'broadcasting' its default route.
A route export clause:
export proto rip {
proto static {
DEFAULT
restrict; };
};
> And or
> how can I get gated not to accept a new default route.
A route import clause:
import proto rip
{
DEFAULT
restrict;
};
Acee
I am currently running a FreeBSD 2.1R system as my core router with gated
3.5 beta 3 as the routing engine.
All in all it works fairly well, and I have mastered the mysteries of
route aggregation, importation, exportation and even BGP with three
peers.
My problem is this, I have disparate links and I'd like to be able to
make the outside world prefer one link over another by lenghthening the
AS path on one of the links.
This is a fairly common trick on Ciscos, where you simply say "aspath
prepend YOURAS YOURAS YOURAS" a few times on one of the links, then
advertise your routes over both links.
The slower link should get the longer AS path and so, act as a "hot
backup" in the event that the high speed link croaks.
There are other reasons to want to do this as well, notably when peering
with both SPRINT and UUNET. UUNET has a single AS for their entire
network, SPRINT has three. This can make life interesting when attempting
to balance the load on those links. We currently have 3 BGP peers, a 10
MBIT, a T1 and a fractional T1.
In any event, I thought before I tore into the code to add this
functionality, perhaps one of the gated gods had already done it, or
there is a workaround.
Actually prepending the AS a few times at output time is a piece of cake.
The real tough problem is dropping the clause into the parser. :-)
Any help at all would be appreciated.
Respectfully,
-----------------------------------------------------------------------------
Joe Portman - Alternate Access Inc. Affordable, Reliable Internet
ba...@aa.net Seattle: (206) 443-3408 Seattle: (206) 777-7777
Tacoma: (206) 927-6010 Federal Way: (206) 838-8457
Bellevue: (206) 455-8414 Olympia: (360) 458-7279
Enumclaw: (206) 862-9423 Black Diamond : (206) 288-8809
For free trial account: set modem to 8-n-1, login as "new"
For questions or support, call our voice line (206) 728-9585.
-----------------------------------------------------------------------------