[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help: script for configuring ethernet



>This was interesting to me -- but are you sure /etc/networks is the
>same format as /etc/hosts?  They're different on my machine.

Aye!  No, they are not the same!  I don't know what I was thinking.
Okay, let me make it clear:

/etc/networks uses the format:
<netname> <ip>
For example:
piqnet   192.168.13.0
c3net    192.168.195.0

/etc/hosts uses the format:
<ip> <name> [aliases]
For example:
127.0.0.1			localhost		loopback
192.168.13.1			detlev.webstar.net	detlev
204.251.28.1			dns.webstar.net		dns
204.214.9.45			nkn-webstar.nkn.net	router

Thanks for the heads-up!

-=<[Joel Ray "Piquan" Holveck]>=-

-- 
http://www.wp.com/joelh --- Joel Ray Holveck --- piquan@webstar.net

Fourth law of computing:
  Anything that can go wro
.signature: segmentation violation -- core dumped


Reply to: