Hi,
I have a problem with bnepX interfaces.
I use stateless address autoconfiguration to set up the address
on a bnep0 interface. It works fine.
But when I 'ip link set bnep0 down' then after seeing the routes
and ip addresses of bnep0 disappear, they appear again.
That is, ip addresses and routes are created for bnep interfaces
even if they are down.
After putting the interface down
o the global ip address appears in 'ip -6 addr' for bnep0
o the link-local address does NOT appear
o the prefix routes appear for bnep0 in 'ip -6 route'
o the default route for bnep0 appears in 'ip -6 route'
This happens only for bnep interfaces. For wired and
WLAN interfaces, the addresses and routes disappear as they should
and never come back unless the interface is put "up" again.
Is this the normal behaviour for bnep interfaces or a bug?
This behavious causes a problem for example MIPL2 (MIPv6).
Thanks,
Gabor Fekete
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
On 6/1/05, Gabor Fekete <[email protected]> wrote:
> Hi,
>=20
> I have a problem with bnepX interfaces.
> I use stateless address autoconfiguration to set up the address
> on a bnep0 interface. It works fine.
> But when I 'ip link set bnep0 down' then after seeing the routes
> and ip addresses of bnep0 disappear, they appear again.
> That is, ip addresses and routes are created for bnep interfaces
> even if they are down.
> After putting the interface down
> o the global ip address appears in 'ip -6 addr' for bnep0
> o the link-local address does NOT appear
> o the prefix routes appear for bnep0 in 'ip -6 route'
> o the default route for bnep0 appears in 'ip -6 route'
> This happens only for bnep interfaces. For wired and
> WLAN interfaces, the addresses and routes disappear as they should
> and never come back unless the interface is put "up" again.
>=20
> Is this the normal behaviour for bnep interfaces or a bug?
> This behavious causes a problem for example MIPL2 (MIPv6)
>From memory I think this is normal behaviour of network interfaces in
general under Linux. I think if you have any sort of network interface
in a down state you can still ping the actual IP address on the
interface. I seem to remember this being discussed on lkml. But then
my memory may not be correct too.
Pete
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel