Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, --> If an socket is binded to 0.0.0.0 and its destination ip address is ff.ff.ff.ff In order to transfer a packet, the packet should be transferred through all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    2

    Transfer the packet


    Hi all,

    --> If an socket is binded to 0.0.0.0 and its destination ip address is ff.ff.ff.ff

    In order to transfer a packet, the packet should be transferred through all interfaces.(broadcasetd). The packet has to be transferred through interface 1 , interface 2 ....etc.,(through all interfaces)



    Thanks in advance.........

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    Hello vijaypdp2006 and welcome to the forums

    You will need to provide some more details on this one. Are you writing a program and are trying to send out packets on each network device? If so then you will need to send out a packet for each device rather than one.

    You also say that
    its destination ip address is ff.ff.ff.ff
    but this wouldn't be possible as alpha characters are not valid in an IP address
    Linux User #453176

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    2
    Thanks for replying,

    In case of DHCP, a discover packet has to be transferred to the server(here source address will be 0.0.0.0. and destination address will be broadcast address).

    If the host has 3 interfaces then the discover packet has to be transferred through all interfaces.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    Iím still not clear on what it is youíre trying to do. Are there:

    2 machines - 1 server running DHCP and another with 3 network interfaces. Youíre trying to send a packet from the server to each interface on the host
    If so, are all 3 interfaces on the host set up to be on the same network? If so then sending a packet from the DHCP server with the destination of the broadcast address would allow the packet to reach each interface

    1 machine with 3 interfaces. Youíre trying to send 1 packet through each of the interfaces
    To do this you will need to send out 3 individual packets each one containing a source address matching each interface
    Linux User #453176

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •