[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iproute2, alternative tables, no default route: routing trouble for localhost



Покотиленко Костик wrote:
> В Птн, 18/08/2006 в 14:20 +0100, George Borisov пишет:
>> Покотиленко Костик wrote:
>>> So, to summarize, the is no default route in main routing table.
>>> Each group of clients is to be routed through its respective
>>> connection, and, when its connection is down it is not to be
>>> routed.
>> Last time I successfully configured split routing I did have a 
>> default gateway in the main table.
>> 
>> 
>> Hope this helps,
> 
> Unfortunately, all samples in the net's resources are *having*
> default route in main table, that's why it's so difficult for me to
> understand what is happening.

Hi,

Perhaps some examples from my configuration can help you. I've been
experimenting with split routing the last few months. Instead of using
/etc/network/interfaces and ifupdown, i created an init script that
configures network interfaces and routing with iproute. It's not perfect
yet (and part of the comment in there are dutch), but it does the job:

http://od11.fttd-s.tudelft.nl/~knorrie/iproute/mynetwork
http://od11.fttd-s.tudelft.nl/~knorrie/iproute/rt_tables

Documentation I used:
http://lartc.org/howto/lartc.rpdb.multiple-links.html
http://www.ssi.bg/~ja/nano.txt

Some lines from the iptables firewall script:
http://od11.fttd-s.tudelft.nl/~knorrie/iproute/firewall

CONNMARK is supported by a >2.6.12 kernel.

HTH
I cant promise the files (at the http://od11..) will be there online
forever...

Hans



Reply to: