All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Carinhas <pac@fortuitous.com>
To: xen-devel@lists.sourceforge.net
Subject: Re: Creating Aliases in Domains - Solution?
Date: Sat, 13 Nov 2004 22:56:00 -0600	[thread overview]
Message-ID: <20041114045600.GC6557@mail.fortuitous.com> (raw)
In-Reply-To: <20041112055703.GA31725@mail.fortuitous.com>

On Thu, Nov 11, 2004 at 11:57:03PM -0600, Phil Carinhas wrote:
>   FYI,
> 
>   This may be known, but I discovered how to create an alias interface
>   for a domain. Using the same gateway as the primary nic
>   doesn't work for a Debian-stable xenU. Using the network number
>   the bridge IP, or the primary eth0 number seems to work ok:
> 
> iface eth0 inet static 
>   address 214.213.44.21
>   netmask 255.255.255.240
>   gateway 214.213.44.17
> 
> iface eth0:1 inet static 
>   address 214.213.44.22
>   gateway 214.213.44.21 (or .18 which is the Xen0 ip)
>   netmask 255.255.255.240
 
  Sorry to respond to my own posting, but I need to correct something:

 The above statements about using the gateway ip in the aliased
interface are plain wrong. You should not have any gateway for 
an alias. The alias forms a bridge-like struct with the primary nic.
Having a bridge inside of a bridge can confuse routing.

 What I did find is that many of the aliased interfaces would not
be reachable from the outside without first pinging out. I tried
a number of things but I finally turned on STP in the bridging
code. That seemed to help. Now all my aliased interfaces are 
reachable without any special provision.

-Phil Carinhas
--
.--------------------------------------------------------.
| Dr. Philip A. Carinhas       | pac(at)fortuitous.com   |
| Fortuitous Technologies Inc. | http://fortuitous.com   |
| Linux Networking & Security  | Tel : 1-512-351-7783    |
`--------------------------------------------------------'


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

      reply	other threads:[~2004-11-14  4:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12  5:57 Creating Aliases in Domains Phil Carinhas
2004-11-14  4:56 ` Phil Carinhas [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=20041114045600.GC6557@mail.fortuitous.com \
    --to=pac@fortuitous.com \
    --cc=xen-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.