B.7 Definition StatementsDefinition statements are general configuration statements that relate to more than one protocol. Definition statements must appear before any protocol statements in gated.conf . The three definition statements are:
Changes the list of addresses about which all routing information is ignored. Sometimes a misconfigured system sends out obviously invalid destination addresses. These invalid addresses, called martians, are rejected by the routing software. This command allows changes to the list of martian addresses. A martian address can be specified as a host address by using the host keyword before the address, or as a network address by simply specifying the address.
An address mask can be defined for a network address. The mask can be
defined in dotted decimal notation using the
mask
keyword or as
a numeric prefix length using the
masklen
keyword. The address
masks gated contains a standard martian list of addresses that are known to be invalid. This is the default martian list. The option default allow removes all of the standard entries from the martians list and permits unrestricted routing. Don't do this if you're on a connected network. Here is a sample of each definition statement:
autonomoussystem 249 ; routerid 172.16.12.2 ; martians { host 0.0.0.26 ; 192.168.0.0 masklen 16 allow ; } ; The statements in the sample perform the following functions:
|
|