View Single Post

  #1 (permalink)  
Old 11-05-2007, 11:52 PM
milank milank is offline
Junior Member
User
 
Join Date: Jun 2007
My distro: FEDORA
Posts: 3
Rep Power: 0
milank is on a distinguished road
Default Routing tables flushed

We have a gateway server fedora 6 with kernel version 2.6.18 which has a challenging problem different routing tables have been created under /etc/iproute2/rt_tables as the server has multiple outbound links over a single network interface and these these tables have been marked with fwmark values associated with iptables to mark different traffic(different protocols and source addresseand each table has different gateways to different outbound links.The problem is when the server reboots all the virtual routing tables get flushed out and only the default table with default gateway is what remains.Is there a way or method which would preserve these tables even if server reboots,then please advice.Example of output:
ip rule
32764: from all fwmark 0x20 lookup www
32767: from all lookup default.
Reply With Quote