Hi, Is it possible to configure a domU with multiple IP addresses? i.e. (v)eth0 and (v)eth0:0, or (v)eth0 and lo:0 I can add the additional interface in the domU just fine so that it shows up in ifconfig, but the bridge doesn''t seem to do its magic to make it accessible. vif = [ ''bridge=xenbr0'', ''bridge=xenbr0'' ] The docs tend to indicate that vifx.1 will always go to (v)eth1, but unfortunately I can''t get the bridge to do (v)eth1 either :( Thanks in advance, Roger -- ---------------------------------------- Ninth Avenue Software p: +61 7 3870 8494 (UTC +10) f: +61 7 3870 8491 w: http://www.ninthavenue.com.au e: info@ninthavenue.com.au ---------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 28/02/06, Roger Keays <roger.keays@ninthavenue.com.au> wrote:> Hi, > > Is it possible to configure a domU with multiple IP addresses?Use eth0, eth0:0, etc in the domU itself for simple aliases. For vlans you have to do this in the host0. -- Nicholas Lee http://stateless.geek.nz gpg 8072 4F86 EDCD 4FC1 18EF 5BDD 07B0 9597 6D58 D70C _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Nicholas, Thanks for your reply.>>Is it possible to configure a domU with multiple IP addresses? > > Use eth0, eth0:0, etc in the domU itself for simple aliases.Yep, thats what I''m doing, but I cannot ping this interface (eth0:0) from external hosts, or dom0. I figured it must be a bridging issue. Roger -- ---------------------------------------- Ninth Avenue Software p: +61 7 3870 8494 (UTC +10) f: +61 7 3870 8491 w: http://www.ninthavenue.com.au e: info@ninthavenue.com.au ---------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Some output from the dom0 if its of any use: [root@harrie xen]# brctl show bridge name bridge id STP enabled interfaces xenbr0 8000.feffffffffff no peth0 vif0.0 vif2.0 vif2.1 [root@harrie xen]# ip ro 10.252.9.0/24 dev eth0 proto kernel scope link src 10.252.9.11 10.252.9.0/24 dev eth0 proto zebra metric 10 equalize 169.254.0.0/16 dev eth0 scope link default via 10.252.9.1 dev eth0 [root@harrie xen]# arp -na ? (10.252.9.1) at 00:04:96:20:AB:2A [ether] on eth0 ? (10.252.9.12) at 00:16:3E:5F:26:4C [ether] on eth0 Roger Keays wrote:> Hi, > > Is it possible to configure a domU with multiple IP addresses? > > i.e. (v)eth0 and (v)eth0:0, or (v)eth0 and lo:0 > > I can add the additional interface in the domU just fine so that it > shows up in ifconfig, but the bridge doesn''t seem to do its magic to > make it accessible. > > vif = [ ''bridge=xenbr0'', ''bridge=xenbr0'' ] > > The docs tend to indicate that vifx.1 will always go to (v)eth1, but > unfortunately I can''t get the bridge to do (v)eth1 either :( > > Thanks in advance, > > Roger >-- ---------------------------------------- Ninth Avenue Software p: +61 7 3870 8494 (UTC +10) f: +61 7 3870 8491 w: http://www.ninthavenue.com.au e: info@ninthavenue.com.au ---------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le Tue, Feb 28, 2006 at 07:18:52PM +1000, Roger Keays [roger.keays@ninthavenue.com.au] a écrit:> Hi Nicholas, > > Thanks for your reply. > > >>Is it possible to configure a domU with multiple IP addresses? > > > >Use eth0, eth0:0, etc in the domU itself for simple aliases. > > Yep, thats what I''m doing, but I cannot ping this interface (eth0:0) > from external hosts, or dom0. I figured it must be a bridging issue.Are you using antispoof ? If so, it sets up iptables rules that allow only packets to/from allocated ip (in config file) to go through the vifX.0 interface. Dom -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>>>>Is it possible to configure a domU with multiple IP addresses? >>> >>>Use eth0, eth0:0, etc in the domU itself for simple aliases. >> >>Yep, thats what I''m doing, but I cannot ping this interface (eth0:0) >>from external hosts, or dom0. I figured it must be a bridging issue.Seems to have been an ospf issue. I fixed it by installing quagga. -- ---------------------------------------- Ninth Avenue Software p: +61 7 3870 8494 (UTC +10) f: +61 7 3870 8491 w: http://www.ninthavenue.com.au e: info@ninthavenue.com.au ---------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users