lost and found ( for me ? )

Solaris 10 : how to assign IPv4 and IPv6 addresses temporally with ifconfig

small tips

bash-3.2# uname –a
SunOS unknown 5.10 Generic_147441-01 i86pc i386 i86pc


[ IPv4 ]

e1000g1 is an interface name.
# ifconfig e1000g1 plumb up
# ifconfig e1000g1 192.168.0.1/24 up


[ IPv6 ]

e1000g1 is an interface name.
An IPv6 address seems to be added to an alias interface ( in this case , e1000g1:1 )
# ifconfig e1000g1 inet6 plumb up
# ifconfig e1000g1 inet6 addif aaaa::bbbb/64 up
Created new logical interface e1000g1:1

# ifconfig -a
e1000g1:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 3
       inet6 aaaa::bbbb/64

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.