[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Seeing the IP addresses of domUs from dom0
strange ... here is what I can see on my Notebook: [root@tivoli VM]# arp -n Address HWtype HWaddress Flags Mask Iface 172.20.0.2 ether 00:16:3E:6F:97:1B C xenbr0 There is only one VM on it (172.20.0.2) and I can't see the interfaces of dom0, because this system is connected to the internet with a PCMCIA UMTS card (ppp) and the onboard network interface is not activated. [root@tivoli ~]# ifconfig 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:132 errors:0 dropped:0 overruns:0 frame:0 TX packets:132 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:40104 (39.1 KiB) TX bytes:40104 (39.1 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:10.129.193.159 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:400 Metric:1 RX packets:14416 errors:2578 dropped:0 overruns:0 frame:0 TX packets:14259 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:5371717 (5.1 MiB) TX bytes:947051 (924.8 KiB) vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:30 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:1788 (1.7 KiB) TX bytes:916 (916.0 b) xenbr0 Link encap:Ethernet HWaddr 36:8B:F9:95:5C:E8 inet addr:172.20.0.1 Bcast:172.20.255.255 Mask:255.255.255.255 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:27 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:1284 (1.2 KiB) TX bytes:916 (916.0 b) The ppp interface has no MAC address ... so this is OK I use NAT on it and I don't have access to the server in my company at the moment ... maybe I was wrong ... I will have a look at it tomorrow. My "xm list --long" is in the attached file. It was to long to add it to the mail. I have also added the kernel configuration files of dom0 and domU. Regards Ralf Anand Gupta wrote: > On 2/10/06, Ralf Schmitt <ibm.tivoli@xxxxxxxx> wrote: > with a MAC address entry in the domU configuration file it > would > also be possible to find the IP address in the arp table with > the > command: > > arp -n > > on dom0 if you don't want to add each domU to the dhcp > configuration. > > You should also have a look at the tool "arpwatch". It sends > you a mail > if a new address appears. > > http://rpmseek.com/rpm-pl/arpwatch.html?hl=de&cx=857:A:80 > > Maybe this works only in a routed xen network ... > > This doesn't work on my routed setup > > arp -n > Address HWtype HWaddress Flags Mask > Iface > 192.168.1.3 ether 00:09:5B:E6:3E:79 C > eth0 > 192.168.1.1 ether 00:A0:C5:9B:AE:1D C > eth0 > 192.168.1.240 * * MP > eth0 > > The ip 192.168.1.240 is of a domU and the HWaddress has a * in it. > > > -- > regards, > > Anand Gupta Attachment:
dotConfig-dom0 Attachment:
dotConfig-domU Attachment:
xm_list.txt _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |