![]() (you can check with this as well: odmget -q attribute=route CuAt) ![]() Lsattr -El inet0 shows routings in the inet0 (which is a netwotk device in the kernel (config info for inet0 is stored in the odm) etc/services contains information about known services and their portnumber (if changing this file: refresh -s inetd) Server ports are in LISTEN state, client connections to or from any port are in ESTABLISHED state Netstat -af inet lists all open UDP and TCP ports with service names (not the port numbers) Netstat -an lists of opened ports with port numbers (netstat -an -f inet) To display TCP/IP application ports (which are opened) ![]() Internet-to-physical address (MAC address) To work properly both should give the same result. Host searches through the /etc/hosts file, and display the hostname Host searches through the /etc/hosts file, and display the ip address of the hostname etc/hosts contains the hostnames and their address for hosts in the network NSORDER=local,bind responds similarly to the host command, but it only uses DNS (don't NIS and don't /etc/hosts) (if both exists NSORDER will override nf) etc/nf specify the ordering of name resolution (or NSORDER environment variable can contain this) etc/nf contains name servers, if this file exists then we have a domain network, if not then /etc/hosts file is used ![]() The NSORDER environment variable overrides the settings in the /etc/irs.conf and the /etc/nf files. The settings in the /etc/nf configuration file override the settings in the /etc/irs.conf file. You can include the NSORDER variable in the /etc/environment file, or you can include a specification line in either the /etc/irs.conf file or the /etc/nf file. You can use several methods to ensure that /etc/hosts file is used before any DNS, if the /etc/nf file exists. Lssrc -ls inetd shows details of subservers started in inetd Smitty inetd updates automatically the /etc/nf etc/nf inetd configuration file (if changed by an editor, run refresh -s inetd) The inetd daemon is a subsystem that controls the following daemons (subservers): ftpd, fingerd, talkd, telnetd. The inetd daemon listens for connections on certain Internet sockets (info in /etc/nf) and handles those requests. It reduces system load by invoking other daemons. The /usr/sbin/inetd daemon provides Internet service management for a network. Thus, when the RPC servers start they can register with portmap. It is started from /etc/rc.tcpip before inetd and the RPC servers (e.g. Portmap daemon listens on port number 111. When a client sends an RPC to the server, the portmap daemon answers to the client which port to send the call to. The portmap daemon knows the location of every registered port on the host and which programs are available on each of these ports. When an RPC server starts up, it registers with the portmap daemon. The portmap daemon converts remote procedure call (RPC) program numbers into Internet port numbers. When inetd started, it reads its configuration from this fileĬontains the name of the services that inetd listens for requests and starts as needed Starts TCP/IP daemons (sendmail, portmap, inetd, etc., and other daemons: syslogd, lpd. Rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons Rctcpip:23456789:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons Then during initialization the file /etc/inittab is called. Sets hostname, default gateway and static routes.(it is called by cfgmgr)
0 Comments
Leave a Reply. |