Revision 4116db18 doc/bird.sgml

View differences:

doc/bird.sgml
2420 2420
you don't have any specific destination for them and you don't want to send
2421 2421
them out through the default route to prevent routing loops).
2422 2422

  
2423
<p>There are three types of static routes: `classical' routes telling to
2424
forward packets to a neighboring router, device routes specifying forwarding
2425
to hosts on a directly connected network and special routes (sink, blackhole
2426
etc.) which specify a special action to be done instead of forwarding the
2427
packet.
2423
<p>There are five types of static routes: `classical' routes telling
2424
to forward packets to a neighboring router, multipath routes
2425
specifying several (possibly weighted) neighboring routers, device
2426
routes specifying forwarding to hosts on a directly connected network,
2427
recursive routes computing their nexthops by doing route table lookups
2428
for a given IP and special routes (sink, blackhole etc.) which specify
2429
a special action to be done instead of forwarding the packet.
2428 2430

  
2429 2431
<p>When the particular destination is not available (the interface is down or
2430 2432
the next hop of the route is not a neighbor at the moment), Static just
......
2442 2444
 	with their weights.
2443 2445
	<tag>route <m/prefix/ via <m/"interface"/</tag> Static device
2444 2446
	route through an interface to hosts on a directly connected network.
2447
	<tag>route <m/prefix/ recursive <m/ip/</tag> Static recursive route,
2448
	its nexthop depends on a route table lookup for given IP address.
2445 2449
	<tag>route <m/prefix/ drop|reject|prohibit</tag> Special routes
2446 2450
	specifying to drop the packet, return it as unreachable or return
2447 2451
	it as administratively prohibited.
2448 2452

  
2449
	<tag>check link <M>switch</M></tag>
2450
	The only option of the static protocol. If set, hardware link
2451
	states of network interfaces are taken into consideration.
2452
	When link disappears (e.g. ethernet cable is unplugged),
2453
	static routes directing to that interface are removed. It is
2454
	possible that some hardware drivers or platforms do not
2455
	implement this feature. Default: off.
2453
	<tag>check link <m/switch/</tag>
2454
	If set, hardware link states of network interfaces are taken
2455
	into consideration.  When link disappears (e.g. ethernet cable
2456
	is unplugged), static routes directing to that interface are
2457
	removed. It is possible that some hardware drivers or
2458
	platforms do not implement this feature. Default: off.
2459

  
2460
	<tag>igp table <m/name/</tag> Specifies a table that is used
2461
	for route table lookups of recursive routes. Default: the
2462
	same table as the protocol is connected to.
2456 2463
</descrip>
2457 2464

  
2458 2465
<p>Static routes have no specific attributes.

Also available in: Unified diff