You can try PBR(Policy based Routing) where we can create multiple routing tables and have default gateways for each of them. Please go through the below links.
http://www.policyrouting.org/PolicyRoutingBook/ONLINE/CH02.web.html
http://www.linuxjournal.com/article/7291

If this will not solve your problem you can think about Linux VRF Project http://linux-vrf.sourceforge.net/ .
 
Regards
Jaison
 
On 12/25/05, Dirk Tilger <[EMAIL PROTECTED]> wrote:
On Sat, Dec 24, 2005 at 10:17:46PM -0800, Manoj Menon wrote:
> --- Nadeem M Khan < [EMAIL PROTECTED]> wrote:
> > I have configured squid proxy in it and whenever i
> > configure both the
> > gateways the squid does not work.
> >
> > Actually to get the internet accessed  from other
> > offices i need my
> > private
> > gateway to be configured in squid machine.
>
> I am not sure you can have two default gateways. Or
> can you ?

It does not make sense to have two. The default route should always
point towards the Internet.

Try not to set a default route for the internal network (10.*).

Dirk.


YAHOO! GROUPS LINKS






SPONSORED LINKS
Linux operating system Linux os Hosting linux unix web
Free linux operating system Linux migration Linux user


YAHOO! GROUPS LINKS




Reply via email to