Hand edit networking files on Solaris x86

Hand edit networking files on Solaris x86

For some reason you feel brave and don’t want to use sys-unconfig

/etc/defaultdomain Set the default NIS domain name, if any, if it changed.
/etc/defaultrouter Set the default route’s IP address, if it changed.
/etc/hostname.le0 (change le0) Update if the hostname changed.
/etc/hostname6.le0 (change le0) Ditto, if you use IPv6.
/etc/dhcp.le0 (change le0_ Touch [or remove], if [not] using DHCP
/etc/hostname6.ip.tun0 Update if you use a IPv4/IPv6 tunnel (e.g., 6bone)
/etc/nodename Update if the hostname changed.
/etc/nsswitch.conf Update if your name resolution method/order changed.
Copy /etc/nsswitch.dns to /etc/nsswitch.conf if you
use DNS instead of (rarely used) NIS.
/etc/resolv.conf Update if your name servers/domain changed (DNS only).
/etc/inet/hosts Make sure your IP address is updated or added here.
List your FQDN is first, before the short hostname.
E.g., "192.168.128.64 foo.bar.com foo"
/etc/inet/ipnodes IPv6 version of hosts file (Solaris 8+).
/etc/inet/netmasks Set your network number & netmask, if it changed.
/etc/inet/networks Set your network name, if it changed.
/etc/net/ticlts/hosts For the streams-level loopback interface.
/etc/net/ticots/hosts For the streams-level loopback interface.
/etc/net/ticotsord/hosts For the streams-level loopback interface.

Leave a Reply

Your email address will not be published. Required fields are marked *