smit - Communications Applications and Services - TCP/IP - Minimum Configuration & StartupSelect your adapter and insert your internet address.
* HOSTNAME [bioxxxx]
* Internet ADDRESS (dotted decimal) [140.181.yyy.zzz]
Network MASK (dotted decimal) [255.255.192.0]
* Network INTERFACE en0
NAMESERVER
Internet ADDRESS (dotted decimal) [140.181.96.29]
DOMAIN Name [gsi.de]
Default GATEWAY Address [140.181.96.1]
(dotted decimal or symbolic name)
Your CABLE Type N/A +
START Now yes +
* HOSTNAME [tkrrs6b] [tkrrs6a]
* Internet ADDRESS (dotted decimal) [140.181.98.82] [140.181.98.80]
Network MASK (dotted decimal) [255.255.192.0]
* Network INTERFACE en0
NAMESERVER
Internet ADDRESS (dotted decimal) [127.0.0.1]
DOMAIN Name [gsi.de]
Default GATEWAY Address [140.181.96.1]
(dotted decimal or symbolic name)
Your CABLE Type N/A +
Your CABLE Type N/A +
START Now yes +
* HOSTNAME [mpsa]
* Internet ADDRESS (dotted decimal) [192.168.1.45]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en0
NAMESERVER
Internet ADDRESS (dotted decimal) [192.168.1.1]
DOMAIN Name [localdomain]
DOMAIN Name [.localdomain] # for AIX 3.2, strangely !
Default GATEWAY Address [192.168.1.1]
(dotted decimal or symbolic name)
Your CABLE Type N/A +
or via command line
/usr/sbin/mktcpip -h'mpsa' -a'192.168.1.45' -m'255.255.255.0' -i'en0' -n'192.168.1.1' -d'localdomain' -g'192.168.1.1' -t'N/A'In this case the router will pass name resolution to the ISP and thus moonshines as a domain "nameserver", sort of. Local addresses will have to be resolved by
/etc/hosts.
Your CABLE Type has to be correctly specified, i.e.
dix if a transceiver is being used, bnc for a BNC outlet.
/etc/resolv.conf should look like
domain gsi.de nameserver 140.181.96.11 nameserver 140.181.96.29 nameserver 140.181.96.69
domain gsi.de nameserver 127.0.0.1 # localhost nameserver 140.181.98.80 # for tkrrs6a nameserver 140.181.98.82 # for tkrrs6b
nameserver 192.168.1.1 domain localdomain
/etc/netsvc.confhosts=local,bind,niswhich specifies that for IP name resolution
/etc/hosts should be looked up first
(leave out the nis entry if NIS won't be active).
/etc/netsvc.conf together with /etc/hosts is mandatory for a
router solution which otherwise passes all DNS requests to the outside world.
/etc/hosts, e.g.:
140.181.98.80 tkrrs6a # on tkrrs6b 140.181.98.82 tkrrs6b # on tkrrs6a 192.168.1.42 rs6kf # example for a home server