Re: Fwd: ifconfig / alloc_netdev

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

 



On Wed, Nov 07, 2012 at 04:47:26PM -0500, A B wrote:
> Yes it did come up in 'ifconfig' with running that command 'ifconfig
> <ifname> up'. But I'm still not seeing any packets forwarded to that
> interface. Rx/Tx counters are not incrementing. How can i troubleshoot
> this problem?.
> 
> On Mon, Nov 5, 2012 at 11:36 PM, Kumar amit mehta <gmate.amit@xxxxxxxxx> wrote:
> > On Mon, Nov 05, 2012 at 09:34:55PM -0500, A B wrote:
> >> I'm facing an issue where
> >> ifconfig command output doesn't display the interface that is created
> >> using alloc_netdev and registered using register_netdev.
> >>
> >> If i do 'ifconfig -a', i'm seeing the interface which i created.
> >>
> >> Under what circumstances does the interface is not shown in ifconfig
> >> output but in 'ifconfig -a' output.
> >>
> >> Also, i'm not seeing any packets forwarded to the created interface.
> >> i.e None of the Rx Packets and Tx Packets counters are getting
> >> incremented,
> >>
> > Maybe your interface is down. Try bringing it up by invoking:
> > ifconfig <your interface> up
> >> Can any one please let me know your suggestions / any documentation
> >> related to this problem area.
> >>
> >
There can be multiple reason for this!!!, However the obvious things to look
first would be:
i) Proper IP addresses
ii) Source and destination MAC
iii) Routing table
iv) Physical connection

BTW, no top posting please.

-Amit

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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