All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Route works, but ping time is 1000 ms
@ 2002-02-14 21:06 Philip Mak
  2002-02-15 16:16 ` bert hubert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philip Mak @ 2002-02-14 21:06 UTC (permalink / raw)
  To: lartc

I have a server that has two ethernet cards, eth0 (64.94.46.199) and
eth1 (66.28.98.52).

eth0's ISP has expensive, high quality bandwidth.
eth1's ISP has cheap, low quality bandwidth.

I have the route set so that by default, all packets will go out
through eth1:

default via 66.28.98.34 dev eth1

However, I'd like to make it so that when I ssh to 64.94.46.199 (eth0,
the expensive high quality ISP), the return traffic will go out
through eth0. So, I typed this:

$ echo "200 pnap" >> /etc/iproute2/rt_tables
$ ip rule add from 64.94.46.199 lookup pnap
$ ip route add default via 64.94.47.253 dev eth0 table pnap

This correctly makes it route outgoing packets with source IP of
64.94.46.199 through eth0.

However, the ping time suddenly goes up a lot on the last hop (you can
traceroute 64.94.46.199 and see for yourself).

Any idea what I did wrong? I have a hunch that my ISP's router doesn't
like some settings in the packets I sent to it and is giving me low
priority as a result, but I wouldn't know how to tell if that was the
case... (I e-mailed my ISP for help on Tuesday; still waiting.)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

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

end of thread, other threads:[~2002-02-15 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-14 21:06 [LARTC] Route works, but ping time is 1000 ms Philip Mak
2002-02-15 16:16 ` bert hubert
2002-02-15 18:11 ` Philip Mak
2002-02-15 18:39 ` Philip Mak

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.