LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 02-08-2010, 05:22 PM   #1
trav.emme
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
esx with private network


Here is an outline of the configuration:
Host A
2 nics, one goes to standard network, second to private esx network

Host B
1 nic, goes to private esx network

The two hosts can reach each other just fine.
And host A can reach the outside fine as well.

I'm going to be running stress tests between host A and host B, so I need to ensure the standard network does not see any of the traffic.

How does linux figure out what nic to go through when I type something like ping hostb?

What can I do to ensure packets for hostb always go out the right nic and never try the wrong one?
 
Old 02-08-2010, 05:39 PM   #2
devwatchdog
Member
 
Registered: Jan 2010
Posts: 184

Rep: Reputation: 38
Quote:
Originally Posted by trav.emme View Post
Here is an outline of the configuration:
Host A
2 nics, one goes to standard network, second to private esx network

Host B
1 nic, goes to private esx network

The two hosts can reach each other just fine.
And host A can reach the outside fine as well.

I'm going to be running stress tests between host A and host B, so I need to ensure the standard network does not see any of the traffic.

How does linux figure out what nic to go through when I type something like ping hostb?
you can use:

ping -I eth(x) (ip address)

to indicate to ping which interface it should use to send ping traffic.

Quote:
What can I do to ensure packets for hostb always go out the right nic and never try the wrong one?
If you have your routing table set up correctly, the traffic should exit on the proper interface. Actually, if you have your routing table set up right, you shouldn't need to use '-I eth(x)'.

Last edited by devwatchdog; 02-08-2010 at 05:41 PM.
 
Old 02-09-2010, 08:10 AM   #3
trav.emme
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, I thought routing tables were the way togo but my quick browsing on it didnt seem right. I'll keep reading.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very poor network performance after upgrading to Fedora 12 and moving to ESx geustace Linux - Networking 2 12-17-2009 02:19 PM
Network Configuration on VMware Esx? your_shadow03 Linux - Newbie 1 08-02-2009 09:50 PM
Setting up private Network in VMware ESX Server? your_shadow03 Linux - Newbie 0 07-18-2009 04:44 PM
DNS for private network ekalavya Linux - Newbie 3 07-03-2009 03:03 AM
public and private network here2serve Linux - Distributions 7 12-03-2006 01:34 AM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration