Next Previous Contents

9. Neighbor Configuration

9.1 Section [RasSrv::Neighbors]

If the destination of an ARQ is unknown, the gatekeeper sends LRQs to its neighbors to ask if they have the destination endpoint. A neighbor is selected if one of its prefixes matches the destination or it has ``*'' prefix. More than one prefix can be specified. You can use special characters ``.'' and ``!'' to do wildcard matching and disable a specific prefix.

Conversely, the gatekeeper will only reply to LRQs sent from neighbors defined in this section. If you specify an empty prefix, no LRQ will be sent to that neighbor, but the gatekeeper will accept LRQs from it. By the empty prefix it is meant a single semicolon appended to the neighbor entry. Example:

GK1=192.168.0.5;

If you skip the semicolon, LRQs will be always sent to this neighbor.

The password field is used to authenticate LRQs from that neighbor. See section [Gatekeeper::Auth] for details.

Neighbor handling has changed significantly from version 2.0 to version 2.2. Neighbors can be specified now in two ways - the old one and the new one.

Entry in the old format:

GKID=ip[:port;prefixes;password;dynamic]

Example:

GK1=192.168.0.5;*
GK2=10.0.1.1:1719;035,036;gk2
GK3=gk.citron.com.tw;;gk3;1

Entry in the new format:

GKID="GnuGK" | "CiscoGK" | "ClarentGK" | "GlonetGK"

Example:

[RasSrv::Neighbors]
GK1=CiscoGK
GK2=GnuGK

[Neighbor::GK1]
GatekeeperIdentifier=GK1
Host=192.168.1.1
SendPrefixes=02
AcceptPrefixes=*
ForwardLRQ=always

[Neighbor::GK2]
GatekeeperIdentifier=GK2
Host=192.168.1.2
SendPrefixes=03,0048
AcceptPrefixes=0049,001
ForwardHopCount=2
ForwardLRQ=depends

The new format specifies in [RasSrv::Neighbors] section only gatekeeper types and configuration for each neighbor is placed in a separate section.

9.2 Section [RasSrv::LRQFeatures]

Defines some features of LRQ and LCF.

Section [Neighbor::...]

Sections starting with [Neighbor:: are for neighbor specific configuration.


Next Previous Contents