B.13 /etc/hosts, B.14 /etc/inetd.conf – Lexmark IBM 9077 User Manual

Page 304

Advertising
background image

286

IBM 9077 SP Switch Router: Get Connected to the SP Switch

# A netmask is required for all entries in this configuration file.

#

# The netmask is normally the mask of the remote network:

#

# 192.0.2.0 255.255.255.0 123.45.67.89

#

# For remote host routes, specify a netmask of 255.255.255.255:

#

# 192.0.2.1 255.255.255.255 123.45.67.89

#

# In the case of the default route (0.0.0.0), the netmask is ignored,

# but some value must be present for the file to parse correctly.

#

#

#

# destination netmask gateway/next hop

#

#0.0.0.0 0.0.0.0 192.0.2.2

default 0.0.0.0 192.168.4.137

#

# preferred routes during the residency

#

# 192.168.13.0 255.255.255.0 10.1.1.2

192.168.13.0 255.255.255.0 10.20.30.2

B.13 /etc/hosts

The file /etc/hosts contains the correlation between IP addresses and
hostnames.

#

# Host Database

# This file should contain the addresses and aliases

# for local hosts that share this file.

# It is used only for "ifconfig" and other operations

# before the nameserver is started.

#

#

127.1 localhost

#

# 10.200.160.3 install1.venus

192.168.4.4 grf16.msc.itso.ibm.com grf16

192.168.4.137 sp21en0.msc.itso.ibm.com sp21cw0

B.14 /etc/inetd.conf

This file is included here just for curiosity in case you are interested in why

ftp

to the GRF is not possible.

#

# BSDI $Id: inetd.conf,v 2.2 1996/01/02 19:55:38 polk Exp $

# @(#)inetd.conf 8.2 (Berkeley) 3/18/94

#

#ftp stream tcp nowait root /usr/libexec/tcpd ftpd -l -A

telnet stream tcp nowait root /usr/libexec/tcpd telnetd

#shell stream tcp nowait root /usr/libexec/tcpd rshd

#login stream tcp nowait root /usr/libexec/tcpd rlogind -a

#exec stream tcp nowait root /usr/libexec/tcpd rexecd

Advertising