All of lore.kernel.org
 help / color / mirror / Atom feed
From: Esteban Monturus <emonturus@teltronic.es>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] how get differenced two simultaneous bnep interfaces with the same IP address in a single Bluetooth dongle?
Date: Mon, 21 Feb 2005 14:02:07 +0100	[thread overview]
Message-ID: <4219DBCF.6040300@teltronic.es> (raw)

    Hi all.

    I am working with a single USB dongle in a Linux laptop with BlueZ 
and two PAN-profile access points connected to the same LAN. Each access 
point is implemented with a PC with bridge-utils and bluez packets 
installed. I stablish two simultaneous PAN connectionsfrom the laptop: 
each one to a different access point. Having both connections would 
prevent the loss of data between the LAN and the laptop. I would like to 
receive all the packets through both connections, in order to have 
redundancy.

    I configure both resulting bnep interfaces to have the same IP 
address, since I don't want the other side of the communication to know 
the existence of two different paths. When I do "ifconfig" in the  
laptop, I realize that both bnep interfaces show the same hardware 
address, which would let my laptop receive each packet from the LAN 
twice. But the reality is that only one of the interfaces at a time 
receives the packets.

    For example, when "ping" my laptop from a computer connected to the 
LAN, only bnep0 receives ICMP requests, and bnep1 doesn't. If I use the 
metrics of the routing table to force bnep1 to answer the ping, then 
ICMP requests start to be received by bnep1, and bnep0 receives nothing now.

    I would like to know if this issue depends on the bnep 
implementation and also would like to know how can the net make 
differences between both interfaces, as they have same MAC and IP addresses.

    Thanks a lot.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2005-02-21 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 13:02 Esteban Monturus [this message]
2005-02-21 19:07 ` [Bluez-users] how get differenced two simultaneous bnep interfaces with the same IP address in a single Bluetooth dongle? Alfredo Meraz
2005-02-21 22:50 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4219DBCF.6040300@teltronic.es \
    --to=emonturus@teltronic.es \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.