You are not logged in.

#1 2013-04-21 13:49:51

nian
Member
Registered: 2013-03-22
Posts: 8

why tap interface's state allways down

hi,all!
I create a tap interface like bellow:

  • sudo tunctl -t tap0

  • sudo ip link set tap0 up

but,  ip link show like bellow, the interface state is "DOWN".

4: tap0: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DORMANT qlen 500
    link/ether f2:6c:48:b5:e7:dd brd ff:ff:ff:ff:ff:ff
5: tap1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 500
    link/ether ce:04:88:d2:b6:11 brd ff:ff:ff:ff:ff:ff

Did I do wrong?

Offline

#2 2013-04-21 15:05:38

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: why tap interface's state allways down

What are you really trying to do?

Offline

#3 2013-04-22 08:47:58

nian
Member
Registered: 2013-03-22
Posts: 8

Re: why tap interface's state allways down

thanks  falconindy.

The situation like this:

A application send ip pacaket to the tap0 interface,  i use wireshark sniffer tap0, but nothing.

Last edited by nian (2013-04-22 08:48:31)

Offline

Board footer

Powered by FluxBB