LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   LoadBalancng with Linux under VmWare - given configuration inside (http://www.linuxquestions.org/questions/linux-networking-3/loadbalancng-with-linux-under-vmware-given-configuration-inside-593413/)

freaky2202 10-21-2007 04:50 AM

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!
=)

acid_kewpie 10-21-2007 08:42 AM

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?? :confused: 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.

freaky2202 10-21-2007 09:04 AM

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?

acid_kewpie 10-21-2007 09:27 AM

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...

freaky2202 10-21-2007 09:46 AM

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.

acid_kewpie 10-21-2007 12:30 PM

well if you're only talking about browsing, then that's a proxy, not a gateway, and they are *VERY* different things.

freaky2202 10-21-2007 12:34 PM

No not just a proxy :)

All the programs will choose the port itself, clear.

acid_kewpie 10-21-2007 12:51 PM

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.


All times are GMT -5. The time now is 12:10 AM.