[OpenIndiana-discuss] Why networking not work?

Volker A. Brandt vab at bb-c.de
Tue Apr 27 21:30:09 UTC 2021


Nelson H. F. Beebe writes:
> The network setup on VirtualBox on vboxhost.example.com is unusual: its
> initial network is not bidirectional!  It only connects outbound.
> 
> In order to get inbound connections for ssh, it is necessary to add a
> second network adapter, which can only be down in powered-off state:
> 
> 	VirtualBox control panel ->
> 		Settings -> Network -> Adapter2 -> Attached-to -> Host-only adapter
> 		Name: vboxnet0
> 
> plus
> 	Advanced ->
> 		Adapter Type -> Intel PRO/1000 MT +
> 		Promiscuous Mode: Deny +
> 		Cable Connected
> 
> For the original Adapter1, we have
> 
> 	VirtualBox control panel ->
> 		Settings -> Network -> Adapter1 -> Attached-to -> NAT
> plus

If you select "Bridged Network" here, you don't need a second adapter.
See chapter 6.3 ("Bridged Networking") in the VirtualBox user manual:

  https://download.virtualbox.org/virtualbox/6.1.20/UserManual.pdf

If you only need to ssh into the VM from the VirtualBox host, a port
forwarding rule is also a good solution, as it is more secure.  You
just assign a port and run "ssh -p <port> localhost".


Cheers -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt        Consulting and Support for Solaris-based Systems
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: vab at bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"



More information about the openindiana-discuss mailing list