1 .\" $NetBSD: srtconfig.1,v 1.2 2006/12/29 10:39:11 wiz Exp $
2 .\" This file is in the public domain.
8 .Nd configure srt interfaces
36 configures, or queries the configuration of,
41 interface parcels packets out to other interfaces based on their source
42 addresses (the normal routing mechanisms handle routing decisions based
43 on destination addresses).
44 An interface may have any number of routing choices; they are
45 examined in order until one matching the packet is found. The
46 packet is sent to the corresponding interface.
47 (Any interface, even another
49 interface, may be specified; if the configurations collaborate to cause
50 a packet to loop forever, the system will lock up or crash.)
52 When run with only one argument,
54 prints the settings for the specified interface.
56 When run with two arguments,
58 prints the settings for the routing choice whose number is given as the
63 deletes a routing choice, identified by its number.
64 Other choices with higher numbers, if any, will be renumbered
69 form adds a choice; the other arguments describe it, and are documented
71 The new choice is added at the end of the list.
75 form replaces an existing choice, given its number.
76 The other arguments describe the new choice which is to replace
77 whatever currently exists at the given number
80 A choice is described by four pieces of information: a source address
81 and mask, which are used to determine which choice an outgoing packet
82 uses, a destination interface, and a destination address for the new
84 The source address and mask are specified like any Internet
85 addresses (for convenience, the mask may instead be specified as a
87 followed by a small integer, CIDR-style; note that in this case the
88 mask must still be a separate argument; it cannot be appended to the
89 end of the source address argument).
91 Each srt interface also has ordinary source and destination addresses
94 like any other interface; these should not be confused with any of the
98 .Aq mouse@rodents.montreal.qc.ca