root/trunk/etcnet/examples/routing-LARTC-1/HEADER.txt

Revision 597, 0.8 kB (checked in by pilot, 3 years ago)

adding example, adjusting docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 This is a routing example from LARTC for multiple uplinks
2 (http://lartc.org/howto/lartc.rpdb.multiple-links.html).
3 The example is left as is with the following assumptions:
4 IF0=localnet
5 IF1=uplinkA
6 IF2=uplinkB
7 IP1=80.90.100.180
8 IP2=90.100.110.33
9 P1=80.90.100.182
10 P2=90.100.110.62
11 P1_NET=80.90.100.180/30
12 P2_NET=90.100.110.32/27
13 T1=80
14 T2=90
15
16 I have skipped the following because we will already have these
17 route records in 'local' routing table:
18 ip route add $P1_NET dev $IF1 src $IP1 table T1
19 ip route add $P2_NET dev $IF2 src $IP2 table T2
20 ip route add $P1_NET dev $IF1 src $IP1
21 ip route add $P2_NET dev $IF2 src $IP2
22
23 >  Now, this is just the very basic setup. It will work for
24 > all processes running on the router itself, and for the
25 > local network, if it is masqueraded.
Note: See TracBrowser for help on using the browser.