Sunday, September 6, 2009

Manual Network Configuration in Solaris

Add Static IP Address in Solaris 10:

Ifconfig eri0 x.x.x.x broadcast x.x.x.x netmask x.x.x.x up

Gateway :

Route add default x.x.x.x

How to configure static Ip Address in Sparc machine:

Add the hostname:
/etc/nodename
/etc/hostname.bge0

Add the ip address:
/etc/hosts
127.0.0.1 localhost
x.x.x.x sparc10 loghost

Add the Gateway:
/etc/defaultrouter
x.x.x.x

Add the Dns:

/etc/resolv.conf
search itchoice.com
nameserver x.x.x.x

Add the Netmask:
/etc/netmasks
x.x.x.x x.x.x.x

1 comment:

  1. How to configure static Ipaddress for multiple interface?

    Add ipaddress vi /etc/hosts

    10.192.192.11 bgsol1
    10.192.192.12 bgsol2

    Create file :

    Vi /etc/hostname.bge0

    Bgsol1

    Vi /etc/hostname.bge1

    Bgsol2

    the above ex shows how to configure different ipaddress for Different interface.

    ReplyDelete