Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

netsetup(8) [ultrix man page]

netsetup(8)						      System Manager's Manual						       netsetup(8)

Name
       netsetup - network set up program

Syntax
       /etc/netsetup [ install ]

Description
       The command allows you to add your system to a local area network (LAN).  It also enables you to update the and files.

       To  add	your  system  to a LAN, bring the system to single-user mode.  Then run the command with the option and answer the questions.  The
       network manager should be able to provide you with the information that you need.  You will need to know your network number and your  host
       number.	 In  addition,	you  need to find out your Internet Protocol (IP) broadcast address and if the LAN uses all zeros (0) or ones (1).
       Furthermore, you have to know if the LAN uses subnet routing.  If the answer is yes, then you need to know how many bits of the	host  part
       of the Internet address are used to specify the subnet part of the network address.  If your LAN uses subnet routing, remember to enter the
       subnet number as part of the host number.  After the command has completed, reboot the system.

       To add or modify hosts in the or files, run the command without the option and answer all the questions.  There is no  need  to	bring  the
       system to single-user mode to update these files.

Files
See Also
       Guide to Local Area Networks

																       netsetup(8)

Check Out this Related Man Page

IPSEC_SUBNETOF(3)					     Library Functions Manual						 IPSEC_SUBNETOF(3)

NAME
ipsec_subnetof, ipsec_hostof, ipsec_broadcastof - given Internet address and subnet mask return subnet number, host part, broadcast address SYNOPSIS
#include <freeswan.h> struct in_addr subnetof(struct in_addr addr, struct in_addr mask); struct in_addr hostof(struct in_addr addr, struct in_addr mask); struct in_addr broadcastof(struct in_addr addr, struct in_addr mask); DESCRIPTION
These functions are obsolete; see ipsec_networkof(3) for their replacements. Subnetof takes an Internet address and a subnet mask and returns the network part of the address (all in network byte order). Hostof simi- larly returns the host part, and broadcastof returns the broadcast address (all-1s convention) for the network. These functions are provided to hide the Internet bit-munging inside an API, in hopes of easing the eventual transition to IPv6. SEE ALSO
inet(3), ipsec_atosubnet(3) HISTORY
Written for the FreeS/WAN project by Henry Spencer. BUGS
Calling functions for this is more costly than doing it yourself. 11 June 2001 IPSEC_SUBNETOF(3)
Man Page