Hi Vijay,How do I check this ???.
Did you check if the packet is not being sent on wire or it is not being received on other end?
I tried putting broadcast mac address on the out going frame, even then, no machine on the network recieves it.
(again, the ping request is received by all machines, but the reply by none.)
How to do this?. Do I write another module to register for this interrupt number and log all events ?. Or is there is an easier way?.If you see a ping reply on some packet capturing utility on sender side, it does not ensure that packet has been sent out. You mentioned in your old mail that you have implemented virtual interface which uses Ethernet card to send/receive packets. In that case, you can use Ethernet card interrupt mechanism to know if a packet has been transmitted on wire and also to ensure that a packet has been received from wire.
Before this just make sure packet length is not less than 60 bytes :-)The packet is a standard ping reply - the skb->data is 98 bytes long. So, this is not the problem.
Regards Mohanlal
----- Original Message ----- From: "vijaykumar v" <vij@it.iitb.ac.in> To: "Kishore A K" <kishoreak@myw.ltindia.com>; <kernelnewbies@nl.linux.org> Sent: Wednesday, May 05, 2004 2:11 AM Subject: Re: Problem with packt transmission
Hi, The problem is not with firewall/gateway, as these machines are on the same subnet and even on these machines, the firewalls are disabled.
Pinging normal interfaces will not work as this interface changes the type of the packet in the ethernet headers (so, the other interface cant identify this packet).
i make a *dev_queue_xmit(skb);* call on the physical interface. Ethereal too shows that the packet is going to the eht0 interface.
If firewall is set, will the packet be seen in the ethereal output?.
And the bigger question is "when the ping-request/syn goes through the interface and gets received at the other end, why does the ping-reply/syn-ack not go through the interface?"
-Vij
Kishore A K wrote:
Hi Vijay,
* check your gateway settings
* check your firewall configration
* try pinging normal interfaces
or mail in some more details about this virtual interface & all other network settings.
-Kishore
-- ***************************************************************** V.Vijayakumar http://www.it.iitb.ac.in/~vij/
"Anything less than a conscious commitment to the important is an unconscious commitment to the unimportant." *****************************************************************
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- ***************************************************************** V.Vijayakumar http://www.it.iitb.ac.in/~vij/
"Anything less than a conscious commitment to the important is an unconscious commitment to the unimportant." *****************************************************************
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/