The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David <david@blue-labs.org>
To: Bryan Rittmeyer <bryan@ixiacom.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: conducting TCP sessions with non-local IPs
Date: Tue, 06 Mar 2001 22:50:37 -0800	[thread overview]
Message-ID: <3AA5DA3D.4040708@blue-labs.org> (raw)
In-Reply-To: <3AA5B24E.D0ED2206@ixiacom.com>

> So, if I configure the interface as suggested ("/sbin/ip addr add
> 10.0.0.0/24 dev eth0") can I really bind to any IP in 10.0.0.0/24 and
> conduct TCP sessions (as a client or server) using that IP--assuming all
> the ARP, etc, issues are worked out?


hostA: ip a a 10.0.0.0/24 brd + dev lo
hostB: ip r a 10.0.0.0/24 dev eth0

hostB: telnet 10.0.0.27
<connected as normal>

hostB: ssh 10.0.0.91
<connected as normal>

'tis a little magic I like.  nothing special needed anywhere.  does that 
help?

-d


  reply	other threads:[~2001-03-07  6:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-07  4:00 conducting TCP sessions with non-local IPs Bryan Rittmeyer
2001-03-07  6:50 ` David [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-03-07  3:59 Bryan Rittmeyer
2001-03-06 20:30 Bryan Rittmeyer
2001-03-06 22:05 ` Gregory Maxwell
2001-03-07  1:46   ` Mike Fedyk
2001-03-07  1:55     ` Gregory Maxwell
2001-03-07  2:15     ` Jeremy Jackson

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=3AA5DA3D.4040708@blue-labs.org \
    --to=david@blue-labs.org \
    --cc=bryan@ixiacom.com \
    --cc=linux-kernel@vger.kernel.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