US Robotics USR2410 Instrukcja Użytkownika Strona 65

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 107
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 64
53
dsdv_nat_kernel.click
// This file is based on the automatically generated file at Thu Dec 29 18:19:01 CST 2005
with the following command:
// make-dsdv-config.pl -i ath0 -a 192.168.0.3 -u
// the DSDV portion of this configuration performs routing lookup *after* the interface
// queue
//The NAT is based off of the mazu-nat and thomer-nat examples available in the
click/conf/ directory
//One device (ath0) will communicate with the grid mesh network using the DSDV protocol,
while the other
//device (eth0) will communicate with an internal network. Traffic will be forwarded to
and from a server
// with IP 192.168.1.13
AddressInfo(
//me is the mesh network address of this router
me 192.168.0.5 00:11:95:F8:AA:B9,
//intern is the address of the non-grid device
intern 192.168.1.5 00:90:D1:08:5E:7A,
//intern_server is the ip address to which incoming packets are re-directed
intern_server 192.168.1.13
);
//Internal network (non-mesh) gateway device
elementclass GatewayDevice {
$device |
from :: FromDevice($device)
-> output;
input -> q :: Queue(1024)
-> to :: ToDevice($device);
ScheduleInfo(from .1, to 1);
}
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
Przeglądanie stron 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 106 107

Komentarze do niniejszej Instrukcji

Brak uwag