Networking Forums

Networking Forums > Computer Networking > Linux Networking > /etc/protocols, /etc/services and /etc/networks ? who fills these files.

Reply
Thread Tools Display Modes

/etc/protocols, /etc/services and /etc/networks ? who fills these files.

 
 
Datha
Guest
Posts: n/a

 
      01-04-2006, 05:02 AM
Hi Everyone,
Who fills files in etc directory such as /etc/protocols, /etc/services
and /etc/networks
Can anybody please give me sample of /etc/networks
I do not have /etc/networks in my linux system.
Thanks,
Datha

 
Reply With Quote
 
 
 
 
Axyl
Guest
Posts: n/a

 
      01-04-2006, 07:17 AM
Datha ha scritto:
> Hi Everyone,
> Who fills files in etc directory such as /etc/protocols, /etc/services
> and /etc/networks
> Can anybody please give me sample of /etc/networks
> I do not have /etc/networks in my linux system.
> Thanks,
> Datha
>

man network, man services, man protocols
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      01-04-2006, 09:36 PM
On 3 Jan 2006 22:02:42 -0800, Datha
<(E-Mail Removed)> wrote:
> Hi Everyone,
> Who fills files in etc directory such as /etc/protocols, /etc/services
> and /etc/networks
> Can anybody please give me sample of /etc/networks
> I do not have /etc/networks in my linux system.
> Thanks,
> Datha
>

man 5 protocols
man 5 services
man 5 networks
(These man pages exist in Debian or Ubuntu. YMMV with other distros.)

Each of these is a plain ascii file that shows the translation between
numbers (protocol, port, or network IP address) and human-readable
names. Some Linux distros may use /etc/sysconfig/networks instead of
/etc/networks. The /etc(/sysconfig)/networks file, like /etc/hosts, is
maintained by the local sysadmin. Unlike /etc/hosts, I don't think
/etc/networks is required for network operation.

The other two files are part of the basic OS distribution (the netbase
package in Debian or Debian-based distros). On my system, the
/etc/protocols ane /etc/services files begin with comments which contain
URLs to www.iana.org.


--
There is no comfort without pain; thus we define salvation through suffering.
-- Cato
 
Reply With Quote
 
slackware guy
Guest
Posts: n/a

 
      01-05-2006, 08:04 PM
>Each of these is a plain ascii file that shows the translation between
>numbers (protocol, port, or network IP address) and human-readable
>names. Some Linux distros may use /etc/sysconfig/networks instead of
>/etc/networks. The /etc(/sysconfig)/networks file, like /etc/hosts, is
>maintained by the local sysadmin. Unlike /etc/hosts, I don't think
>/etc/networks is required for network operation.


Correct, but you can use it to alias your networks, making
administration easier.

 
Reply With Quote
 
slackware guy
Guest
Posts: n/a

 
      01-05-2006, 08:14 PM
Here is an example of ane /etc/networks file where the local network is
192.168.1. and all the hosts are on that subnet. (This the linksys
router default)

loopback 127.0.0.0
homenet 192.168.1.0

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing on 2 networks and using offline files CEV Windows Networking 1 01-26-2007 08:57 PM
Sharing files between wired and wireless networks Joe B Wireless Networks 1 07-16-2006 03:55 PM
Can't access MS Client, Protocols, Services, etc. Joe Gazda Windows Networking 15 12-15-2005 11:09 AM
Changing networks with offline files and folders Barb Wireless Networks 1 04-08-2005 11:20 PM
cab files needed for installing protocols? Jim Cobb Windows Networking 1 06-16-2004 04:40 PM



1 2 3 4 5 6 7 8 9 10 11