[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.