WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] How can I create peth and vif to use the same IP using a ISP

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] How can I create peth and vif to use the same IP using a ISP GW?
From: Adam D <emlists@xxxxxxxxx>
Date: Sun, 18 Nov 2007 15:38:19 -0800
Delivery-date: Sun, 18 Nov 2007 15:39:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: emlists@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)
How can I create peth and vif to use the same IP using ISP GW.

    I can create a single bridge for a network and assign that bridge using:

    i.e. (private IPs)

    #
    #  Networking
    #
    vif         = [
                    'ip=10.0.0.1,mac=00:16:3e:70:01:02,bridge=xenbr0',
                    'ip=192.168.1.2,mac=00:16:3e:70:01:03,bridge=xenbr1',
                    'ip=192.168.1.3,mac=00:16:3e:70:01:04,bridge=xenbr1'
                  ]

    or just simply...

    vif         = [
                    'ip=192.168.1.2,mac=00:16:3e:70:01:03,bridge=xenbr1'
                  ]

    ..with no other bridge or network using xenbr1.  But this situation
    utilizes two IP addresses not a single IP.



GOAL: set up a 1:1 public IP bridge to virtual interface. 

I want to give the physical NIC the public IP while the vif will also
have the same IP without having one public IP as the default GW.  I will
use the ISP gateway.  Doing so would keep data from the vif routing in
and out only on that interface and no other as to keep all clients
traffic seperate from each other.  Is this possible.  I have the system
running bridging currently with a collection of different domUs each
with their own unique IP.


-Adam

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How can I create peth and vif to use the same IP using a ISP GW?, Adam D <=