1 |
I happen to be in a situation where I have both a DSL and CABLE |
2 |
connection to internet up for the time being... (Until the DSL |
3 |
contract month runs out). |
4 |
|
5 |
It affords a nifty opportunity to do some experiments. Of course I |
6 |
tested the speeds of both and it varies between 200 and 500 % faster |
7 |
on the Cable connection. (Nice). |
8 |
|
9 |
At first I used single machines connected independently to the |
10 |
respective IPs for testing, but it slowly dawned on me that I could |
11 |
hook everything up on the lan, to the same subnet and then just reset |
12 |
the GateWay target on individual machines as needed, for any of 6 |
13 |
machines. |
14 |
|
15 |
So currently I have two internet outlets and two gateway routers on |
16 |
192.168.0.0/24 |
17 |
|
18 |
Here's the technical part: |
19 |
Assume I have loaded a web page that downloads a video to my cache as |
20 |
it plays. Assume further there are several of these to be played one |
21 |
by one. |
22 |
|
23 |
After playing one, if I reset my GW (and I have also rest |
24 |
/etc/resolv.conf to use that gw address for dns [probably not totally |
25 |
necessary]). Followed by /etc/init.d/net.eth0 restart. |
26 |
|
27 |
Will the browser, which has not been restarted, now use the new |
28 |
gateway when I run the next link (or for testing, run the same link |
29 |
again), or will it continue on the same route (which is still |
30 |
available), that is, will the browser (firefox) continue using the |
31 |
original GW until the browser itself is restarted? |
32 |
|
33 |
I know I could track all this with tcpdump but it gets sort of |
34 |
cumbersome unless you've memorized the necessary commands to filter |
35 |
output down to something more usable. I usually get so tangled up |
36 |
with tcpdump I spend more time on it than the project at hand. I |
37 |
don't use it very frequently so inevitably spend gobs of time at |
38 |
`man tcpdump' instead of tending to what I started to do. |
39 |
|
40 |
Why I ask is that the site I'm doing this on requires me to login and |
41 |
then relocate the stuff I want to see if I have to restart the |
42 |
browser. |
43 |
|
44 |
I wanted to try to gauge if there was much of a noticeable difference |
45 |
with the two IP connections. And it would be handy to just step |
46 |
through the links changine the GW intermittently. |
47 |
|
48 |
|
49 |
-- |
50 |
gentoo-user@l.g.o mailing list |