Linux Container Development
 help / color / mirror / Atom feed
From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman)
To: Jereme Lamps <lamps1-nzINlOoChub2fBVCVOL8/A@public.gmane.org>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: Sending data between two nics on one machine
Date: Sat, 27 Oct 2012 21:58:43 -0700	[thread overview]
Message-ID: <87mwz78a64.fsf@xmission.com> (raw)
In-Reply-To: <CAHvNds2pUmqisQOtMn0-T-SAKrNs40THY80+Pwi-MNgPwDZNcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> (Jereme Lamps's message of "Wed, 24 Oct 2012 22:45:39 -0500")

Jereme Lamps <lamps1-nzINlOoChub2fBVCVOL8/A@public.gmane.org> writes:

> I have a machine (ubuntu 12.04) with 2 nics and I am trying to send data
> between the two. However, when I iperf from one to the other, the OS is
> optimizing it and the data is never actually being sent out on the network
> (I want it to go through the switch).
> Is there any way I can move one of the physical interfaces into a network
> namespace and then try to iperf from there?
>
> Any help would be greatly appreciated!

ip netns add ...
ip link set ...
ip netns exec ...

Eric

      parent reply	other threads:[~2012-10-28  4:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25  3:45 Sending data between two nics on one machine Jereme Lamps
     [not found] ` <CAHvNds2pUmqisQOtMn0-T-SAKrNs40THY80+Pwi-MNgPwDZNcQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-28  4:58   ` Eric W. Biederman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwz78a64.fsf@xmission.com \
    --to=ebiederm-as9lmozglivwk0htik3j/w@public.gmane.org \
    --cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=lamps1-nzINlOoChub2fBVCVOL8/A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox