Technical data

Gateway Routing Daemon (GATED) Configuration Reference
A.19 Sample Host Configurations
backbone {
authype none;
interface 19.1.1.19
cost 1 {
retransmitinterval 5;
transitdelay 1;
priority 1;
hellointerval 60;
routerdeadinterval 180;
};
};
};
export proto ospfase type 1 {
proto bgp as 2021 {
ALL
metric 1; };
proto direct {
ALL
metric 1; };
};
export proto bgp as 2021 {
proto direct {
ALL
metric 1; } ;
proto ospfase {
ALL
metric 1; } ;
};
In this example, two autonomous systems (one internal, one external) are directly
connected through a router that is attached to a backbone speaking OSPF.
The AS number 1019 is defined early, because it is a definition statement that
occurs again in the first protocol statement, which enables BGP. The first export
statement directs GATED to advertise routes from the internal group AS 1019.
The group AS 1019 is running OSPF as its interior gateway protocol and is
running BGP as its exterior routing protocol to route information to the external
group AS 2021.
Routes to two local Ethernets in AS 1019, identified as 119.2.128.18 and
119.4.128.18 (119.0.0.0 mask 255.0.0.0), are advertised along with the OSPF
backbone (19.1.1.19). The parameters for AS path, path origin, and transitive
optional attributes, including transmission intervals, are defined. The second
export statement announces the default route to AS 2021 with a metric of 1.
A.20 For More Information
For more information about configuring GATED routing, visit the GATED
Consortium web page:
www.gated.org
Gateway Routing Daemon (GATED) Configuration Reference A–47