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

Re: Two gateways on same network



On Thu, 2006-12-07 at 20:50 +0100, srg krn wrote:
> It is normal that if I connect to your public IP (say IPa) from the
> 128k line my connection times out.
> 
> THE REASON IS:
> It is normal because I am in Internet and my machine sends the SYN
[snip]

Thanks, the why I understand - it's the how...

> 4. Create the two routing tables (see Linux Advanced Routing HOWTO)
I found it after I sent the mail - there's an example of just what I'm
trying.

> but this is very simple, it is only to put two lines (one for each
> routing table) at /etc/iproute2/rt_tables
> 5. Add the static routes to one of each tables.
> ip route add default via 192.168.1.1 table isp_128k
> ip route add default via 192.168.1.6 table isp_4M
> 6. Add ip rules
> First, see the output from "ip rules show"
> ip rule add from 192.168.1.10 lookup table table_isp4M
> ip rule add from 192.168.1.11 lookup table table_128k

Thanks, I'll do this tomorrow and see what it does.  Will report back.

Thanks for taking the time to reply so thoroughly.

Hans



Reply to: