Entry
VMWare: Network:Virtual:Internet: How set up Internet connection on client operating system? [Linux]
Dec 3rd, 2003 00:03
Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 23 November 2003 - 01:06 pm -------------------
VMWare: Network:Virtual:Internet: How set up Internet connection on
client operating system? [Linux]
---
How to set up an Internet connection if your host operating has
Internet connection, and you are not working on a local network?
---
Steps: Overview:
1. -Make sure the Internet connection of your host
operating system works
(e.g. you are connected with Microsoft Windows XP
to AOL, CompuServe, ...)
2. -Goto the VMWare client operating system (e.g. Linux), and change
to NAT
1. -select from menu option 'Edit'
2. -select from list 'Virtual Machine Settings'
3. -select from list 'NIC 1'
4. -in the right pane,
enable radio button 'NAT'
(used to share the host's IP address)
5. -click button 'OK'
3. -Make sure the guest operating system (e.g. Linux) gets
now an IP address (from the DHCP server)
---
e.g. in Linux, open a console, and type the command
dhclient
(or try 'pump')
---
e.g. in Sun Solaris, open a console, and I tried to type the
command:
ifconfig pcn0 dhcp
That command worked as such, but was probably assigned inside Sun
Solaris itself, so the Internet connection did not work
afterwards.
And in Linux similarly
ifconfig eth0 dhcp
but this is not the correct command to renew the IP address.
---
This will or should assign an IP address to this guest operating
system
---
4. -If you now open a browser in the guest operating system
(e.g. click on the 'Internet' icon), you should be able
to contact the Internet
e.g. type the URL
http://www.faqts.com
and you should see the main page there.
---
---
Tested OK with VMWare v4.0.5 for Windows workstation, running on
Windows XP with an Internet connection via a provider.
---
After this steps it was possible to connect to the Internet via
-Linux Debian v3
-Linux Red Hat v8
-Linux TurboLinux v8
-Linux RedHat v9
-Linux Mandrake v9
---
I did not get this working yet in
-Sun Solaris v9
-Linux SuSE v9
---
---
Internet: see also:
---
Operating system: Linux: Network: IP: Refresh: DHCP: Pump: What is
the 'pump' command? [dhclient]
http://www.faqts.com/knowledge_base/view.phtml/aid/26825/fid/427
----------------------------------------------------------------------