Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm trying to networks WinXP(Host) and Slackware 9.1(Guest) using vmware.
On the host (WinXP), I connects to the internet using ADSL PPPoE. In the LAN properties, my ip is set to 10.0.0.3 and gateway is 10.0.0.1 (The ip address of my router/bridge Efficient 5660).
Can anyone tell me which do I use, NAT or bridge? And how do I connect them up?
Originally posted by ugge I guess your talking about the set up networking on the Guest machine.
I woud try to use "Host only" since you already has a router/dhcp.
Sorry, forgot to mention I'm using the 5660 as a bridge now (dials up to isp adsl).
Actually you would probably want to use bridged, since that would let your vmware machine actually have access the the nic , and get its own ip address. Thats what I do, and I can surf the web and everything.
Bridged is really your best shot. If you use NAT you have to configure a proxy to access the internet on the host OS. Using host-only makes things very hard and I don't even know if it's possible - at least in an elegant way...
Use bridged and both your host and guest OS's get an ip. And it makes things easier if you want to do firewalling on your router.
To configure the networking mode just go to the virtual machine's console, right click on the virtual machine you want to configure and select Virtual Machine Settings.
Then click NIC on the hardware devices and the network settings will display on the right.
Choose Bridged Mode. The Guest OS will get an IP in the very same way the host OS does (which means that if the host doesn't get the IP by means of a DHCP then you'll have to configure an IP address on the guest OS as well).
When you use Host-Only mode, both the host and guest get an IP from the DHCP service provided by VMWare. You can define the range of addresses and other things related to the DHCP service in the vmnetdhcp.conf file. Check the documentation for more info on that matter.
You can also change the NAT mode configurations in the file vmnat.conf.
Originally posted by ncorreia
Choose Bridged Mode. The Guest OS will get an IP in the very same way the host OS does (which means that if the host doesn't get the IP by means of a DHCP then you'll have to configure an IP address on the guest OS as well).
err... currently my winxp is on static local ip (10.0.0.1) and dialup to adsl (internet ip).
You mean after I choose bridge mode, the guest OS will auto get the same internet ip and able to connect to the internet?
If your winxp has a static ip, then you must configure an ip on the guest os. Note that you'll have to provide a different ip for the virtual machine. For all that matters you'll have two different machines on the network.
In bridged mode you won't even be able to ping the guest from the host -or vice-versa - if you are not physically connected to a lan, even though they share the same network adapter. This mode makes both machines completely independent from the network point of view.
Feel free to bug me at will until you can solve your problem.
Hope to be of any use. ;-)
If your winxp has a static ip, then you must configure an ip on the guest os. Note that you'll have to provide a different ip for the virtual machine. For all that matters you'll have two different machines on the network.
In bridged mode you won't even be able to ping the guest from the host -or vice-versa - if you are not physically connected to a lan, even though they share the same network adapter. This mode makes both machines completely independent from the network point of view.
Feel free to bug me at will until you can solve your problem.
Hope to be of any use. ;-)
Actually I still have problem understanding the meaning of bridge mode.
Previously I was using a router (10.0.0.1), and gives my winxp and guest OS an ip each (10.0.0.2 and 10.0.0.3). Configured the guest OS to get ip from the DHCP of router. Both are able to surf net simultaneously. That was easy.
But now I am not using router anymore, hence theres no DHCP server. I'm dialing up to my adsl using user and pass. So had no idea how to make both OS able to surf the net simultaneously.
Bridge mode mean that packets get passed on as if they were passing down a wire instead of being relayed by a computer. The packets flow through keeping the same source and setination MAC addresses.
>I'm dialing up to my adsl using user and pass. So had no idea how
>to make both OS able to surf the net simultaneously.
It's just the same as if you had two computers connected to one adsl connection. You either have to use a router or you have to use connection sharing software such as the crappy Internet Connection Sharing (ICS) that is part of some versions of windows.
Originally posted by zaphodiv
It's just the same as if you had two computers connected to one adsl connection. You either have to use a router or you have to use connection sharing software such as the crappy Internet Connection Sharing (ICS) that is part of some versions of windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.