2003-10-07 11:14:30

by Paulo Marques

[permalink] [raw]
Subject: Re: [Bluez-users] help for bluez and bridge configuration needed



Theo Beisch wrote:

> I am using a 2.4.2 kernel (SuSE 8.2) and the bridge within it to tie a
> bluetooth PAN and my Laptop together under one IP address which must come
> from a DHCP server as I am using the constellation in various networks.
>


This kernel is quite old. You really should upgrade the kernel...


> ...
>
> While before pings to the local machine work ok and I get constant periodic
> reponses, after the bnep0 interface becomes part of the bridge, ping stops
> about every 5 instances, no longer displays the ping'd machine's name and
> goes down with response frequency (from normally one a second to one response
> every 10 or so seconds). While the response frequency remains low, after 8-10
> no-name resolution pings, the machine name comes back with each ping. and so
> on....

I had similar problems with a very similar setup.

The problem is that when the bnep0 interface enters the bridge, the bridge's
"mac address" changes. You can see that happening doing a "ifconfig pan0" before
the bnep0 joining the bridge and after, to see the hardware address of the pan0
interface.

I tried to solve this by issuing "arping's" so that other machines on the
network would be warned about the new hardware address, but unfortunately never
got this to work properly... :(

It has been quite a while since i've tried this, though. So maybe in recent
versions the bridging layer doesn't change the hardware address anymore?

If you have better luck than me, please let me know.

--
Paulo Marques
Software Development Department - Restinfor, Lda.
Phone: +351 252 290600, Fax: +351 252 290601
Web: http://www.grupopie.com

"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2003-10-09 16:15:16

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] help for bluez and bridge configuration needed

Hi Theo,

> thanks, I tried this but couldnt get it to work at least with SuSEfirewall2,
> activating NAT between the internal:pan0 (bridge) and external:eth0. ANy
> other ways?

I am not using SuSE, so I can't help here.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2003-10-08 19:10:12

by Theo Beisch

[permalink] [raw]
Subject: Re: [Bluez-users] help for bluez and bridge configuration needed

Marcel,

thanks, I tried this but couldnt get it to work at least with SuSEfirewall2,
activating NAT between the internal:pan0 (bridge) and external:eth0. ANy
other ways?

What I am trying to get to: as I use my linux-laptop online (DHCP on eth0 in
different networks) and offline (with th PDA/BT connection with apache etc.
running on the laptop) my plan was to have a default configuration which at
boot is overridden after DHCP on eth0 (or the bridge) has provided the laptop
with its network IP, gateway and so on.

As I said, new to all this stuff....

Tx again
Theo

Am Dienstag, 7. Oktober 2003 13:34 schrieb Marcel Holtmann:
> Hi,
>
> > The problem is that when the bnep0 interface enters the bridge, the
> > bridge's "mac address" changes. You can see that happening doing a
> > "ifconfig pan0" before the bnep0 joining the bridge and after, to see the
> > hardware address of the pan0 interface.
> >
> > I tried to solve this by issuing "arping's" so that other machines on the
> > network would be warned about the new hardware address, but unfortunately
> > never got this to work properly... :(
>
> I never put the eth0 into the bridge ;) You can use IP forwarding and
> NAT between eth0 und pan0.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users

--
Theo Beisch
106 Ronheider Weg
Aachen, Germany 52066
Tel +49 (241) 13935 & +49 (9401) 6000283
Mobil +49 (172) 2102211
[email protected]

2003-10-07 11:34:10

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] help for bluez and bridge configuration needed

Hi,

> The problem is that when the bnep0 interface enters the bridge, the bridge's
> "mac address" changes. You can see that happening doing a "ifconfig pan0" before
> the bnep0 joining the bridge and after, to see the hardware address of the pan0
> interface.
>
> I tried to solve this by issuing "arping's" so that other machines on the
> network would be warned about the new hardware address, but unfortunately never
> got this to work properly... :(

I never put the eth0 into the bridge ;) You can use IP forwarding and
NAT between eth0 und pan0.

Regards

Marcel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users