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