Difference between revisions of "Multiwan Linux"

From MS Computech
Jump to: navigation, search
(Created page with 'Multiwan Script by Robert Kurjata http://www.ssi.bg/~ja/#routes <pre class:"brush:bash" #!/bin/bash # This script is done by : Robert Kurjata Sep, 2003. # feel free to use it i…')
 
Line 3: Line 3:
 
http://www.ssi.bg/~ja/#routes
 
http://www.ssi.bg/~ja/#routes
  
<pre class:"brush:bash"
+
<pre class="brush:bash"
 
#!/bin/bash
 
#!/bin/bash
 
# This script is done by : Robert Kurjata Sep, 2003.
 
# This script is done by : Robert Kurjata Sep, 2003.
Line 88: Line 88:
 
nano /etc/iproute2/rt_tables
 
nano /etc/iproute2/rt_tables
 
</pre>
 
</pre>
<pre class:"brush:text"
+
<pre class="brush:text"
 
#
 
#
 
# reserved values
 
# reserved values
Line 107: Line 107:
 
nano /etc/network/interfaces
 
nano /etc/network/interfaces
 
</pre>
 
</pre>
<pre class:"brush:text"
+
<pre class="brush:text"
 
auto lo
 
auto lo
 
iface lo inet loopback
 
iface lo inet loopback

Revision as of 18:41, 2 July 2009

Multiwan Script by Robert Kurjata

http://www.ssi.bg/~ja/#routes


Another Routing for multiple uplinks

http://www.debian-administration.org/articles/377

<pre>
nano /etc/iproute2/rt_tables
Network interface config
<pre>
nano /etc/network/interfaces
make it up and balance
<pre>
ifup -a
ip route add default scope global nexthop via 1.0.0.2 dev eth1 weight 1 nexthop via 2.0.0.2 eth2 weight 1