LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-26-2017, 03:54 AM   #1
poplinux
Member
 
Registered: May 2012
Posts: 111

Rep: Reputation: Disabled
How config the "route" to my test PLAN??


Dear Sir.

I want to PACKET TRAFIC TEST between eth0 <-> eth1 in same PC.

But I don't have a idea for this test.


My plan is like a below image

Click image for larger version

Name:	1.jpg
Views:	25
Size:	229.4 KB
ID:	25322

iperf is running, but NOT BLINK the LED of eth0 and eth1

Result is look like a below image, I guess.

Click image for larger version

Name:	2.jpg
Views:	20
Size:	212.0 KB
ID:	25323



My route table is see below.

Code:
$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.200.0.254    0.0.0.0         UG    0      0        0 enx00e04c534458
1.1.1.0         *               255.255.255.0   U     0      0        0 eth0
2.1.1.0         *               255.255.255.0   U     0      0        0 eth1
localnet        *               255.255.255.0   U     0      0        0 enx00e04c534458
Please advise to me.

Thank you

Last edited by poplinux; 06-26-2017 at 03:55 AM.
 
Old 06-26-2017, 11:49 AM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
You cannot connect 2 different networks directly together as neither one is going to know anything about the other or even how to route to it. To hop from one network to another you need to go though a router.
 
  


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
ssh session "disconnects" after "route add default ppp0", any suggestion? pettha Linux - Networking 2 09-15-2014 05:38 AM
LXer: Comparison Test: Linux Mint 12 "Lisa" KDE vs. Netrunner 4.1 "Dryland" LXer Syndicated Linux News 0 02-10-2012 09:10 AM
[SOLVED] Silencing the line "echo test > test/test.txt" in a shell script Arenlor Linux - General 2 06-18-2010 02:37 PM
IPTABLES: interface on "192.168.1.0/24" won't route clients from "10.65.0.0" zivota Linux - Networking 2 06-09-2008 02:35 PM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 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