Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:routing [2007/04/01 10:52]
a Source routing (primoz pravi, da mu to deluje :) ) dvomim
linux:routing [2009/05/25 00:35]
Line 1: Line 1:
-====== Linux routing tips ====== 
  
-tweak linux [[:linux:sysctl|sysctl]], see [[:linux:sysctl#linux as router|this]] 
- 
-===== Source routing .. ===== 
- 
-   ip route add x.x.x.x/26 dev vlan501 src x.x.x.2 table link1 
-   ip route add default via x.x.x.1 table link1 
-   ip route add z.z.z.0/25 dev vlan2510 src z.z.z.20 table link2 
-   ip route add default via z.z.z.z.1 table link2 
-    
-   ip route add x.x.x.0/26 dev vlan501 src x.x.x.2 
-   ip route add z.z.z.0/25 dev vlan2510 src z.z.z.20 
-    
-   ip route add default via x.x.x.x.1 
-    
-   ip rule add from x.x.x.2 table link1 
-   ip rule add from z.z.z.20 table link2 
linux/routing.txt ยท Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready