|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] OpenSuse 10.3 - Xen 3.1.0 - VIF for DomU not recording
Excellent reply. I would never have come to that conclusion and indeed
I am using an HVM guest in this instance. Thank you very much.
I have one remaining problem, I can name the vif interface, how do I
name or otherwise associate the tap interface with my guest?
In the example below, my vif interface for the guest has the name rudy
but the tap interface has the name tap0:
rudy 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:7205 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tap0 Link encap:Ethernet HWaddr 00:FF:47:A4:EB:CA
inet6 addr: fe80::2ff:47ff:fea4:ebca/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:7211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:1022 (1022.0 b) TX bytes:440154 (429.8 Kb)
I see no info in either ifconfig or brctl that would let me reconcile
tap0 with rudy in an automated fashion (so that I can get at the total
RX and TX bytes).
j.
On Sun, May 3, 2009 at 7:52 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Mon, May 4, 2009 at 6:37 AM, Joseph King <joking@xxxxxxx> wrote:
>> Upon creating a DomU (Ubuntu 8.04) instance named rudy I get a vif
>> (also named rudy) which I can observe using ifconfig on Dom0:
>>
>> rudy 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:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:13 overruns:0 carrier:0
>> collisions:0 txqueuelen:32
>> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> How did you create the domU?
> By default the interfaces (on Xen 3.3.1 anyway) should be named
> vifxxx.y or tap xxx.y, where xxx is the domain ID and y is the vif
> number on domU (0 for eth0). You COULD change the names, of course.
>
>>
>> The problem is that RX never changes in the ifconfig view and TX only
>> records an increasing amount of dropped packets. The RX bytes and TX
>> bytes remain zero no matter how much traffic is generated by the DomU
>> guest. vif0.1, eth1, peth1 all record increased traffic in ifconfig
>> when my DomU guest is generating network traffic.
>
> Is it PV or HVM guest?
> HVM guest create two interfaces : tap and vif. Tap is used when using
> unmodified drivers (domU will see it as realtek NIC by default), while
> the vif one is used when you use PV drivers. Perhaps you're looking at
> the wrong interface. Do a "brctl show" to get list of interfaces on
> that bridge.
>
> Regards,
>
> Fajar
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|