[OpenIndiana-discuss] Cannot get static IP network setup to work

Matt Wilby matthewwilby at btinternet.com
Fri Jan 28 17:51:59 UTC 2011


Call me old fashioned, but I like my vi.... :-)


On 28/01/2011 17:43, Dmitry G. Kozhinov wrote:

> That is, change your tambourine dance style :)
> There is also modern fashioned way via GUI.
>
> On 28.01.2011 22:00, Matt Wilby wrote:
>> Rather than using ipadm, you can also do it the old fashioned way by
>> creating /etc/hostname.<interface>  and inserting the required
>> hostname from /etc/hosts.
>>
>> Where hostname can be something like bge0, e1000g0, eri0, hme0 etc.
>>
>> Matt
>>
>>
>> On 28/01/2011 16:31, Deano wrote:
>>
>>> My notes on static ip (not using NWAM) under OI from the default DHCP
>>> --------
>>> Update /etc/resolv.conf WITH DNS
>>> /etc/nsswitch.dns /etc/nsswitch.conf
>>> Update /etc/defaultrouter with GATEWAY
>>> route -p add default GATEWAY
>>> Update /etc/hosts
>>> svcadm disable network/physical:nwam
>>> svcadm enable network/physical:default
>>> ipadm create-addr -T static -a HOSTNAME/24 LINK_NAME
>>>
>>> HTH,
>>> Deano
>>> -----Original Message-----
>>> From: Daniel Kvasnička [mailto:daniel.kvasnicka.jr at gmail.com]
>>> Sent: 28 January 2011 16:13
>>> To: openindiana-discuss at openindiana.org
>>> Subject: [OpenIndiana-discuss] Cannot get static IP network setup to
>>> work
>>>
>>> Hi people,
>>>
>>>
>>> I'm trying to setup OpenIndiana b148 to use static IPv4 address and
>>> manually
>>> set up DNS servers. And I can't even ping my gateway.
>>> The problem is that the only acces to the machine I have is through
>>> VNC to
>>> the QEMU instance it runs in.
>>> Here is the link to screenshots showing what I've done with nwamcfg
>>> so far:
>>> http://www.dropbox.com/gallery/1967301/1/oi?h=bfc6e1
>>>
>>>
>>> I've also:
>>> - checked /etc/resolv.conf for nameserver entries
>>> - ensured "dns" is entered in /etc/nsswitch.conf in appropriate places
>>> - entered appropriate line in /etc/nwam/llp (e1000g0 static
>>> xxx.xxx.xxx.xxx/24)
>>> - checked that my gateway is in /etc/defaultrouter
>>> - tried to set 255.255.255.0 as mask using ifconfig, because
>>> ifconfig -a
>>> showed the mask is set to ff000000
>>>
>>>
>>> What the hell am I doing wrong? :) Can the problem be somewhere
>>> outside the
>>> system? As I've said. It's a virtual instance running in a VM and I
>>> have no
>>> way to check the VM settings myself.
>>>
>>>
>>> Dan
>>>
>>
>> _______________________________________________
>> OpenIndiana-discuss mailing list
>> OpenIndiana-discuss at openindiana.org
>> http://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>




More information about the OpenIndiana-discuss mailing list