Hi all, I have a domU with three interfaces using a bridged setup, but the packages seem to arrice randomly on the interfaces in domU. dom0 and domU are Ubuntu 6.10. domU.cfg: ... vif = [ ''ip=88.198.X.A,bridge=xenbr0'',''ip=88.198.X.B,bridge=xenbr0'',''ip=88.198.X.C,bridge=xenbr0'' ] ... domU log generated by iptables: Mar 23 14:55:45 machine kernel: IN=eth2 OUT= MAC=... SRC=... DST=88.198.X.A LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=5282 DF PROTO=TCP SPT=10777 DPT=80 WINDOW=16384 RES=0x00 SYN URGP=0 Mar 23 14:55:19 machine kernel: IN=eth1 OUT= MAC=... SRC=... DST=88.198.X.B LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=8818 PROTO=TCP SPT=28026 DPT=80 WINDOW=65535 RES=0x00 SYN URGP=0 Mar 23 14:55:22 machine kernel: IN=eth2 OUT= MAC=... SRC=... DST=88.198.X.C LEN=52 TOS=0x00 PREC=0x00 TTL=48 ID=9268 PROTO=TCP SPT=27828 DPT=80 WINDOW=65535 RES=0x00 ACK FIN URGP=0 domU /etc/network/interfaces: auto lo iface lo inet loopback # device: eth0 auto eth0 iface eth0 inet static address 88.198.X.A broadcast 88.198.Y.Y netmask 255.255.255.248 gateway 88.198.Y.Y # device: eth1 auto eth1 iface eth1 inet static address 88.198.X.B broadcast 88.198.Y.Y netmask 255.255.255.248 gateway 88.198.Y.Y # device: eth2 auto eth2 iface eth2 inet static address 88.198.X.C broadcast 88.198.Y.Y netmask 255.255.255.248 gateway 88.198.Y.Y --- Why isn''t eth0 used at all in domU? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Mar 23, 2007 at 02:05:47PM +0000, p wrote:> > domU /etc/network/interfaces: > > auto lo > iface lo inet loopback > > # device: eth0 > auto eth0 > iface eth0 inet static > address 88.198.X.A > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.Y > # device: eth1 > auto eth1 > iface eth1 inet static > address 88.198.X.B > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.Y > # device: eth2 > auto eth2 > iface eth2 inet static > address 88.198.X.C > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.YHi p Don''t think you shouldn''t specify more than one gateway in your interfaces file. Remove the gateway entries for eth1 and eth2 and see if that improves your situation. jez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I had the same problem. I don''t know how debian/ubuntu handles it, but my solution under CentOS involved setting the mac addresses in the domU.cfg, and then matching those mac addresses in the interface config files. That way even if the interfaces are initialized in a different order, they still end up going to the right bridges. Also, does debian really allow multiple gateways? RHEL doesn''t, but it didn''t matter to me since the other bridges were private networks. On 3/23/07, p <p@jcpob.de> wrote:> > Hi all, > > I have a domU with three interfaces using a bridged setup, but the > packages seem to arrice randomly on the interfaces in domU. > dom0 and domU are Ubuntu 6.10. > > domU.cfg: > ... > vif = [ > ''ip=88.198.X.A,bridge=xenbr0'',''ip=88.198.X.B,bridge=xenbr0'',''ip=88.198.X.C > ,bridge=xenbr0'' > ] > ... > > domU log generated by iptables: > > Mar 23 14:55:45 machine kernel: IN=eth2 OUT= MAC=... SRC=... > DST=88.198.X.A LEN=48 TOS=0x00 PREC=0x00 TTL=115 ID=5282 DF PROTO=TCP > SPT=10777 DPT=80 WINDOW=16384 RES=0x00 SYN URGP=0 > Mar 23 14:55:19 machine kernel: IN=eth1 OUT= MAC=... SRC=... > DST=88.198.X.B LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=8818 PROTO=TCP > SPT=28026 DPT=80 WINDOW=65535 RES=0x00 SYN URGP=0 > Mar 23 14:55:22 machine kernel: IN=eth2 OUT= MAC=... SRC=... > DST=88.198.X.C LEN=52 TOS=0x00 PREC=0x00 TTL=48 ID=9268 PROTO=TCP > SPT=27828 DPT=80 WINDOW=65535 RES=0x00 ACK FIN URGP=0 > > domU /etc/network/interfaces: > > auto lo > iface lo inet loopback > > # device: eth0 > auto eth0 > iface eth0 inet static > address 88.198.X.A > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.Y > # device: eth1 > auto eth1 > iface eth1 inet static > address 88.198.X.B > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.Y > # device: eth2 > auto eth2 > iface eth2 inet static > address 88.198.X.C > broadcast 88.198.Y.Y > netmask 255.255.255.248 > gateway 88.198.Y.Y > --- > > Why isn''t eth0 used at all in domU? > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Puer Misellus Triste _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users