Re: Problem with packt transmission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vijay,

Did you check if the packet is not being sent on wire or it is not being
received on other end? 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 :-)

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/
>
>


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux