Why I cannot access internet from Solaris guest using url?


 
Thread Tools Search this Thread
Operating Systems Solaris Why I cannot access internet from Solaris guest using url?
# 1  
Old 09-21-2013
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 google.com

why is this so?

here' my results

Code:
root@solaris:~# netadm list

TYPE PROILE STATE
ncp Automatic disabled
ncp DefaultFixed online
loc Automatic offline
loc NoNet offline
loc DefaultFixed online

root@solaris:~#ipadm show-if
IFNAME CLASS 	STATE ACTIVE OVER
lo0    loopback ok	  yes	 --	 
net0   loopback ok	  yes	 --

root@solaris:~#ipadm show-addr
ADDROBJ	TYPE STATE ADDR
lo0/v4  static ok  127.0.0.1/8
net0/acme static ok  192.168.0.231/24
lo0/v6   static  ok  ::1/128

root@solaris:~#route get default
route to:default
destination:default
mask:default
gateway:192.168.0.1
interface: net0
flags: <UP,GATEWAY, DONE, STATIC>
recvpipe sendpipe sshthresh rtt,ma rttvar,ms hopcount mt expire

0	     0         0        0        0       0      1500 0

thanks a lot!
# 2  
Old 09-21-2013
How is your guest confirmed w.r.t. networking? NAT, Bridge, or what? Obviously DNS on the guest is not working correctly for you. The question is why? Are your resolver (/etc/resolv.conf) and name service switch (/etc/nsswitch.conf) configurations correct?
# 3  
Old 09-21-2013
How is your guest confirmed w.r.t. networking? NAT, Bridge, or what?

it is bridge and I can ping from host to guest and guest to host.

I follow mostly Install Oracle Solaris 11 on Oracle VM VirtualBox

Configuring an IPv4 Network - Configuring and Administering Oracle Solaris 11.1 Networks

Quote:

How to Configure an IP Interface
Are your resolver (/etc/resolv.conf) and name service switch (/etc/nsswitch.conf) configurations correct?

I check from /etc/resolv.conf I'm using 192.168.0.1, i.e default gateway as name server

how do I know if nsswitch.config is correct or not

thanks
# 4  
Old 09-21-2013
Quote:
Originally Posted by jediwannabe
while I can ping 173.194.38.128 (which is actually google.com), I cannot ping google.com

why is this so?
Because you configured your network manually but didn't know the all correct parameters.

You likely didn't configured your Windows 7 host networking but simply let the OS do the configuration itself. Just do the same with your Solaris guest, i.e. don't select the "DefaultFixed" profile but the "Automatic" one with this command:
Code:
netadm enable -p ncp Automatic

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Unable to connect guest VM to internet (QEMU via both 'User-mode networking' and 'TUN/TAP')

Hello, I installed FreeBSD 10.3 on AQEMU. I can't connect to internet in none of the modes of "Default, User-Mode Networking" and "TUN/TAP Networking". I am able to ping my host in the TAP networking mode (192.168.1.33 which is my IP addr in guest), but getting 'no route to host' for any... (1 Reply)
Discussion started by: temp-usr
1 Replies

2. Cybersecurity

A little iptables help for Guest Access

Hey folks, I've setup a wifi guest network on an E2500 router running TomatoUSB, that I only want to have internet access provided for. Did this by creating a separate bridge (br1), then putting it in it's own VLAN, created a virtual wifi interface, then set some firewall rules to isolate... (0 Replies)
Discussion started by: mcaramb
0 Replies

3. Shell Programming and Scripting

HTTP::DAV module errors - can't access URL

Hello, I am attempting to use the HTTP/DAV module in perl, and I have a script that transfers files to a website. However, I get the following error message: "Couldn't open https://www.thisismyurl.com/DAV: The URL "https://www.thisismyurl.com/DAV" is not DAV enabled or not accessible." ... (0 Replies)
Discussion started by: Scatterbrain26
0 Replies

4. Shell Programming and Scripting

Get time from internet using url

Hi Team, I have few questions. Could anyone of you please assist me in this: ============================================ 1 : a small shell script to get time from internet using curl, ( Say T1 ) 2 : Wait for Random interval of time between 30 sec to 1 min, and get time again. 3 : Keep... (1 Reply)
Discussion started by: tolearn
1 Replies

5. UNIX for Dummies Questions & Answers

VMware Solaris Guest - How do I boot from CD?

Hello, I have a Solaris 10 x86 VM and I am trying to access the Solaris install menu. I have the ISO set to connect on startup, and I can see that it is mounted in my system. But when I power on the VM, the GRUB menu comes up and I only have the option of booting Solaris. Also I have... (4 Replies)
Discussion started by: bstring
4 Replies

6. Emergency UNIX and Linux Support

Sharing internet from host os to guest os

I have a host os Windows 7 ultimate in place where virtual box is installed. Now in virtual box I have installed solaris 10. There is internet connection present in host windows 7 still I am not able to access internet in solaris 10. Please help to configure solaris so that internet can be... (12 Replies)
Discussion started by: hiten.r.chauhan
12 Replies

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

8. UNIX for Dummies Questions & Answers

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... (2 Replies)
Discussion started by: Technomot1
2 Replies

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

10. 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
Login or Register to Ask a Question