Visit Our UNIX and Linux User Community


Solaris 10 internet access on VMware


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris 10 internet access on VMware
# 1  
Old 09-28-2007
Solaris 10 internet access on VMware

Hi, I have Solaris 10 running in VMware on a winxp box so I can learn unix. I can 'ping' all the boxes on our network and yahoo.com (but only if I use the IP address I get back from pinging from an xp box). The error message from the terminal window is unknown host and from a browser www.sun.com could not be found. This is obviously a resolution issue but I don't think it's an xp thing as I installed win2k on VMware and I can get internet access with that.

Oddly enough, I can ping from an xp box to any of our windows boxes by both name and IP and get a reply, but I can only succesfully ping my virtual Solaris box by IP plus I can't ping any ms boxes by name - any ideas?
# 2  
Old 09-28-2007
Most likely you didn't set up DNS on the Virtual machine.

You will need to add dns to the hosts line in /etc/nsswitch.conf
and add /etc/resolv.conf with "nameserver <ip address of your dns server>" as contents.

/etc/nsswitch.conf
Code:
...
hosts:      files dns
...

/etc/resolv.conf
Code:
...
nameserver 192.168.1.3
...

# 3  
Old 09-28-2007
Thanks reborg, that worked although I had to make my own resolv.conf file. is this usual?
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #541
Difficulty: Medium
In a statically typed language, a variable cannot be declared before it can be used.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Why I cannot access internet from Solaris guest using url?

Hi all, I'm using virtualbox bridged adapter Host:Windows 7 Guest: Solaris 11 while I can ping between the host and guess, I cannot access the Internet from the solaris guest. here's my settings: while I can ping 173.194.38.128 (which is actually google.com), I cannot ping... (3 Replies)
Discussion started by: jediwannabe
3 Replies

2. IP Networking

Does my provider limit my internet access or somesites access?

Hi Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies

3. Solaris

internet on solaris10 running on vmware workstation...

HI Admins, I am trying to run internet on solaris 10 on vmware workstation 6.5.. I have vista on my laptop. I tried following: 1. enabling DHCP and NAT on virtual network editor...for NAT I tried vmnet host:vmnet0 start/stop. 2. ifconfig -a showing pcn0 running for both ipv4 and ipv6....... (1 Reply)
Discussion started by: snchaudhari2
1 Replies

4. Solaris

Solaris10 on vmware - Internet connection failed

Installed Sun Solaris 10 (5/09) on vmware 6.0 but system is not connecting to internet. when I check "ipconfig /all" I do not get any DNS Suffix name -- neither for vmnet1 and vmnet8 nor for local ethernet IP. Default gateways are 192.168.1.1 and 192.168.1.2 1. Created /etc/resolv.conf domain... (1 Reply)
Discussion started by: johnjerry
1 Replies

5. UNIX for Dummies Questions & Answers

Can not access internet?

Hi everybody. I've setup SunSolaris 10 on VirtualBox, but when I start Sun, I can connect to the Internet, when I open terminal and type command for list device ethernet: #ifconfig -a just only see loopback lo0 Can help me solve this problem? Thank you very much, ken (0 Replies)
Discussion started by: kenjingo
0 Replies

6. Solaris

cannot access to internet , help

hi experts i have a sun Enterprise 220 R server with solaris 10 and patches , i configured network card with ip addresses that have access to Internet but i can't be connected :confused: for same informations : root@E220R # ifconfig -a lo0:... (5 Replies)
Discussion started by: lid-j-one
5 Replies

7. IP Networking

Internet access on Solaris 10 through TATA Indicom Wireless Phone

Hi, I am trying to configure Solaris 10 for Internet Connection. I have a PC (Celeron 1.7Ghz, 512 MB RAM, Gigabyte 8LD Motherboard). The Wireless Telephone Specs are: TATA Indicom Walky. Further product details are as follows ( I did not understand most of what it says. I have given it... (0 Replies)
Discussion started by: priteshugrankar
0 Replies

8. Solaris

Internet access on Solaris 10 through TATA Indicom Wireless Phone

Hi, I am trying to configure Solaris 10 for Internet Connection. I have a PC (Celeron 1.7Ghz, 512 MB RAM, Gigabyte 8LD Motherboard). The Wireless Telephone Specs are: TATA Indicom Walky. Further product details are as follows ( I did not understand most of what it says. I have given... (0 Replies)
Discussion started by: priteshugrankar
0 Replies

9. UNIX for Dummies Questions & Answers

Internet access

Hi everybody, I'd like create a connection (by modem) for my unix workstation. I just have the RS232 port and my modem, no lan connection, and I want to surf the net. How can I setup it? Thanks in advance, Mauro (1 Reply)
Discussion started by: Mauro
1 Replies

10. UNIX for Dummies Questions & Answers

internet access

I've configured my TCP/IP to have the right protocols to access the internet such as TPC/IP, subnet mask, gateway and dns server but still Im not able to ping anything to the internet. Anybody who has some few good words for me? I need help. Thanks. (2 Replies)
Discussion started by: nseal101
2 Replies

Featured Tech Videos