9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Bakul Shah <bakul+plan9@bitblocks.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] simple route question
Date: Wed, 30 May 2007 16:41:12 -0700	[thread overview]
Message-ID: <20070530234112.6F7105B49@mail.bitblocks.com> (raw)
In-Reply-To: Your message of "Wed, 30 May 2007 12:14:23 PDT." <13426df10705301214x141beb74nc8e6c40c8a76d44c@mail.gmail.com>

> > > echo add 12.0.1.1 255.0.0.0 12.0.0.0 > /net/ipifc/1/ctl
> > > echo add 11.0.1.1 255.0.0.0 11.0.0.0 >/etc/ipifc/1/ctl
...
> 12 works fine. Pings to 11 don't make it to the medium code. I'm puzzled.

How well does plan9 do multiple IP addresses on the same
interface?

Could it be that since you added 12.0.1.1/8 *first* by
default the source address will be 12.0.1.1?  When you ping
11.x.x.x (presumably node1's ip address), your system sends
an ARP request to map the ip address to a mac address.  Now
if the address where ARP response should be sent to is
12.0.1.1, node1 wouldn't know what to do.  Can you snoop to
see the arp request?  What happens if you add addresses in
the reverse order?  Then 12.x.x.x pings should fail.


  reply	other threads:[~2007-05-30 23:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-30 16:41 ron minnich
2007-05-30 17:35 ` erik quanstrom
2007-05-30 19:14   ` ron minnich
2007-05-30 23:41     ` Bakul Shah [this message]
2007-05-31  0:22       ` ron minnich

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=20070530234112.6F7105B49@mail.bitblocks.com \
    --to=bakul+plan9@bitblocks.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).