LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Closed Thread
  Search this Thread
Old 07-10-2013, 01:05 AM   #1
kniranjan
LQ Newbie
 
Registered: Jul 2013
Posts: 3

Rep: Reputation: Disabled
tap0 in promiscuous mode(TAP/TUN device)


Hi All,

I have a need to tap packets and distribute it to different taps based on certain logic.

I have thus been able to do this pretty easily on RHELs that we have - 2.6.32 kernel.
But I have been having problem in making this work on our Fedora systems - > 2.6.39.

The experiment I have been trying has following steps:
1. tunctl -p -t tap0
2. inconfig tap0 up
3. tcpreplay -i tap0 ./*pcap -- transmit packets to tap0
4. tshark -i tap0 -- capture in promiscuous mode

This works perfectly on the RHELs(having older RH kernels), but on Fedora I could never get this to work(with kernels as recent as 3.6.10).

Any pointers is much appreciated.

Thanks
 
Old 07-10-2013, 01:38 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread: https://www.linuxquestions.org/quest...ce-4175469095/

Reported for closure.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
static route for iptables NAT and tun/tap device j-osh Linux - Networking 2 10-05-2015 06:26 AM
tap0 in promiscuous mode(TAP/TUN device) kniranjan Linux - Networking 1 07-10-2013 07:13 AM
create TUN/TAP device with non default name vofka Linux - Networking 2 04-29-2010 03:11 AM
how to allow tun/tap device in firewall? efm Linux - Networking 12 07-22-2005 04:47 AM
Universal tun/tap device driver support giddyupman Linux - Networking 4 05-14-2004 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration