All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Middleton <edward@nikon-sys.co.jp>
To: xen-devel@lists.sourceforge.net
Cc: Rick <judicator3@gmail.com>
Subject: Re: Setting up virtual network
Date: Thu, 13 Jan 2005 14:49:11 +0900	[thread overview]
Message-ID: <41E60BD7.7050309@nikon-sys.co.jp> (raw)
In-Reply-To: <a146ff9b050112205519257bf9@mail.gmail.com>

>
>
>===================================================
>ifconfig on domain0
>
>eth0      Link encap:Ethernet  HWaddr 00:0E:A6:6B:70:CC
>          inet addr:128.100.241.161  Bcast:128.100.241.255  Mask:255.255.255.0
>
>xen-br0   Link encap:Ethernet  HWaddr 00:0E:A6:6B:70:CC
>          inet addr:128.100.241.161  Bcast:128.100.241.255 
>
>===================================================
>ifconfig on ttylinux
>
>eth0      Link encap:Ethernet  HWaddr AA:00:00:41:24:DF
>          inet addr:10.0.0.2  Bcast:10.255.255.255  Mask:255.0.0.0
>  
>
To start with a bridge must be on the same network.  If you look at your 
configuration eth0 on the domain0 is on the 128.100.241.0 network and 
you ttylinux is on the 10.0.0.0 network.

>I want to communicate between ttylinux and domain0 So I try to assign an IP to vif1.0 on domain0 "ifconfig vif1.0 10.0.0.1" Next I try to "ping 10.0.0.2" from domain0 and "ping 10.0.0.1" from ttylinux.
>  
>
Think of vif1.0 and eth0 in ttylinux as being the same thing.  They have 
ip 10.0.0.2. What you want to do is remove the domain0 interface eth0 
from the bridge.

brctl delif xen-br0 eth0

bring down the xen-br0 interface

ifconfig xen-br0 down

bring it up with the host interface with 10.0.0.1 ip.

ifconfig xen-br0 10.0.0.1 up

this will put your bridge interface xen-br0 on the same network as 
vif1.0.  You should now be able to ping your ttylinux domain.
next you need to setup the NAT.  Use xen-br0 as though it was a real NIC 
interface to you LAN and all should work.

Edward Middleton


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

      reply	other threads:[~2005-01-13  5:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-13  4:55 Setting up virtual network Rick
2005-01-13  5:49 ` Edward Middleton [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=41E60BD7.7050309@nikon-sys.co.jp \
    --to=edward@nikon-sys.co.jp \
    --cc=judicator3@gmail.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.