LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Assigning site-local ipv6 address to an interface (http://www.linuxquestions.org/questions/linux-networking-3/assigning-site-local-ipv6-address-to-an-interface-51427/)

goto 03-24-2003 05:06 AM

Assigning site-local ipv6 address to an interface
 
hi

i want to assign an ipv6 address to an interface (eth0)
i successfully assigned it using "ifconfig etho add ipv6address"
but i wanted it that it should have a particular site-local address on bootup. so...

i modified the /etc/sysconfig/network file and added NETWORKING_IPV6="yes" line in it. now i dont have to "modprobe ipv6" everytime.

next i modified /etc/sysconfig/newtwork-scripts/ifcfg-eth0 file
and added the following lines in it
IPV6INIT=yes
IPV6ADDR=ipv6address/prefix
IPV6FORWARDING=yes

and after rebooting there are two addresses to eth0 interface. one link local and one site local address.

so the big question is "how can i set ONLY the site local address?"

thanks in advance :)
goto


All times are GMT -5. The time now is 04:24 AM.