LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't assign a static IPv6 address (https://www.linuxquestions.org/questions/linux-networking-3/cant-assign-a-static-ipv6-address-288868/)

guzo 02-11-2005 06:22 AM

Can't assign a static IPv6 address
 
Using Mandrake 10, and have 2 NIC's on an IPv6 network.My ifcfg-eth# looks like this:
DEVICE=eth#
ONBOOT=yes
BOOTPROTO=static
MII_NOT_SUPPORTED=yes
IPV6INIT=yes
IPV6ADDR=my IPv6 address
When I manually add the same address with ifconfig, it works, but after rebooting it'not there anymore.If i try with ifdown and then ifup this shows up:
ifup-ipv6:line 100: Segmentation fault (core dumped) LC_ALL=C /sbin/ifconfig $options 2>&1
The code in ifup-ipv6 where that happens is:
if ! [-z "$IPV6ADDR" ];then
ipv6_add_addr_on_device $DEVICE $IPV6ADDR || exit 1
fi
Now,I'm just a beginner but that all seems fine,and in my understanding the fact that it's IPv6 instead of IPv4 should have no influence.
So what am I doing wrong here?!
Anyone?
Thx


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