Showing posts with label Solaris. Show all posts
Showing posts with label Solaris. Show all posts

Tuesday, May 18, 2010

How to config ipv6 on solaris 10 and nevada?

SkyHi @ Tuesday, May 18, 2010
To configure ipv6 on an interface, you can use:

ifconfig e1000g0 inet6 plumb up
ifconfig e1000g0 inet6 addif 2000:2::1/64 up

To set up the routing, use something like:

route add -inet6 2000:1::1 2000:2::2


You may want to take a look at the corresponding section in "Solaris
Administration Guide" for details:

http://docs.sun.com/app/docs/doc/819-3000/ipv6-config-tasks-1?a=view

REFERENCE
http://opensolaris.org/jive/thread.jspa?threadID=67173

Saturday, May 15, 2010

How to Change an IP Address on Solaris

SkyHi @ Saturday, May 15, 2010

To change an IP address on a Solaris system immediately, use the `ifconfig` command.


The syntax for `ifconfig` is:


ifconfig <interface> <ip address> <netmask> <broadcast address>


If you don't know the names of your network interfaces, use the `ifconfig -a` command to list all of the available network interfaces.


Permanently Change an IP Address on Solaris


To make this change permanent, you will need to edit one or more Solaris configuration files. If you do not, then your IP address will change back to the old address the next time you reboot the system.


You will need to edit the hosts entry in /etc/hosts.


If you have moved the system to a new network, you will need to change the default route in /etc/defaultrouter.


If you are using VLSM (Variable Length Subnet Masks), you may need to edit /etc/netmasks.


If you are using Solaris 9 or above, you may need to edit the IP address in /etc/inet/ipnodes.


You should then reboot the server to test your changes and ensure that they operate correctly.


REFERENCES

http://www.topbits.com/how-to-change-an-ip-address-on-solaris.html