Networking Configuration and Administration


Quick Links:

Notes on Network Configuration and Administration
Network Configuration
Network Administration


Notes on Network Configuration and Administration

NOTES Tru64 UNIX V5.1x HP-UX 11i v2
Name Resolution Order /etc/svc.conf /etc/nsswitch.conf
/etc/nsswitch.hp_defaults
NFS Share Definition File /etc/exports /etc/exports
Route Definition /etc/routes /etc/rc.config.d/netconf
Hosts File /etc/hosts /etc/hosts
Hosts Equivalency File /etc/hosts.equiv
$HOME/.rhosts
/etc/hosts.equiv
$HOME/.rhosts
TCP/IP Daemon Configuration File /etc/inetd.conf /etc/inetd.conf


Network Configuration Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Configure Network Interface Card Using SysMan Menu:

Networking  Basic Network Services  Set up Network Interface Cards.

or

Networking  Networking Setup Wizard


GUI:

Network Configuration (netconfig)

Using SAM:

Networking and Communication  Network Interface Cards

Configure Routing Services Using SysMan Menu:

Networking  Basic Network Services  Set up Routing Services (gated, routed, I/P Router)

or

Networking  Networking Setup Wizard


GUI:

Network Configuration (netconfig)

 
  Command:

gdc createconf (gated routing)

Configure Hosts File Using SysMan Menu:

Networking  Basic Network Services  Set up hosts file (/etc/hosts)

or

Networking  Networking Setup Wizard


GUI:

Network Configuration (netconfig)

Using SAM:

Networking and Communication  Hosts  Local Hosts File

Configure Hosts Equivalency File Using SysMan Menu:

Networking  Basic Network Services  Set up hosts equivalency file (/etc/hosts.equiv)

or

Networking  Networking Setup Wizard


GUI:

Network Configuration (netconfig)

Using SAM:

Networking and Communication  System Access  Remote Logins

Configure Host as DHCP Server Using SysMan Menu:

Networking  Additional Network Services  Set up the system as a DHCP Server

or

Networking  Networking Setup Wizard


GUIs:

Network Configuration (netconfig)

or

Application Manager  System_Admin  DailyAdmin  DHCP server configuration

Using SAM:
  1. Networking and Communication  Bootable Devices
  2. Select the appropriate icon:
    • DHCP Device Groups Booting From this Server
    • Devices for which Boot Requests are Relayed to Remote Servers
    • Fixed Address Devices Booting From this Server
  3. Actions  Enable
Configure Name Server Switch   Using SAM:
  1. Networking and Communications  Name Server Switch
  2. Select hosts
  3. Actions  Configure Name Server Switch
Configure DNS (BIND) Client Using SysMan Menu:

Networking  Additional Network Services  Domain Name Service (DNS(BIND))  Configure system as a DNS client

or

Networking  Networking Setup Wizard


GUI:

Application Manager  System Admin  BIND Configuration Manager (bindconfig)

Using SAM:
  1. Configure Name Server Switch
  2. Networking and Communications  DNS (BIND)  DNS Resolver
  3. Actions  Specify Name Servers
  4. Actions  Set Default Domain
  5. Actions  Restart the DNS Name Server
Configure DNS (BIND) Server Using SysMan Menu:

Networking  Additional Network Services  Domain Name Service (DNS(BIND))  Configure system as a DNS server

or

Networking  Networking Setup Wizard


GUI:

Application Manager  System Admin  BIND Configuration Manager (bindconfig)

Using SAM:
  1. Configure Name Server Switch
  2. Networking and Communications  DNS (BIND)  DNS Local Name Server
Configure NFS Client Using SysMan Menu:

Networking  Additional Network Services  Network File System  Configure System as an NFS client


GUI:

Application Manager  System_Admin  Configuration  NFS Configuration Manager

Using SAM:

Networking and Communications  Networked File Systems  Mounted Remote File Systems

Configure NFS Server Using SysMan Menu:

Networking  Additional Network Services  Network File System  Configure as an NFS server


GUI:

Application Manager  System_Admin  Configuration  NFS Configuration Manager

Using SAM:

Networking and Communications  Networked File Systems  Exported Local File Systems

Configure NIS Using SysMan Menu:

Networking  Additional Network Services  Configure Network Information Service

Using SAM:

Networking and Communications  NIS
Actions  Configure Master Server

Command:

nissetup

 
Configure NIS+ N/A Using SAM:

Networking and Communications  NIS+  NIS+ Groups

Configure Mail Using SysMan Menu:

Mail  Basic Mail Configuration Wizard (sendmailconfig)

See Installing and Administering Internet Services for more information.
Configure NTP Client Using SysMan Menu:

Networking  Additional Network Services  Configure system as an NTP client

Using SAM:
  1. Time  NTP Network Time Sources
  2. Actions  Add Remote Server or Peer
  3. Actions  Configure NTP Local Clock


Network Administration Tasks

Task Description Tru64 UNIX V5.1x HP-UX 11i v2
Show Network Information Commands:

ifconfig -a
netstat -in

Commands:

lanadmin
landiag
lanscan
ifconfig
netstat -in

Trace (Sniff the Network) Command:

tcpdump

Commands:

nettl
netfmt

Ping n Packets Command:

ping -c n hostname

Command:

ping hostname -n n

Display hostname Command:

hostname

Command:

hostname

Start/Restart NFS daemons Using SysMan Menu:

Networking  Network File System (NFS)  Start/Restart NFS daemons

Using SAM:
  1. Networking and Communications  Network Services
  2. Select NFS Client or NFS Server
  3. Actions  Enable
Commands:

/usr/sbin/init.d/nfs start
/usr/sbin/init.d/nfs restart

/usr/sbin/init.d/nfsmount start (client)
/usr/sbin/init.d/nfsmount restart (client)

Commands:

/usr/sbin/init.d/nfs.client start
/usr/sbin/init.d/nfs.server start

/usr/sbin/nfsd -a nservers
/usr/sbin/nfsd -p protocol
/usr/sbin/nfsd -t devicename

/usr/sbin/biod -t nservers
(for Asynchronous Block I/O Transers)

Stop NFS daemons Using SysMan Menu:

Networking  Network File System (NFS)  Stop NFS daemons

Using SAM:
  1. Networking and Communications  Network Services
  2. Select NFS Client or NFS Server
  3. Actions  Disable
Commands:

/usr/sbin/init.d/nfs stop
/usr/sbin/init.d/nfsmount stop (client)

Commands:

/usr/sbin/init.d/nfs.client stop
/usr/sbin/init.d/nfs.server stop

Start/restart sendmail daemon Using SysMan Menu:

Mail  {Re}start Sendmail Daemon

 
Command:

/sbin/init.d/sendmail start

Command:

/sbin/init.d/sendmail start

sendmail -bd -q30m

Stop sendmail daemon Using SysMan Menu:

Mail  Stop Sendmail Daemon

 
Command:

/sbin/init.d/sendmail stop

Command:

/sbin/init.d/sendmail stop

killsm

Start/restart NTP daemon Using SysMan Menu:

Networking  Additional Network Services  Network Time Protocol (NTP)  {Re}start NTP daemon

Using SAM:
  1. Time  NTP Broadcasting
  2. Actions  Start NTP
Command:

/sbin/init.d/xntpd start

Command:

/sbin/init.d/xntpd start

Stop NTP daemon Using SysMan Menu:

Networking  Additional Network Services  Network Time Protocol (NTP)  Stop NTP daemon

Using SAM:
  1. Time  NTP Broadcasting
  2. Actions  Stop NTP
Command:

/sbin/init.d/xntpd stop

Command:

/sbin/init.d/xntpd stop