Solaris guests unable to route anywhere with NAT network

Discussions about using Solaris guests in VirtualBox.
Post Reply
dok@panix.com
Posts: 5
Joined: 16. Jun 2010, 01:41
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris 10 10/09

Solaris guests unable to route anywhere with NAT network

Post by dok@panix.com »

Running MacOS 10.14.3 on MacBook Pro 2018 2.9GHZ i9... New laptop, nothing loaded prior to this.
VBox 6.0.4
Solaris 11.4 and 11.3 guests using NATed network.

Unable to route anywhere can't get Repos to see Oracle support.
Is there something special I need to do to get the network going?

I'm going to roll back to the last version of VBox 5.2 and see if that works... See if I can find something in the forums...

Thanks
Dennis
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Solaris guests unable to route anywhere with NAT network

Post by socratis »

Any good reason why you hijacked some completely irrelevant thread titled "What is the latest version of MAC OS I can use with VB 6.0?"?
dok@panix.com wrote:Unable to route anywhere can't get Repos to see Oracle support.
Can you explain that? Does basic networking work? Like pinging for example?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
stes
Posts: 154
Joined: 28. Apr 2018, 11:07

Re: Solaris guests unable to route anywhere with NAT network

Post by stes »

solaris guest with NAT works fine for me (on host Solaris 11.4)

as a side remark I think "ping" cannot be used with the Oracle main repo,
it may be a better idea to use a local mirror

Code: Select all

# ping pkg.oracle.com
no answer from pkg.oracle.com
I believe that the no answer is normal. You can still retrieve info like in

Code: Select all

# pkg refresh --full solaris
which works for me despite the no answer on 'ping'.

When using a different mirror (that responds to ping) the ping test is a good test, of course.
stes
Posts: 154
Joined: 28. Apr 2018, 11:07

Re: Solaris guests unable to route anywhere with NAT network

Post by stes »

It may be a good idea to check that you have an ip address:

for example as on a 11.3 guest:

Code: Select all

root@moon:~# ipadm
NAME              CLASS/TYPE STATE        UNDER      ADDR
lo0               loopback   ok           --         --
   lo0/v4         static     ok           --         127.0.0.1/8
   lo0/v6         static     ok           --         ::1/128
net0              ip         ok           --         --
   net0/v4        dhcp       ok           --         10.0.2.15/24
   net0/v6        addrconf   ok           --         fe80::a00:27ff:fe4a:8c02/10
and despite the fact that on this NAT guest:

Code: Select all

root@moon:~# ping pkg.oracle.com
no answer from pkg.oracle.com
the following works fine for me:

Code: Select all

root@moon:~# pkg set-publisher -g http://pkg.oracle.com/solaris/release solaris
while it's working this prints output like:

Code: Select all

Refreshing catalog 1/1 solaris 2.40 MB
Post Reply