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

Re: [Xen-users] Using eth1 instead eth0

To: dongkyu lee <dongq.lee@xxxxxxxxx>
Subject: Re: [Xen-users] Using eth1 instead eth0
From: Bart Coninckx <bart.coninckx@xxxxxxxxxx>
Date: Mon, 12 Jul 2010 11:42:25 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Jul 2010 02:45:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimyAXZgUykB_iR7D6_RD-e6NMk9OpWw2C0VvTa6@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C38C771.5070900@xxxxxxxxx> <201007102343.55920.bart.coninckx@xxxxxxxxxx> <AANLkTimyAXZgUykB_iR7D6_RD-e6NMk9OpWw2C0VvTa6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )
On Monday 12 July 2010 06:49:12 dongkyu lee wrote:
> can you show me the result of "ifconfig" and "brctl show" in dom0?
> 
> 2010/7/11 Bart Coninckx <bart.coninckx@xxxxxxxxxx>
> 
> >  On Saturday 10 July 2010 21:18:09 Net Warrior wrote:
> > > Hi there.
> > >
> > > I've got two ethers, eth0 wihich work properly and my DomU goes outside
> > > as well, now, I've got eth1 and I like to use it
> > > to go outside but is not working at this time, I tried adding eth1 to
> > > the bridge and changing bridge=eth1 in the DomU
> > > config file, or do I have to create another bridge called eth1?
> > >
> > >
> > > eth0 192.168.0.100 - dhcp  - Works good.
> > > eth1 192.168.0.10 - static -  No luck
> > >
> > > Any adivce?
> > > Regards
> > >
> > > _______________________________________________
> > > Xen-users mailing list
> > > Xen-users@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> >
> > Just create a new bridge. If you replace the networks scripts in xend-
> > config.sxp by one that creates all the necessary bridges, you're good to
> > go.
> > I replaced it for instance by a script with:
> >
> > /etc/xen/scripts/network-bridge start netdev=eth0 bridge=eth0
> > /etc/xen/scripts/network-bridge start netdev=eth3 bridge=eth3
> >
> > Good luck,
> >
> > B.
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 

eth0      Link encap:Ethernet  HWaddr 5A:C5:25:7D:C9:21  
          inet addr:192.168.1.223  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1              
          RX packets:89067643 errors:0 dropped:0 overruns:0 frame:0       
          TX packets:46320734 errors:0 dropped:0 overruns:0 carrier:0     
          collisions:0 txqueuelen:0                                       
          RX bytes:120328301610 (114754.0 Mb)  TX bytes:53225300274 (50759.6 
Mb)

eth1      Link encap:Ethernet  HWaddr D8:D3:85:AC:B5:4C  
          inet addr:10.0.1.11  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       
          RX packets:231766273 errors:0 dropped:0 overruns:0 frame:0
          TX packets:173523396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                                
          RX bytes:306828178825 (292614.1 Mb)  TX bytes:88373762186 (84279.7 
Mb)
          Interrupt:17 Memory:f2000000-f2012800                                 

eth2      Link encap:Ethernet  HWaddr 00:26:55:D4:89:85  
          inet addr:10.0.3.11  Bcast:10.0.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       
          RX packets:230702138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172977643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                                
          RX bytes:304279985941 (290184.0 Mb)  TX bytes:87902038400 (83829.9 
Mb)

eth3      Link encap:Ethernet  HWaddr 00:26:55:D4:89:84  
          inet addr:192.168.2.11  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1             
          RX packets:112811 errors:0 dropped:0 overruns:0 frame:0        
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0          
          collisions:0 txqueuelen:0                                      
          RX bytes:6335055 (6.0 Mb)  TX bytes:748 (748.0 b)              

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:108198 errors:0 dropped:0 overruns:0 frame:0
          TX packets:108198 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                                
          RX bytes:334486240 (318.9 Mb)  TX bytes:334486240 (318.9 Mb)

peth0     Link encap:Ethernet  HWaddr D8:D3:85:AC:B5:4A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91609768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48562047 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                               
          RX bytes:123261119948 (117550.9 Mb)  TX bytes:54831384064 (52291.2 
Mb)
          Interrupt:16 Memory:f4000000-f4012800                                 

peth3     Link encap:Ethernet  HWaddr 00:26:55:D4:89:84  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2318290 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1090344 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                              
          RX bytes:3250410094 (3099.8 Mb)  TX bytes:94775201 (90.3 Mb)

tap0      Link encap:Ethernet  HWaddr 76:6F:10:69:5E:13  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:140811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500                              
          RX bytes:0 (0.0 b)  TX bytes:19782576 (18.8 Mb)          

tap1      Link encap:Ethernet  HWaddr B2:E3:2C:0E:0B:DC
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:533885 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:76711667 (73.1 Mb)

tap2      Link encap:Ethernet  HWaddr 1A:A0:01:22:D5:93
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91554 errors:0 dropped:0 overruns:0 frame:0
          TX packets:235003 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:7448366 (7.1 Mb)  TX bytes:245360214 (233.9 Mb)

tap3      Link encap:Ethernet  HWaddr 5A:C5:25:7D:C9:21
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:450758 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:64714718 (61.7 Mb)

vif230.0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:65714 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif233.0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:376570 errors:0 dropped:0 overruns:0 frame:0
          TX packets:921014 errors:0 dropped:39 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:105814961 (100.9 Mb)  TX bytes:142705676 (136.0 Mb)

vif236.0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:73907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:511015 errors:0 dropped:92 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:27847069 (26.5 Mb)  TX bytes:72375789 (69.0 Mb)

vif238.0  Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4923 errors:0 dropped:0 overruns:0 frame:0
          TX packets:145232 errors:0 dropped:111 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:700544 (684.1 Kb)  TX bytes:20917378 (19.9 Mb)



xen1:/etc/xen/scripts # brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.5ac5257dc921       no              peth0
                                                        vif238.0
                                                        tap0
                                                        tap1
                                                        vif233.0
                                                        vif236.0
                                                        tap3
eth3            8000.002655d48984       no              peth3
                                                        vif230.0
                                                        tap2



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

<Prev in Thread] Current Thread [Next in Thread>