US Robotics USR2410 Manual de usuario Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 107
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 59
48
Appe ndix B -
Click Modular Router Configuration Files
dsdv_kernel.click
// This file automatically generated at Thu Feb 2 10:57:28 CST 2006 with the following
command:
// make-dsdv-config.pl -k -i ath0 -a 192.168.0.2
// this configuration performs routing lookup *after* the interface
// queue, and only works with one interface.
AddressInfo(me 192.168.0.2 ath0:eth);
elementclass TTLChecker {
// expects grid packets with MAC headers --- place on output path to
// decrement the IP TTL for next hop and provide traceroute support.
//
// push -> push
//
// output [0] passes through the Grid MAC packets
//
// output [1] produces ICMP error packets to be passed back to IP
// routing layer
input -> cl :: Classifier(19/03, -);
cl [1] -> output; // don't try to dec ttl for non-IP packets...
cl [0]
-> MarkIPHeader(82)
-> cl2 :: IPClassifier(src host != me, -);
cl2 [0]-> dec :: DecIPTTL; // only decrement ttl for packets we don't originate
cl2 [1] -> output;
dec [0] -> output;
dec [1] -> ICMPError(me, 11, 0) -> [1] output;
};
li :: GridLocationInfo2(0, 0, LOC_GOOD false);
elementclass FixupGridHeaders {
$li | // LocationInfo element
input
-> FixSrcLoc($li)
-> SetGridChecksum
-> output;
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 106 107

Comentarios a estos manuales

Sin comentarios