Gentoo Archives: gentoo-user

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