Re: /etc/hostname.* in Solaris9

From: Darren Dunham (ddunham_at_redwood.taos.com)
Date: 08/31/04


Date: Tue, 31 Aug 2004 15:35:32 GMT

Victor Sudakov <vas@mpeks.no-spam-here.tomsk.su> wrote:
> Hi,

> Could you help me with a good description of /etc/hostname.* files
> format ?

> Looking at /etc/init.d/network suggests that /etc/hostname.* can
> contain multiple lines configuring netmasks (instead of the silly
> /etc/inet/netmasks), secondary addresses and a lot of other useful
> stuff. Where is is documented?

S30network?

If it's multiline, it'll just feed the lines to 'ifconfig' as
arguments. Anything you can give to ifconfig you can put in the file.

With a single line, it will automatically 'up' the interface. With
multiple lines, it will not.

-- 
Darren Dunham                                           ddunham@taos.com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >


Relevant Pages

  • Re: [SLE] Wireless Internet at public hotspots -- update
    ... You can create multiple versions, ... You could use the ifdown and ifup commands. ... What I see from ifconfig is that eth1 will show an IP ... > showing me an IP that wasn't really assigned by DHCP? ...
    (SuSE)
  • Re: setfib with mpd - ifconfig on p-t-p link trouble
    ... there's must be a restriction in ifconfig or in kernel that preventing from ... adding a multiple p-t-p interface with same destination address. ... and add back the first link route from the first p3p link to teh first FIB. ...
    (freebsd-net)
  • Re: setfib with mpd - ifconfig on p-t-p link trouble
    ... there's must be a restriction in ifconfig or in kernel that preventing from ... adding a multiple p-t-p interface with same destination address. ... and add back the first link route from the first p3p link to teh first FIB. ...
    (freebsd-net)
  • Re: /etc/hostname.* in Solaris9
    ... >> contain multiple lines configuring netmasks (instead of the silly ... > If it's multiline, it'll just feed the lines to 'ifconfig' as ... Anything you can give to ifconfig you can put in the file. ... > multiple lines, it will not. ...
    (comp.unix.solaris)
  • Re: /etc/hostname.* in Solaris9
    ... >> contain multiple lines configuring netmasks (instead of the silly ... > If it's multiline, it'll just feed the lines to 'ifconfig' as ... Anything you can give to ifconfig you can put in the file. ...
    (comp.unix.solaris)