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.
- 07-31-2009 #1Just 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.........
- 07-31-2009 #2
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 thatbut this wouldn't be possible as alpha characters are not valid in an IP addressits destination ip address is ff.ff.ff.ffLinux User #453176
- 08-03-2009 #3Just 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.
- 08-03-2009 #4
I’m still not clear on what it is you’re trying to do. Are there:
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 interface2 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
To do this you will need to send out 3 individual packets each one containing a source address matching each interface1 machine with 3 interfaces. You’re trying to send 1 packet through each of the interfacesLinux User #453176


Reply With Quote
