Setting IP address on Solaris 10


show available ethernet device
# dmesg | more

activate the interface
# ifconfig ce0 plumb up

Giving ip address to interface
# ifconfig ce0 10.172.84.10 netmask 255.255.255.0 broadcast 10.172.84.255

if your setting for interface run at startup :
edit your /etc/hosts
# vi /etc/hosts
10.172.84.10 server1

and then edit your /etc/hostname.
# vi /etc/hostname.ce0
server1

edit your /etc/netmasks
10.172.84.0 255.255.255

Setting up default gateway
# vi /etc/defaultrouter
10.172.84.1

Popular posts from this blog

Howto configure boot device order on ILOM

SAN Switch Config Command

Howto cstm on HP-UX