[BusyBox 0001519]: ipv6 address can not be set

bugs at busybox.net bugs at busybox.net
Thu Oct 11 10:46:41 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1519 
====================================================================== 
Reported By:                arprip
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1519
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             10-02-2007 19:56 PDT
Last Modified:              10-11-2007 03:46 PDT
====================================================================== 
Summary:                    ipv6 address can not be set
Description: 
Use busybox 1.7.2. I can not use ifconfig to set the ipv6 address to
interface.

for example 

/ # ifconfig eth0 44::4/128
ifconfig: bad address '44::4'


It will show me the bad address.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-11-07 03:23  
---------------------------------------------------------------------- 
Works for me:

# ./busybox ifconfig if 44::4/128

# ./busybox ifconfig -a
if        Link encap:Ethernet  HWaddr 00:16:17:6D:77:DB
          inet6 addr: 44::4/128 Scope:Global
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:23

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3863 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3863 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:340266 (332.2 KiB)  TX bytes:340266 (332.2 KiB)

# ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: if: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 00:16:17:6d:77:db brd ff:ff:ff:ff:ff:ff
    inet6 44::4/128 scope global tentative
       valid_lft forever preferred_lft forever

Example of working .config attached.

Please upload your .config 

---------------------------------------------------------------------- 
 arprip - 10-11-07 03:46  
---------------------------------------------------------------------- 
See http://busybox.net/bugs/view.php?id=1518   for details.
I have found the root cause. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-02-07 19:56  arprip         New Issue                                    
10-02-07 19:56  arprip         Status                   new => assigned     
10-02-07 19:56  arprip         Assigned To               => BusyBox         
10-11-07 03:23  vda            Note Added: 0002818                          
10-11-07 03:23  vda            File Added: .config_good                     
10-11-07 03:23  vda            Status                   assigned => feedback
10-11-07 03:46  arprip         Note Added: 0002821                          
======================================================================




More information about the busybox-cvs mailing list