Changes

no edit summary
Line 36: Line 36:  
* If the connection was successful, we can start the traffic split configuration. First, we'll need to add an additional routing table. This can done by issuing the following command:
 
* If the connection was successful, we can start the traffic split configuration. First, we'll need to add an additional routing table. This can done by issuing the following command:
   −
  echo "5 rt" >> /etc/iproute2/rt_tables
+
  echo "<span style="color:red>5 rt</span>" >> <span style="color:red>/etc/iproute2/rt_tables</span>
    
This adds a new routing table called ''rt''. ''/etc/iproute2/rt_tables'' is a file used by the ''iproute2'' utilities which translate user friendly names given on the command line into integer values used by the kernel. So the number ''5'' is just the way for the ''iproute'' to identify the table.
 
This adds a new routing table called ''rt''. ''/etc/iproute2/rt_tables'' is a file used by the ''iproute2'' utilities which translate user friendly names given on the command line into integer values used by the kernel. So the number ''5'' is just the way for the ''iproute'' to identify the table.
Line 50: Line 50:  
         option 'target' '0.0.0.0'
 
         option 'target' '0.0.0.0'
 
         option 'netmask' '0.0.0.0'
 
         option 'netmask' '0.0.0.0'
         option 'table' 'rt'
+
         option 'table' '<span style="color:red>rt</span>'
         option gateway '172.16.0.1'
+
         option gateway '10.0.0.5'
 
   
 
   
 
  config rule
 
  config rule
 
         option in 'lan'
 
         option in 'lan'
         option src '192.168.2.128/25'
+
         option src '<span style="color:red>192.168.1.128/25</span>'
         option lookup 'rt'
+
         option lookup '<span style="color:red>rt</span>'
 
         option priority '10'
 
         option priority '10'

Navigation menu