Re: 2 ISP connection sharing problem

Linux Advanced Routing and Traffic Control

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

 



On Mon, 3 Sep 2007 22:57:06 +0500
Arman <arman.anwar@xxxxxxxxx> wrote:

> I have divided my network into 2 parts now that is 193.168.3.127/25 and
> 192.168.3.128/25. I want to route part1 to ISP1 and Part 2 to ISP2. I have
> made changes into rules. But I think my Tables T1,T2 are not used and
> default table is in use. How can I command to use tables T1,T2 instead of
> default table. route command output is
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.3.0     *               255.255.255.0   U     0      0        0 eth0
> 203.81.213.0    *               255.255.255.0   U     0      0        0 eth2
> 192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
> 169.254.0.0     *               255.255.0.0     U     0      0        0 eth2
> default         203.81.213.1    0.0.0.0         UG    0      0        0 eth2
> 

What is in rules?

ip rule list

You need there:

xxxx:      from 193.168.3.127/25 lookup T1
xxxx:      from 193.168.3.128/25 lookup T2

Then you need NAT.
That is all...

-- 

With best regards, Pan'ko Alexander.

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux