Gentoo Archives: gentoo-user

From: Marco Calviani <marco.calviani@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Double network cards
Date: Mon, 11 Jun 2007 16:53:05
Message-Id: da5cd1900706110942k520c9f9k33d541fab83946b5@mail.gmail.com
In Reply to: Re: [gentoo-user] Double network cards by Hans-Werner Hilse
1 Hi all,
2 thanks for replying. Actually the network with the fixed IP would be
3 used only for accessing the machine from the internet (that would be
4 its only use), since the other address is masked behind closed
5 network.
6
7 regards,
8 marco
9
10 On 6/11/07, Hans-Werner Hilse <hilse@×××.de> wrote:
11 > Hi,
12 >
13 > On Mon, 11 Jun 2007 16:19:58 +0200 "Marco Calviani"
14 > <marco.calviani@×××××.com> wrote:
15 >
16 > > i would like some technical advice concerning the possibility of
17 > > mounting two network devices on the same desktop computer. One network
18 > > card (which is binded to a fixed IP) allows me to allow the machine to
19 > > be visible on the public network, while the second one (faster, the
20 > > one i've installed now) is used to work. Would it be possible to
21 > > install both of them, with the first one used only for accessing the
22 > > machine from an external site?
23 >
24 > From hardware and driver side of the problem: Yes, of course. The other
25 > question, and you really didn't clarify on this, is whether your
26 > intended routing setup would work with such a configuration. But since
27 > Linux is extremely configurable in that regard, you probably can
28 > archive sensible results. Just specify a bit more information, like the
29 > networks (address/netmask) coming into play here.
30 >
31 > If both of your NICs are routing to the internet and you're offering
32 > services to the internet, the answer packets from those services will
33 > always take the route w/ lowest metric by default. You'd have to mark
34 > the packets e.g. w/ iptables on a user or application basis in order to
35 > influence routing so that outgoing "service traffic" takes another way
36 > than outgoing "other traffic". But don't hesitate to tell more about
37 > your intended setup, it'll get probably easier to help you then.
38 >
39 > -hwh
40 > --
41 > gentoo-user@g.o mailing list
42 >
43 >
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Double network cards Hans-Werner Hilse <hilse@×××.de>
Re: [gentoo-user] Double network cards Dan Farrell <dan@×××××××××.cx>