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

[Xen-users] Dedicate NIC's to DomU's

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Dedicate NIC's to DomU's
From: "Hans Pfeil" <HPfeil@xxxxxxx>
Date: Mon, 09 Jun 2008 15:38:31 -0500
Delivery-date: Mon, 09 Jun 2008 13:39:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Joe, received some JOY.  Here is a copy of the latest:

:~ # rcxend stop
Stopping xend (pid 6278 6286 6303)                                   done

:~ # sh /etc/xen/scripts/multi-network-bridge start

device eth0 already exists; can't create bridge with the same name
device eth1 already exists; can't create bridge with the same name

1)  Got the above notice so, I made the following change (below).  I changed 
bridge=eth0 to bridge=xenbr0 and so.  Was this correct???

# cat /etc/xen/scripts/multi-network-bridge
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1

2) Below I ran it again.

:~ # sh /etc/xen/scripts/multi-network-bridge start

    eth0      device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet 
(rev 02)
    eth0      configuration: eth-id-00:0f:1f:04:0b:49
    eth0      IP address: xxx.xxx.xxx.xxx/24
    eth0      device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet 
(rev 02)
    eth0      configuration: eth-id-00:0f:1f:04:0b:49
Nothing to flush.
Nothing to flush.
Waiting for peth0 to negotiate link.....    eth0
    eth0      configuration: eth-id-00:0f:1f:04:0b:49
    eth0      IP address: xxx.xxx.xxx.xx/24
    eth1      device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet 
(rev 02)
    eth1      configuration: eth-id-00:0f:1f:04:0b:4a
    eth1      device: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet 
(rev 02)
    eth1      configuration: eth-id-00:0f:1f:04:0b:4a
Nothing to flush.
Nothing to flush.
Waiting for peth1 to negotiate link...........(link isnt in running state)
    eth1
    eth1      configuration: eth-id-00:0f:1f:04:0b:4a
:~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0F:1F:04:0B:49
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:1fff:fe04:b49/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:61 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4530 (4.4 Kb)  TX bytes:468 (468.0 b)

eth1      Link encap:Ethernet  HWaddr 00:0F:1F:04:0B:4A
          inet6 addr: fe80::20f:1fff:fe04:b4a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:398 (398.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:493 errors:0 dropped:0 overruns:0 frame:0
          TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:32626 (31.8 Kb)  TX bytes:32626 (31.8 Kb)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4902 (4.7 Kb)  TX bytes:398 (398.0 b)
          Interrupt:17

peth1     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:468 (468.0 b)  TX bytes:4530 (4.4 Kb)

vif0.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:398 (398.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4060 (3.9 Kb)  TX bytes:0 (0.0 b)

xenbr1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:328 (328.0 b)  TX bytes:0 (0.0 b)



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