[OpenIndiana-discuss] Problems with vboxnet0 interface
Ron Parker
rdparker at gmail.com
Thu Oct 20 14:10:06 UTC 2011
On Wed, Oct 19, 2011 at 4:16 AM, Jonathan Adams <t12nslookup at gmail.com> wrote:
> did you set 'vboxnet0's IP address to 192.168.56.1/24 after you brought it up?
>
> On 18 October 2011 22:12, Ron Parker <rdparker at gmail.com> wrote:
>> ...
>> After a 'ipadm create-if vboxnet0', it shows up in ifconfig's output
>> and I was able to assign it an IP, but it still cannot communicate
>> with the clients. I expected that vboxnet0 would just show up and work
>> as it had under Linux (unless there is some long-forgotten step I took
>> to get it working there).
Ok, I feel stupid now. Yes I had, but I had forgotten to actually
bring up the interface.
That said I found an online page about ipadm(1m) being the "new"
ifconfig. So, I recreated everything using it:
ipadm create-if vboxnet0
ipadm create-addr -T static -a 192.168.56.1/24 vboxnet0/v4static
and it works.
However, I have to manually enable and bring the interface up after
each boot. Is there a way to do this automatically? My
/etc/ipadm/ipadm.conf looks like:
_ifname=vboxnet0;_family=2;
_ifname=vboxnet0;_family=26;
_ifname=vboxnet0;_aobjname=vboxnet0/v4static;_ipv4addr=192.168.52.1,;up=yes;
_ifname=vboxnet0;_aobjname=vboxnet0/v4static;prefixlen=24;
Thanks,
Ron
More information about the OpenIndiana-discuss
mailing list