* [LARTC] multiple inet links on 1 nix box
@ 2002-01-08 23:30 Mike Tone
0 siblings, 0 replies; only message in thread
From: Mike Tone @ 2002-01-08 23:30 UTC (permalink / raw)
To: lartc
I have 2 cable modems with differant providers, connected to a nix box
with 1 internal interface and 2 dmz if's..
to get both cable modems working at once, you simply need to remove the
2 default routes that each interface adds to the routing table upon
startup..
however, you will then need to add static routes to each ISP's
authentication server / POP server / dhcp server...
selecting the device (dev ethX)...
ie: route add -net isp1.pop.server.0/24 gw x.x.x.x dev eth1
route add -net isp2.pop.server.0/24 gw x.x.x.x dev eth2
at this point, both cable modems are stable and work, retreive email
from each ISP's pop server via fetchmail, reply to ISP's heartbeats
etc...
you can then use netfilter (iptables) to mark packets going out, so,
all traffic to tcp:80 (http), route via dev eth1 (faster link takes all
outgoing web traffic)..
however, my problem.. :)
a web server listening on tcp:443 on eth1 (isp/cablemodem #1), is not
contactable from the outside world, UNLESS this dev is set as the
DEFAULT route for all traffic...
can this be fixed with --SNAT ? or mark INCOMING packets with 5 say,
then add route for mark 5 via dev ethX?
help! :)
---------------------------------------------------------------------
mBox makes you work Smarter, not Harder, from only $0.58 per WEEK!
Visit http://www.mbox.com.au
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-08 23:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-08 23:30 [LARTC] multiple inet links on 1 nix box Mike Tone
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.