Page 1 of 1

Solaris guests unable to route anywhere with NAT network

Posted: 18. Mar 2019, 23:50
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

Re: Solaris guests unable to route anywhere with NAT network

Posted: 19. Mar 2019, 00:11
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?

Re: Solaris guests unable to route anywhere with NAT network

Posted: 26. Mar 2019, 14:46
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.

Re: Solaris guests unable to route anywhere with NAT network

Posted: 26. Mar 2019, 15:40
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