netmasks

All posts tagged netmasks

If by mistake (or even conscious) you did configure a solaris 10 or bellow with DHCP and you want to disable it and set fixed IP, there are several steps you should follow... There is a file called dhcp.interface_name in /etc that we must delete. Now, create the file /etc/nodename with the hostname inside. # echo webserver > /etc/nodename now, create a file called hostname., where interface is the name of the device in solaris, like bge0, e1000g0, ce0, etc. # echo webserver > /etc/hostname.bge0 Now, Read more...
IP setting can be done temporary or persistent. in the fist case, the interface must be plumbed in the following way: # ifconfig nxge0 plumb # ifconfig <intferface> <ip address> broadcast <bcast address> netmask <netmask> If you want your configuration to persist across reboots you'd need to do the following... Each machine on a TCP/IP network gets its configuration information from the following TCP/IP configuration files and network databases: /etc/hostname.interface Read more...