Hi,

I am trying to setup two guest windows XP on host linux amd64. Every thing except inter-kvm network works. I have started the two kvm machines with different macaddr to ensure there is no hwaddr conflict. However, kvm assigns tap1 a hw address that is same as br0's hw address. Here is my ifconfig output

br0 Link encap:Ethernet HWaddr 2E:96:1B:8A:EA:F2 inet addr:192.168.5.1 Bcast:192.168.5.255 Mask:255.255.255.0
        inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:8855 errors:0 dropped:0 overruns:0 frame:0
        TX packets:8245 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0
        RX bytes:1021515 (997.5 KiB)  TX bytes:2410473 (2.2 MiB)

<real nic items removed to keep things in focus>

tap0 Link encap:Ethernet HWaddr CE:63:72:1A:E4:62 inet6 addr: fe80::cc63:72ff:fe1a:e462/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:120 errors:0 dropped:0 overruns:0 frame:0
        TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:500
        RX bytes:16808 (16.4 KiB)  TX bytes:16062 (15.6 KiB)

tap1 Link encap:Ethernet HWaddr 2E:96:1B:8A:EA:F2 inet6 addr: fe80::2c96:1bff:fe8a:eaf2/64 Scope:Link
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:8740 errors:0 dropped:0 overruns:0 frame:0
        TX packets:8174 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:500
        RX bytes:1129447 (1.0 MiB)  TX bytes:2401464 (2.2 MiB)

As you can see the HWaddr of tap1 is the same as br0. I am not sure if this is a problem. But, I see the following. I can go from the kvm-guest(s) to any other machine that is *not* on br0. However, when I try to ping from one VM guest to another, I get "Destination port unreachable" message. Also any attempt to do anything (networking related) other than ping hangs between kvms. Please tell me if HWaddr is the problem, if so how do I tell KVM to assign different HWaddr to tap1?

Here is my command lines for two kvm

set disk = /data/kvm/kvm-hda
/usr/bin/kvm -usbdevice tablet -full-screen -localtime\
  -vnc :50 -k en-us -hda $disk  $cdrom\
  -m 768 -net nic,model=rtl8139 -net tap -soundhw es1370 &

set disk = /data/kvm/kvm-hda1
/usr/bin/kvm -usbdevice tablet -full-screen -localtime\
  -vnc :51 -k en-us -hda $disk  \
-m 768 -net nic,model=rtl8139,macaddr=52:54:00:12:34:58 -net tap -soundhw es1370 &



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to