Hi all Really silly question here: do the vif interfaces require IP addresses? I''m totally stuck with getting IP traffic to my guest domain, layer 2 traffic (ie ARP queries/responces, broadcasts, etc) is all OK. Another question, what is peth0 used for? Thanks again CC Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 251 4 r----- 164.0 vm1 6 256 2 -b---- 22.1 eth0 Link encap:Ethernet HWaddr 00:14:5E:3C:41:98 inet addr:x.x.x.114 Bcast:x.x.x.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1063363 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:67975834 (64.8 MiB) TX bytes:2940 (2.8 KiB) 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:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1570 (1.5 KiB) TX bytes:1570 (1.5 KiB) peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1118372 errors:0 dropped:0 overruns:0 frame:0 TX packets:316786 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:77304672 (73.7 MiB) TX bytes:88452384 (84.3 MiB) Interrupt:77 vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:54 errors:0 dropped:0 overruns:0 frame:0 TX packets:1063363 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2940 (2.8 KiB) TX bytes:67975834 (64.8 MiB) vif6.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:73 errors:0 dropped:0 overruns:0 frame:0 TX packets:785052 errors:0 dropped:446 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4994 (4.8 KiB) TX bytes:50068779 (47.7 MiB) xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet addr:x.x.x.114 Bcast:x.x.x.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1118600 errors:0 dropped:0 overruns:0 frame:0 TX packets:316603 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:56218554 (53.6 MiB) TX bytes:87173370 (83.1 MiB) (I manually added eth0''s IP to xenbr0) ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Dec 23, 2005 at 0759 +0800, Colin Coe appeared and said:> Really silly question here: do the vif interfaces require IP addresses? > I''m totally stuck with getting IP traffic to my guest domain, layer 2 > traffic (ie ARP queries/responces, broadcasts, etc) is all OK.Since the Xen network scripts set up a bridge, all layer 2 traffic is visible at the network interfaces of your unprivileged domains. You don''t need to bother with the vif interfaces. Just configure your eth0 inside the guest domain with a valid network setting and packets should get to your network interface. Best, Lynx. -- "From the delicate strands, between minds we weave our mesh: a blanket to warm the soul." --- Lady Deirdre Skye (SMAC) --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
In this case I''ve configured eth0 (in domU) with an IP in the same VLAN/subnet as dom0. I''ve tried using x.x.x.254 as the gateway and alternatively x.x.x.114 (dom0) as the gateway but neither works for normal IP traffic. I say ''normal'' IP traffic as broadcast traffic is seen by domU. Thanks CC -----Original Message----- From: René Pfeiffer [mailto:lynx@pentex.at] Sent: Friday, 23 December 2005 8:44 PM To: xen-users@lists.xensource.com Subject: Re: [Xen-users] Query about the vifX.Y interfaces On Dec 23, 2005 at 0759 +0800, Colin Coe appeared and said:> Really silly question here: do the vif interfaces require IP addresses? > I''m totally stuck with getting IP traffic to my guest domain, layer 2 > traffic (ie ARP queries/responces, broadcasts, etc) is all OK.Since the Xen network scripts set up a bridge, all layer 2 traffic is visible at the network interfaces of your unprivileged domains. You don''t need to bother with the vif interfaces. Just configure your eth0 inside the guest domain with a valid network setting and packets should get to your network interface. Best, Lynx. -- "From the delicate strands, between minds we weave our mesh: a blanket to warm the soul." --- Lady Deirdre Skye (SMAC) --- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users ************************************************************************ Bunnings Legal Disclaimer: 1) This email is confidential and may contain legally privileged information. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this email in error, please notify us immediately by return email and delete the document. 2) All emails sent to and sent from Bunnings Group Limited. are scanned for content. Any material deemed to contain inappropriate subject matter will be reported to the email administrator of all parties concerned. ************************************************************************ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- vif/network-bridge and SNAT ?
- How vifX.Y and eth talk on dom0 with NAT configuration?
- XEN 3.0.1: domUs become zombies after shutdown with "unregister_netdevice: waiting for vifX.0 to become free. Usage count = n"
- conditional autoconf for AIX - LOGIN_NEEDS_UTMPX
- multiply-accumulate instruction