Hi, i''ve a problem with 2 nics on xenU ! When i''m restarting the network (/etc/init.d/networking restart), one of the 2 nics has this error (eth0 : duplicate address detected). Sometime, it''s eth1 :( huuum I''m SURE there''s NO IP with this address Is anyone has seen this problem ? # ifconfig xenU ############### eth0 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9A inet addr:10.1.2.91 Bcast:10.1.2.255 Mask:255.0.0.0 inet6 addr: fe80::a800:ff:fe4a:ba9a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1821 errors:0 dropped:0 overruns:0 frame:0 TX packets:70 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:230116 (224.7 KiB) TX bytes:4236 (4.1 KiB) eth1 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9A inet addr:10.1.4.252 Bcast:10.1.4.255 Mask:255.0.0.0 inet6 addr: fe80::a800:ff:fe4a:ba9a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1763 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:226553 (221.2 KiB) TX bytes:90 (90.0 b) # route -n ########## 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0 10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1 0.0.0.0 10.1.2.254 0.0.0.0 UG 0 0 0 eth0 10.0.0.0 TWo times :( hummmm problem no ? #/etc/network/interfaces xenU ############################# auto lo eth0 eth1 iface lo inet loopback iface eth0 inet static address 10.1.2.91 netmask 255.0.0.0 broadcast 10.1.2.255 network 10.1.2.0 gateway 10.1.2.254 iface eth1 inet static address 10.1.4.252 netmask 255.0.0.0 broadcast 10.1.4.255 network 10.1.4.0 #gateway 10.1.4.254 #/etc/xen/available/ha1 xen0 ############################ kernel = "/boot/vmlinuz-2.6-xenU" memory = 128 name = "ha1" nics=2 disk = [ ''phy:vg00/ha1,sda1,w'', ''phy:vg00/ha1_swap,sda2,w'' ] root = "/dev/sda1 ro" extra = "4" restart = ''onreboot'' xen0 : debian sarge 2.6.11.12-xen0 xenU : debian sarge 2.6.11.12-xenU Regards Franck -- http://www.linuxpourtous.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Sep 30, 2005 at 03:56:24PM +0200, Franck wrote:> eth0 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9A > eth1 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9AYou have duplicate MAC adderss. -- Takeshi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
* franck@linuxpourtous.com [20050930T145624]:> iface eth0 inet static > address 10.1.2.91 > netmask 255.0.0.0 > broadcast 10.1.2.255 > network 10.1.2.0 > gateway 10.1.2.254 > > iface eth1 inet static > address 10.1.4.252 > netmask 255.0.0.0 > broadcast 10.1.4.255 > network 10.1.4.0 > #gateway 10.1.4.254It would seem that your netmasks should be 255.255.255.0. Is there a reason why they aren''t? dme. -- David Edmondson, Solaris Engineering, Sun Microsystems. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> * franck@linuxpourtous.com [20050930T145624]: >> iface eth0 inet static >> address 10.1.2.91 >> netmask 255.0.0.0 >> broadcast 10.1.2.255 >> network 10.1.2.0 >> gateway 10.1.2.254 >> >> iface eth1 inet static >> address 10.1.4.252 >> netmask 255.0.0.0 >> broadcast 10.1.4.255 >> network 10.1.4.0 >> #gateway 10.1.4.254 > > It would seem that your netmasks should be 255.255.255.0. Is there a > reason why they aren''t?OUPS, it''s an ENORMOUS mistake .. sorry. # the GOOD interface #################### iface eth0 inet static address 10.1.2.91 netmask 255.255.255.0 broadcast 10.1.2.255 network 10.1.2.0 gateway 10.1.2.254 iface eth1 inet static address 10.1.4.252 netmask 255.255.255.0 broadcast 10.1.4.255 network 10.1.4.0 #gateway 10.1.4.254 Regards Franck _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> On Fri, Sep 30, 2005 at 03:56:24PM +0200, Franck wrote: >> eth0 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9A >> eth1 Link encap:Ethernet HWaddr AA:00:00:4A:BA:9A > > You have duplicate MAC adderss.In config file /etc/xen/auto/ha1, i''ve put this : vif = [ ''mac=aa:00:00:1a:00:11, bridge=xen-br0'', ''mac=aa:00:00:1a:00:12, bridge=xen-br0''] And now, that''s work .. regards Franck _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users