All of lore.kernel.org
 help / color / mirror / Atom feed
* TWO ROUTING
@ 2003-11-19 15:17 José Gomes
  2003-11-19 15:24 ` Sylvain BERTRAND
  2003-11-20 13:28 ` Jeffrey Laramie
  0 siblings, 2 replies; 13+ messages in thread
From: José Gomes @ 2003-11-19 15:17 UTC (permalink / raw)
  To: netfilter


[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]

 

 Hello All,

 

I Need to setup one Linux box with 3 Nics and two valid ip address, my
question is:

 

Nic1: 192.168.14.0/24

Nic2: 200.204.x.x/29 route to internet

Nic3: 200.171.x.x/29 route to internet 

 

How can both Ips with different routes response to requests with both routes
enable ???

 

Please help-me.

 

 

 

Best Regards,

 

 

José Gomes

Network Specialist

Redbox Networks Ltda

jgomes@redbox.com.br

 <http://www.redbox.com.br/> http://www.redbox.com.br

+ 5511 3816-3720 R. 212

 


[-- Attachment #1.2: Type: text/html, Size: 7205 bytes --]

[-- Attachment #2: image001.gif --]
[-- Type: image/gif, Size: 862 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: TWO ROUTING
@ 2003-11-20 15:27 Miguel Laborde
  0 siblings, 0 replies; 13+ messages in thread
From: Miguel Laborde @ 2003-11-20 15:27 UTC (permalink / raw)
  To: netfilter

I believe you should be looking at iproute2 for this.



-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Antony Stone
Sent: Thursday, November 20, 2003 9:59 AM
To: netfilter@lists.netfilter.org
Subject: Re: TWO ROUTING


On Thursday 20 November 2003 2:43 pm, Jeffrey Laramie wrote:

> Antony Stone wrote:
> >
> >I think he's simply asking whether Linux can use two default routes on one
> >machine at the same time.
>
> Oh, I see. I don't think that's possible at the routing level. That
> sounds like a job for a load balancer but I'm not a technical guy and
> routing isn't my strong suit. I'm really much better at filter rules,
> logging, and sarcasm.  ;-)

All very admirable in a firewall :)

As far as the twin-default-route question is concerned, I don't think the 
standard Linux kernel can do it either (I think it just uses the first 
routing table entry which matches, so one of the routes will never get used), 
however I'm sure I've seen a simple setup using a netmask of all zeroes, but 
ending in a 1, with two routes depending on whether that last bit is a one or 
a zero - this seems like a reasonable load-balancing system to use two routes 
equally, assuming that your traffic has reasonably distributed IP addresses.

> > Agreed, not a netfilter question, but I see the same thing asked on the
> > Squid mailing list too....
>
> I also see similar questions on multiple lists. I often have to check
> the mail header to see what list they're posting to so I know the
> context of the question. On a similar vein, does netfilter have any
> mailing list usage guidelines posted anywhere? I looked around the other
> day and couldn't find any. I've seen some sites with a link to
> guidelines and etiquette on the list subscription page. Something like
> that might be useful for this list.

I think that would be a good idea; I'm not aware of anything like this for 
the netfilter lists themselves, and I think a good starting point would be a 
copy of "Jeff's Rules" as posted on Monday, together with Aldo's 
recommendation to read Oskar's tutorial before posting (and preferably, 
before trying to configure netfilter).   I think something like this would go 
well on http://www.netfilter.org/contact.html

Antony.

-- 

90% of network problems are routing problems.
9 of the remaining 10% are routing problems in the other direction.
The remaining 1% might be something else, but check the routing anyway.

                                                     Please reply to the list;
                                                           please don't CC me.



^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: TWO ROUTING
@ 2003-11-20 21:44 George Vieira
  2003-11-20 22:34 ` Antony Stone
  0 siblings, 1 reply; 13+ messages in thread
From: George Vieira @ 2003-11-20 21:44 UTC (permalink / raw)
  To: José Gomes, netfilter


[-- Attachment #1.1: Type: text/plain, Size: 1288 bytes --]

He is asking what has been asked alot lately which is how to make a machine respond to both internet links via it's appropriate IP addresses.
 
So when a client accesses the machine via ww.xx.yy.zz, the firewall responds back via that IP/ether, if a different client accesses it via the aa.bb.cc.dd address, it responds back via that address/ether.
 
There was talk before about using CONNTRACK and marking packets on the list before.. I think this is the solution but I didn't see a successful response..
 

Thanks,

George Vieira.
 

-----Original Message-----
From: José Gomes [mailto:jgomes@datas.com.br]
Sent: Thursday, 20 November 2003 2:17 AM
To: netfilter@lists.netfilter.org
Subject: TWO ROUTING


 

 Hello All,

 

I Need to setup one Linux box with 3 Nics and two valid ip address, my question is:

 

Nic1: 192.168.14.0/24

Nic2: 200.204.x.x/29 route to internet

Nic3: 200.171.x.x/29 route to internet 

 

How can both Ips with different routes response to requests with both routes enable ???

 

Please help-me.

 

 

 

Best Regards,

 

 

José Gomes

Network Specialist

Redbox Networks Ltda

jgomes@redbox.com.br

 <http://www.redbox.com.br/> http://www.redbox.com.br

+ 5511 3816-3720 R. 212

 


[-- Attachment #1.2: Type: text/html, Size: 8845 bytes --]

[-- Attachment #2: image001.gif --]
[-- Type: image/gif, Size: 862 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-11-20 22:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-19 15:17 TWO ROUTING José Gomes
2003-11-19 15:24 ` Sylvain BERTRAND
2003-11-20 13:28 ` Jeffrey Laramie
2003-11-20 13:40   ` Antony Stone
2003-11-20 14:43     ` Jeffrey Laramie
2003-11-20 14:59       ` Antony Stone
2003-11-20 16:42       ` Ramin Dousti
2003-11-20 16:16         ` Jeffrey Laramie
2003-11-20 18:25           ` Ramin Dousti
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20 15:27 Miguel Laborde
2003-11-20 21:44 George Vieira
2003-11-20 22:34 ` Antony Stone
2003-11-19 23:58   ` Marco Shaw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.