Fwd: ifconfig / alloc_netdev

A B mailforgroup at gmail.com
Wed Nov 7 16:47:26 EST 2012


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 at 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.
>>
>



More information about the Kernelnewbies mailing list