LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-21-2007, 03:50 AM   #1
freaky2202
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
LoadBalancng with Linux under VmWare - given configuration inside


Hi!

My Problem is:
I've got 2 DSL routers on 2 floors; 1 laptop that is connected to one router via wireless lan and another pc that is not needed yet (setting up as a server?).

The 2 broadband connnections have both a bandwith of 384 kbit/s (slow.... :-() and I thought it would be a good idea to link them via a load balancing router.
I read about the solution with an external server and the connecting the routers via the ethernet port, but I don't have the possibility to link them physically.

So it is somewhere possible to install a linux under VMWare on the Windows XP laptop and connect the one router via wlan and the other router via ethernet and so to get it working?

Thank you for your answers!
=)
 
Old 10-21-2007, 07:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
don't follow your setup... if you can't connect both routers to one machine, how are you supposed to connect them with the same hardware but with a VM?? you still need to connect to the two networks on the host machine regardless. if one of those connections is wireless then that makes no difference. you could bridge the two windows adapters to place both routers on the same network if you want, or keep them seperate, wouldn't make much difference, as long as if they are seperate the netowrk ranges do not overlap.
 
Old 10-21-2007, 08:04 AM   #3
freaky2202
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
yes.

Right now, I did it in this way:
I'm installing at the moment Open SuSE and set up the network interfaces in VMWare:
-a bridged network to my (now) unused ethernet card - in that I'm going to plug the second router in
-a NAT connection (standard) to my existing wlan connection to my first router
SuSE will recognize the 2 network connections and I set up the 2 routes to my first router (NAT about my host ip adress; wlan) and the second router (bridged; local ethernet).
In VmWare I'm going to set up the port forwarding on port 8080 to the virtual machine and let my host os (Windows XP) choose the localhost as the standard gateway.
Should work, shouldn't it?

Last edited by freaky2202; 10-21-2007 at 08:16 AM.
 
Old 10-21-2007, 08:27 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
where did port 8080 come into the equation?

personally i would say under windows bridge the two networks, and then bridge that into vmware too. use, for example, 192.168.1.1 for the ip of the first router, 192.168.1.2 on the second, 192.168.1.3 for the xp machine and 192.168.1.4 for the first vmware host. they should all be able to directly ping each other. then you should be able to use a standard refernce like lartc.org chapter 4. but this is pretty contrvied imho...
 
Old 10-21-2007, 08:46 AM   #5
freaky2202
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I removes port 8080 because you don't need to enter an port, gateway is gateway, isn't it? The browser uses 8080... so no need to enter a port - if that would be possible in preferences of the network under Windows XP...

hm..
I never bridged networks under Windows... What does that mean?
And how to bridge the networks under VWware :-O.

Thank you.
 
Old 10-21-2007, 11:30 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
well if you're only talking about browsing, then that's a proxy, not a gateway, and they are *VERY* different things.
 
Old 10-21-2007, 11:34 AM   #7
freaky2202
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
No not just a proxy

All the programs will choose the port itself, clear.
 
Old 10-21-2007, 11:51 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
clear? no, very un-clear...

we aren't here to help you use windows, i can't help you too much, i think you just select both nic's and right click and select "bridge"... I'd suggest you check something like the wikipedia article on Ethernet bridging, it'll help fill in a lot of logical gaps which should make what you want to achieve more clear to yourself.
 
  


Reply

Tags
balancing, load, network, router, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my disk is shown as sda when booting into linux, but as hda inside vmware andreimatei Linux - Hardware 2 02-26-2007 04:30 PM
Booting Windows from inside Linux using VMWare moistTowelette Linux - Software 1 09-06-2005 07:52 PM
running Linux inside windowXP using vmware cpu General 8 08-19-2004 09:10 AM
LinuxFromSCratch inside vmware thinusp Linux From Scratch 8 05-11-2004 10:03 PM
No X-Windows in linux inside VMware lubu Linux - Newbie 1 03-12-2002 04:57 AM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration