Hello,
There is a network: 192.168.0.0
There is a computer "X" connected to
192.168.0.0 network.
Net configuration of "X" is:
IP=80.56.50.190,
MASK=255.255.255.248,
NETWORK=80.56.50.184,
BROADCAST=80.56.50.191.
I would like to send a datagram from "X" to some
computer in network (192.168.0.0).
Of course it is impossible to do by addressing
a datagram to IP address -- "X" is configured
for the other network than 192.168.0.0, and
IPs in 192.168.0.0 are unreachable for it.
So, I must create datagrams from scratch
(ethernet header, IP header, UDP header, data)
and send them to MAC addresses (not IPs).
Everything works fine on my computer (Fedora Core 2).
Unfortunately, my applications has to work on
a device with kernel 2.2.5. On this device,
during sending datagram I get error:
"No such device or address".
What can be the reason?
Thanks in advance,
Vicky.
|