LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] IP Number - where is it held?

[ILUG] IP Number - where is it held?

Ryan, Philip Philip.Ryan at ie.fid-intl.com
Thu Mar 16 15:13:05 GMT 2000


Hello 

Thanks for the prompt replies to this. Found what I needed...

RE "LINUX per se not having an ip...." - I'll try to remember the tip. It
was a bad choice of words on my behalf.

Phil

> -----Original Message-----
> From:	John Allen [SMTP:john.allen at orbiscom.com]
> Sent:	Thursday, March 16, 2000 2:59 PM
> To:	Ryan, Philip
> Cc:	ilug at linux.ie; Crothers, John
> Subject:	Re: [ILUG] IP Number - where is it held?
> 
> "Ryan, Philip" wrote:
> 
> > Hello Folks
> >
> > We're looking for where LINUX stores it's IP address.
> >
> 
> Try /etc/sysconfig/network-scripts/ifcfg-eth0
> 
> Where the 0 is the number of the ethernet card you want the ip for.
> 
> Also try /sbin/ifconfig eth0 to get the config for a card without
> having to know what file contains the config.
> 
> >
> > Our initial thinking was that /etc/sysconfig/network is sourced at boot
> time
> > by /etc/rc.d/init.d/inet which uses the value of $HOSTNAME to do a
> lookup in
> > /etc/hosts to establish the IP address.
> >
> > This has proven to be false.
> >
> > >From further investigation I'm concluding that LINUX is similar to AIX
> in
> > that via SMIT on AIX, one adds or changes the IP address and this change
> is
> > reflected in /etc/hosts & written to the ODM. Whereas on LINUX, one
> updates
> > the IP address via linuxconf and this change is written to some binary
> > somewhere but not reflected in /etc/hosts (feature in
> linuxconf-1.16r10-2
> > ?????).
> >
> > Any pointers on which file linuxconf writes to?
> >
> > Rgs
> >
> > Phil
> >
> > __________________________________________
> >
> > Phil Ryan @ FISC-Ireland Ltd. / Fidelity Investments, Operations group.
> > Email  :                Philip.Ryan at fid-intl.com
> >
> > FISC - Ireland Ltd., .registered in Ireland no. 245656.  Registered
> office:
> > FISC Ireland LTD / Fidelity Investments Hardwicke House Upper Hatch
> Street
> > Dublin 2 Rep of Ireland. Telephone +353-1-6145400.  Any comments or
> > statements made are not necessarily those of Fidelity Investments, its
> > subsidiaries, or affiliates
> > __________________________________________
> >
> > --
> > Irish Linux Users' Group: ilug at linux.ie
> > http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> information.
> > List maintainer: listmaster at linux.ie
> 
> --
> =====================================================================
> John Allen,                          Email:  john.allen at orbiscom.com
> Orbiscom Ltd,                        Web:    http://www.orbiscom.com
> 3 Sandyford Park,                    Phone:  +353-1-2945111
> Sandyford Industrial Estate,         Mobile: +353-86-2315986
> Dublin 18.                           Fax:    +353-1-2945119
> =====================================================================
> 
> 




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell