All of lore.kernel.org
 help / color / mirror / Atom feed
From: gmate.amit@gmail.com (Kumar amit mehta)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Fwd: ifconfig / alloc_netdev
Date: Wed, 7 Nov 2012 21:17:13 -0800	[thread overview]
Message-ID: <20121108051713.GA2591@gmail.com> (raw)
In-Reply-To: <CACLebospSwt3WDxHLyK2fT+-q=YgBxuKiDynKv-==CcxP0xX8g@mail.gmail.com>

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@gmail.com> 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

      reply	other threads:[~2012-11-08  5:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACLebov6riJUQJU489E5mr1_uf+Uh7mo0GYFRWHuP6oENY85QA@mail.gmail.com>
2012-11-06  2:34 ` Fwd: ifconfig / alloc_netdev A B
2012-11-06  4:36   ` Kumar amit mehta
2012-11-07 21:47     ` A B
2012-11-08  5:17       ` Kumar amit mehta [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121108051713.GA2591@gmail.com \
    --to=gmate.amit@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.