LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2007, 03:50 PM   #1
a2vr6
Member
 
Registered: Aug 2006
Posts: 46

Rep: Reputation: 15
Creating traffic on second NIC


I know it's something easy and I am sure I have done it before but how would one create traffic on a a different NIC (i.e. Eth3). Is there a ping option for it?
 
Old 11-20-2007, 03:56 PM   #2
kav
Member
 
Registered: May 2006
Location: USA
Distribution: FreeBSD Ubuntu Debian
Posts: 137

Rep: Reputation: 15
By "create traffic" do you mean move traffic to a different NIC?

Please elaborate more on what you are trying to do.
 
Old 11-20-2007, 05:09 PM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
man ping.

Try ping -I [interface]
 
Old 11-20-2007, 10:40 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
Quote:
Originally Posted by Poetics View Post
Try ping -I [interface]
Note that not all versions of “ping” support this option. In particular, I don’t think GNU’s own version (à la inetutils) supports it. Some distros use the version from inetutils and some use the version from iputils (which does happen to support the option). The *BSDs support the option to varying degrees. I think Sun’s ping supports the option as a lowercase “-i” (opposite from the others).

You might also “create traffic on a second NIC” by temporarily changing the routing tables. Of course this usually requires superuser privileges (but for that matter, so does ping).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
nic reads traffic of other nic? Red Squirrel Linux - Networking 2 09-04-2006 02:07 PM
Creating a network traffic khattaking Linux - General 1 05-13-2006 05:05 AM
Iptables blocking all traffic on other NIC spede Linux - Security 3 05-05-2004 06:37 PM
a lot of traffic on an unused nic phobox Linux - Networking 3 12-28-2003 06:58 PM
2 NIC and traffic on the wrong interface Minuteman Linux - Networking 4 09-27-2003 05:18 AM


All times are GMT -5. The time now is 07:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration