
Configuring gated
Configuring the OSPF Protocol
Chapter 378
configured on a per-interface basis. If a router has interfaces to more
than one network, different passwords can be configured. This is
illustrated in Figure 3-11.
Figure 3-11 Simple Password Authentication
The following example shows an authtype statement that enables a
simple password authentication for the routers in the area and an
authkey statement in the interface definition that defines a password
(travis) to validate protocol packets received by the router:
area 0.0.0.1 {
authtype simple ;
networks {
193.2.1.16 mask 0xfffffff0 ;
193.2.1.32 mask 0xfffffff0 ;
};
interface 193.2.1.35 nonbroadcast cost 5 {
routers {
193.2.1.33 eligible ;
193.2.1.46 eligible ;
};
priority 15 ;
enable ;
hellointerval 5 ;
routerdeadinterval 20 ;
A
C
B
LAN 1
LAN 2
authkey "travis"
authkey "pepe"
Kommentare zu diesen Handbüchern