Re: IPsec wifi link in ad-hoc mode



Fabrice Delente <fdelente@xxxxxxxxxxxx> writes:

Maxwell Lol <nospam@xxxxxxxxxxx> wrote:
We built an ad hoc network a few years ago. I think we had to
broadcast all packets to work around the issue.

I don't understand, could you explain what you mean?


Well, normally a packet is received by the client when it is addressed
to the client. If you are A, and want to send a packet to B that will
forward it to C, you can't simply put C's IP address as the
destination. B will never see it as the address doesn't match.


But by setting the broadcast bit at the MAC layer, B will receive the
packet, and see that it should go to C.

It's been 5 years. I'm a little fuzzy on the details.

Or else B had to be put in promiscuous mode, so it received all
packets. It was something like that...


.



Relevant Pages

  • RE: Running Ethernet without ARP
    ... This is the overly-short version of how things like the arp ... Again you could use the IP broadcast address and ... and without hand-coded MAC address limiting peer tables, ... receiver endpoint/processor on the public machine, wrap the *entire* packet into ...
    (Linux-Kernel)
  • Re: Newbie help - DHCP
    ... > DISCOVERY packet to UDP port 67. ... Broadcast is needed because the ... > address of the server. ... > the DHCP client daemon is listening. ...
    (comp.os.linux.networking)
  • Re: CAsyncSocket discard broadcast packets with my mac-addr
    ... receive every broadcast packet, I`ve generated and transmitted? ... Normally, UDP doesn't give you every packet, unless you ask for them (SetSockOpt, ... The mac addr will be in the ethernet frame header of the packet ...
    (microsoft.public.vc.mfc)
  • Re: WakeOnLAN across WAN
    ... The magic packet by definition has a broadcast frame* and is carried ... which LAN port this machine had been on, or by broadcasting it to all ...
    (uk.comp.sys.mac)
  • Re: ipchains log
    ... >explain that the packet was DENYed on interface ppp0. ... >in the TCP header; mostly you can ignore them, ... Source IP of 216.190.255.225 is broadcast address but protocol is not ... Rejected boxes respond ICMP to 62.212.97.194. ...
    (comp.os.linux.security)