Fresh Solaris install, internet not working
-
- Posts: 4
- Joined: 14. Dec 2010, 19:44
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Solaris 10
Fresh Solaris install, internet not working
Host system: Windows XP
Guest System : Solaris 10 (x86)
Virtual Box version : 3.2.12 r68302
Hello forum,
I just recently installed VirtualBox with all of the default settings.
Created a new VM, and installed Solaris 10 as a guest OS.
Then installed guest additions.
I have a hardwired ethernet connection.
I am connected to our internet through a switch, along with 3 other users.
To be quite honest, after researching how to set it up on google, I didn't really find anything useful.
I tried adjusting the settings to pretty much everything and rebooting, and nothing worked.
I'm pretty much stuck where I'm at, and our IT guy does not know anything about VirtualBox.
Can you guys help me out?
Guest System : Solaris 10 (x86)
Virtual Box version : 3.2.12 r68302
Hello forum,
I just recently installed VirtualBox with all of the default settings.
Created a new VM, and installed Solaris 10 as a guest OS.
Then installed guest additions.
I have a hardwired ethernet connection.
I am connected to our internet through a switch, along with 3 other users.
To be quite honest, after researching how to set it up on google, I didn't really find anything useful.
I tried adjusting the settings to pretty much everything and rebooting, and nothing worked.
I'm pretty much stuck where I'm at, and our IT guy does not know anything about VirtualBox.
Can you guys help me out?
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: Fresh Solaris install, internet not working
you sure its a virtualbox problem - did you add nameservers to /etc/resolv.conf ?
when you say "the internet" do you mean the lan doesn't work either - can you ping the host, can you ping your gateway, can you ping 4.2.2.6 ?
are you using bridged networking or nat?
which version of solaris 10?
what does "netstat -rn" show?
are you using static ip or dhcp?
i'm pretty sure this isn't a vbox issue.
when you say "the internet" do you mean the lan doesn't work either - can you ping the host, can you ping your gateway, can you ping 4.2.2.6 ?
are you using bridged networking or nat?
which version of solaris 10?
what does "netstat -rn" show?
are you using static ip or dhcp?
i'm pretty sure this isn't a vbox issue.
-
- Posts: 4
- Joined: 14. Dec 2010, 19:44
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Solaris 10
Re: Fresh Solaris install, internet not working
I apologize for being a complete newb to VirtualBox.
I am not sure if this is a virtualbox issue or a me issue.
I'm leaning to the latter, but I could use some help.
For the settings in virtual box, I used the default settings.
The VirtualBox Host only adapter is configed to
IPv4 Address -- > 192.168.56.1
IPv4 Network Mask -- > 255.255.255.0
DHCP is enabled, DHCP server is configed
Server Address --> 192.168.56.100
Server Mask --> 255.255.255.0
LA Bound -- > 192.168.56.101
UA Bound -- > 192.168.56.254
The VM network adapter config according to my coworker who has a working copy of Solaris is
Enabled is checked.
Bridged adapter
Intel Gigabit Network Adapter
Adapter Type: Intel Pro/1000 MT Desktop
MAC Address is the default.
I don't have any bridged networks though, so I am confused on that one.
"ping 4.2.2.6" results in
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 4.2.2.6
no answer from 4.2.2.6
"ping 192.168.56.1" results in
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.56.1
no answer from 192.168.56.1
"ping 192.168.56.100" results in the same thing.
"ping 127.0.0.1" results in
127.0.0.1 is alive
netstat -rn results in
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
224.0.0.0 127.0.0.1 U 1 0 lo0
127.0.0.1 127.0.0.1 UH 8 323 lo0
I am not sure if this is a virtualbox issue or a me issue.
I'm leaning to the latter, but I could use some help.
For the settings in virtual box, I used the default settings.
The VirtualBox Host only adapter is configed to
IPv4 Address -- > 192.168.56.1
IPv4 Network Mask -- > 255.255.255.0
DHCP is enabled, DHCP server is configed
Server Address --> 192.168.56.100
Server Mask --> 255.255.255.0
LA Bound -- > 192.168.56.101
UA Bound -- > 192.168.56.254
The VM network adapter config according to my coworker who has a working copy of Solaris is
Enabled is checked.
Bridged adapter
Intel Gigabit Network Adapter
Adapter Type: Intel Pro/1000 MT Desktop
MAC Address is the default.
I don't have any bridged networks though, so I am confused on that one.
"ping 4.2.2.6" results in
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 4.2.2.6
no answer from 4.2.2.6
"ping 192.168.56.1" results in
ICMP Host Unreachable from gateway localhost (127.0.0.1)
for icmp from localhost (127.0.0.1) to 192.168.56.1
no answer from 192.168.56.1
"ping 192.168.56.100" results in the same thing.
"ping 127.0.0.1" results in
127.0.0.1 is alive
netstat -rn results in
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
224.0.0.0 127.0.0.1 U 1 0 lo0
127.0.0.1 127.0.0.1 UH 8 323 lo0
-
- Posts: 4
- Joined: 14. Dec 2010, 19:44
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Solaris 10
Re: Fresh Solaris install, internet not working
I have not manually added anything to any files, nor do I really know how to do that.
I have just tried to change the settings in Virtual Box, and that is about as far as I got.
I have just tried to change the settings in Virtual Box, and that is about as far as I got.
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: Fresh Solaris install, internet not working
host only networking is the problem, as the name suggests you can only connect to the host.
you need bridged networking.
also having your gateway set to localhost isn't going to get you anywhere - it must be set to your router.
you need bridged networking.
also having your gateway set to localhost isn't going to get you anywhere - it must be set to your router.
-
- Posts: 39
- Joined: 7. Aug 2010, 05:29
- Primary OS: openSUSE
- VBox Version: PUEL
- Guest OSses: OpenSolaris
Re: Fresh Solaris install, internet not working
I am using NAT on my VB 3.2.12 and networking works. See next Thread.
-
- Posts: 4
- Joined: 14. Dec 2010, 19:44
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Solaris 10
Re: Fresh Solaris install, internet not working
I cannot find the resolv.conf file, and in the hosts file it only mentions ::1 as a local host location.
Where would I change the 127.0.0.1 to my IP address?
Where would I change the 127.0.0.1 to my IP address?
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: Fresh Solaris install, internet not working
its definitely not a virtualbox problem, you need to get your IT guy to setup your solaris properly, for a start you want something like "nameserver 4.2.2.6" in /etc/resolv.conf and your router/gateway ip in /etc/defaultrouter like "192.168.1.1"schw0060 wrote:I cannot find the resolv.conf file, and in the hosts file it only mentions ::1 as a local host location.
Where would I change the 127.0.0.1 to my IP address?
-
- Posts: 39
- Joined: 7. Aug 2010, 05:29
- Primary OS: openSUSE
- VBox Version: PUEL
- Guest OSses: OpenSolaris
Re: Fresh Solaris install, internet not working
This is what I have in /etc/resolv.conf:
domain homenet.telecomitalia.it
nameserver 192.168.1.1
/etc/defaultrouter does not exist in my Solaris Express.
domain homenet.telecomitalia.it
nameserver 192.168.1.1
/etc/defaultrouter does not exist in my Solaris Express.
-
- Posts: 52
- Joined: 26. Feb 2008, 18:58
- Location: Las Vegas
Re: Fresh Solaris install, internet not working
You must create /etc/defaultrouter:
192.168.1.1
is the address of my router.
--ron
192.168.1.1
is the address of my router.
--ron
-
- Posts: 4
- Joined: 24. May 2011, 16:17
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Windows 7
Re: Fresh Solaris install, internet not working
I've got the same problem still. I dont think the problem is simply a missing default router. if you cant ping that gateway address, adding a default router entry for that is not going to help either. I still suspect a missing ethernet device. But as far as I can tell, the guest host isnt even being assigned an ip address, so I wouldnt know what address to assign to a newly plumbed interface.
Dan
Dan
-
- Posts: 4
- Joined: 1. Mar 2014, 08:40
Re: Fresh Solaris install, internet not working
I also got d same problem .As i have installed solaris 11 (*86 version) on virtualbox with the default settings but internet not working.
I am using bridged connection in vb.
I'm using LAN connection for internet with static IP=172.31.134.16 and gateway=172.31.134.1 and mask=255.255.0.0 .
>>#netstat -rn
Routing Table:IPv4
Destination Gateway Flag Ref use Interface
default 172.31.134.1 UG 1 67
127.0.0.1 127.0.0.1 UH 2 210 lo0
172.31.0.0 172.31.134.16 U 3 263 net0
>>#ipadm show-if net0
IFNAME CLASS STATE ACTIVE OVER
net0 ip ok yes ---
>>#ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>MTU 8232 INDEX 1
inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPV4>MTU 1500 INDEX 5
inet 172.31.134.16 netmask ffff0000 broadcast 172.31.255.255
ether 0:c:29:56:57:f0
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>MTU 8252 INDEX 1
inet 6::1/128
net0 :flags=20002000840<RUNNING,MULTICAST,IPV6>MTU 1500 INDEX 5 ipv6>mtu 1500 index 5
inet 6::/0
ether 0:c:29:5b:57:f0
I am using bridged connection in vb.
I'm using LAN connection for internet with static IP=172.31.134.16 and gateway=172.31.134.1 and mask=255.255.0.0 .
>>#netstat -rn
Routing Table:IPv4
Destination Gateway Flag Ref use Interface
default 172.31.134.1 UG 1 67
127.0.0.1 127.0.0.1 UH 2 210 lo0
172.31.0.0 172.31.134.16 U 3 263 net0
>>#ipadm show-if net0
IFNAME CLASS STATE ACTIVE OVER
net0 ip ok yes ---
>>#ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>MTU 8232 INDEX 1
inet 127.0.0.1 netmask ff000000
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPV4>MTU 1500 INDEX 5
inet 172.31.134.16 netmask ffff0000 broadcast 172.31.255.255
ether 0:c:29:56:57:f0
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>MTU 8252 INDEX 1
inet 6::1/128
net0 :flags=20002000840<RUNNING,MULTICAST,IPV6>MTU 1500 INDEX 5 ipv6>mtu 1500 index 5
inet 6::/0
ether 0:c:29:5b:57:f0
-
- Posts: 4
- Joined: 1. Mar 2014, 08:40
Re: Fresh Solaris install, internet not working
sej7278 wrote:host only networking is the problem, as the name suggests you can only connect to the host.
you need bridged networking.
also having your gateway set to localhost isn't going to get you anywhere - it must be set to your router.
Sir please explain something more
-
- Posts: 4
- Joined: 1. Mar 2014, 08:40
Re: Fresh Solaris install, internet not working
When i installed initially solaris 11 on virtualbox internet working fine but when closed the virtualbox and again open it then internet is not working .What to do
-
- Posts: 4
- Joined: 1. Mar 2014, 08:40
Re: Fresh Solaris install, internet not working
Is virtualization manager and the virtual machine monitor is same ??? i know its very basic bt as i'm beginner i want to know....Thanks in advance