[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Seeing the IP addresses of domUs from dom0


  • To: Ralf Schmitt <ibm.tivoli@xxxxxxxx>
  • From: Anand Gupta <xen.mails@xxxxxxxxx>
  • Date: Fri, 10 Feb 2006 21:06:46 +0530
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 10 Feb 2006 15:48:33 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=IDxH8CaYgJesl/n8Ih3BInX0dymSqrUiJlLmDf9/ZBqBYDCfZ49m9i2M6Q8+dbX/n3oNN0f5o1WlAo9EAyAD5TVzLHE2Jh2+P9A17fDy5//tciSFNMn6PGEG9Jh4hwvvEREonIzB5RypVP906tZ74x6x81+tkkm1Bj7vJ0UrFG8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I use the vif-route script and from the looks of your ifconfig it seems you are using the bridged network. Along with this i am using the xen-kernel for both dom0 and domU on the testing box.

On 2/10/06, Ralf Schmitt <ibm.tivoli@xxxxxxxx> wrote:

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





--
regards,

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.