Technical data

A.11.4 Sample Definition Statements ............................... A–15
A.12 Protocol Overview . . . ........................................ A–16
A.12.1 Interior Routing Protocols . . ................................ A–16
A.12.2 Exterior Routing Protocol. . . ................................ A–16
A.12.3 Router Discovery Protocol . . ................................ A–17
A.12.4 ICMP . . ................................................ A–17
A.12.5 Redirect ................................................ A–17
A.12.6 Kernel Interface . . ........................................ A–18
A.12.7 Static Routes ............................................ A–18
A.13 The ICMP Statement . ........................................ A–18
A.13.1 Tracing Options . . ........................................ A–18
A.14 Redirect Processing . . ........................................ A–19
A.15 The Router Discovery Protocol . . ................................ A–20
A.15.1 The Router Discovery Server ................................ A–20
A.15.2 The Router Discovery Client ................................ A–22
A.15.3 Tracing Options . . ........................................ A–23
A.16 The Kernel Statement ........................................ A–23
A.16.1 Forwarding Tables and Routing Tables . ....................... A–24
A.16.2 Updating the Forwarding Table .............................. A–24
A.16.2.1 Updating the Forwarding Table with the ioctl Interface . ....... A–24
A.16.2.2 Updating the Forwarding Table with the Routing Socket
Interface............................................. A–25
A.16.3 Reading the Forwarding Table ............................... A–25
A.16.4 Reading the Interface List . . ................................ A–26
A.16.5 Reading Interface Physical Addresses . . ....................... A–27
A.16.6 Reading Kernel Variables. . . ................................ A–27
A.16.7 Special Route Flags ....................................... A–27
A.16.8 Kernel Configuration Syntax ................................ A–28
A.16.9 Kernel Tracing Options .................................... A–29
A.17 Static Routes Statements ...................................... A–30
A.18 Control Statements . . ........................................ A–32
A.18.1 Route Filtering . . . ........................................ A–32
A.18.2 Matching AS Paths ....................................... A–33
A.18.2.1 AS Path-Matching Syntax ............................... A–33
A.18.2.2 AS Path Regular Expressions ............................ A–34
A.18.2.3 AS Path Terms ........................................ A–34
A.18.2.4 AS Path Operators ..................................... A–34
A.18.3 The Import Statement ..................................... A–35
A.18.3.1 Specifying Preferences . . ................................ A–35
A.18.3.2 Route Filters . ........................................ A–35
A.18.3.3 Importing Routes from BGP and EGP ...................... A–35
A.18.3.4 Importing Routes from RIP and Redirects ................... A–36
A.18.3.5 Importing Routes from OSPF ............................. A–37
A.18.4 The Export Statement ..................................... A–37
A.18.4.1 Specifying Metrics ..................................... A–37
A.18.4.2 Route Filters . ........................................ A–38
A.18.4.3 Specifying the Destination ............................... A–38
A.18.5 Specifying the Source ...................................... A–40
A.18.6 Route Aggregation ........................................ A–41
A.18.6.1 Aggregation and Generation Syntax ....................... A–42
A.19 Sample Host Configurations.................................... A–43
A.19.1 Sample RIP and EGP Configuration . . . ....................... A–44
A.19.2 Sample BGP and OSPF Configuration . . ....................... A–46
A.20 For More Information ........................................ A–47
xvi