Solaris Networking
Contents
- Overview
- Planning
- Configuration
- Configuration Files
- Multihomed Hosts
- Local Files
- Configuration Server
- Client Mode
- Routers
- Troubleshooting
See Also
Overview
To configure networking on Sun boxes:
- Configure /etc/hosts. For example:
127.0.0.1 localhost 192.168.4.199 apollo loghost- Configure /etc/resolv.conf.
- Set mn.yourcompany.com in /etc/defaultdomain, which is used by domainname
- Run netstat -r and verify that a default route is set. If not, run:
route add default 192.168.4.1- Do not set /etc/defaultrouter
- Configure logical interfaces
- Add a dns flag to the hosts line of nsswitch.conf, and that enabled dns within the yourcompany network...
# /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: files group: files hosts: files dns ipnodes: files networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files ### There is no 'files' backend for netgroup. The system will ### figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files sendmailvars: files printers: user files auth_attr: files prof_attr: files project: filesIf you do not want to set the above files by hand, there is a menu-driven configuration script that can be accessed:
- As user root, run sys-unconfig
- At the ok prompt type: boot
- After the reboot, a menu should come up. Answer the config questions as best you can...