From: johnny@liquidzone.net
To: lartc@vger.kernel.org
Subject: [LARTC] multiple nics, same isp, each nic independently
Date: Sun, 25 May 2003 20:56:43 +0000 [thread overview]
Message-ID: <marc-lartc-105389620919789@msgid-missing> (raw)
Hi, having some trouble with my routing, im kindof new to linux networking
so my problem is probably easy to solve but i cant do it...
I have a quad nic connected to a switch, wich is connected to my isp, i
get 3 ip:s by dhcp.
I want each of the nics to use there own gateway.. even if it’s the same
on all nic:s... this is because I have bound different services to the
different nics so I can get accurate transfer stats for every nic,
separate ftp traffic from www and mail.
Eth0 = mail (public ip)
Eth1 = www (public ip)
Eth2 = ftp (public ip)
Eth3 = internal network (private ip)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
222.144.190.0 0.0.0.0 255.255.255.128 U 0 0 0
eth0
222.144.190.0 0.0.0.0 255.255.255.128 U 0 0 0
eth2
222.144.190.0 0.0.0.0 255.255.255.128 U 0 0 0
eth1
192.168.150.0 0.0.0.0 255.255.255.0 U 0 0 0
eth3
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 222.144.190.1 0.0.0.0 UG 0 0 0
eth0
if I connect to ftp, eth2 incomming traffic goes in on eth2, ftp data
(files and such) goes out eth0.
If I surf to my webserver eth1 incomming requests goes on eth1 but the
actuall webpage is sent on eth0.
This is not what I want, I want both ftp-data and ftp-command to go in and
out on eth2, www and the actual pages to go in and out on eth1. and mail
to go in and out on eth0. so I want all the nics to use there own gateway.
But I don’t know how to do it...
the solution to this is probably trivial but i have tryed all i could find
info on... read the howto on lartc but the closest thing i can find is
4.2. Routing for multiple uplinks/providers
but that doesnt really apply to my "problem" since i want to use the same
provider, but each nic independently...
would appriciate any help!
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2003-05-25 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-25 20:56 johnny [this message]
2003-05-25 23:55 ` [LARTC] multiple nics, same isp, each nic independently Martin A. Brown
2003-05-26 7:13 ` johnny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-105389620919789@msgid-missing \
--to=johnny@liquidzone.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.