Greetings,
I am using solaris10 x86 OS. I configured IP address using the command.
>ifconfig e1000g0 plumb
>ifconfig e1000g0 200.200.0.1 up
How to make this configured IP as permanent.. to solaris os.
Greetings,
I am using solaris10 x86 OS. I configured IP address using the command.
>ifconfig e1000g0 plumb
>ifconfig e1000g0 200.200.0.1 up
How to make this configured IP as permanent.. to solaris os.
hi you need to add the entries to the /etc/hosts file, and also edit the file
/etc/hostname.e1000g0
for example
root@dh-test # vi /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost dh-test
192.168.10.4 dh-testa loghost
192.168.10.5 dh-testb
192.168.10.10 dh-test
~
root@dh-test # cat /etc/hostname.e1000g0
dh-testa netmask 255.255.255.0 broadcast + group prod deprecated -failover
up addif dh-test 255.255.255.0 broadcast + failover up
root@dh-test # cat /etc/hostname.e1000g2
dh-testb netmask 255.255.255.0 broadcast + group prod deprecated -failover standby up
root@dh-test # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
inet 192.168.10.4 netmask ffffff00 broadcast 192.168.10.255
groupname production
ether 0:21:28:6f:6e:26
e1000g0:1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.10.10 netmask ffffff00 broadcast 192.168.10.255
e1000g2: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
inet 192.168.10.5 netmask ffffff00 broadcast 192.168.10.255
ether 0:21:28:6f:6e:28
Thanks a lot Revo that is very usefull......