[libvirt-users] network problem

Evaggelos Balaskas ebalaskas at ebalaskas.gr
Sat Oct 6 14:53:48 UTC 2012


Hi,

i have a lvm partition that i need to share from the host server to
the virtual machines.

em1: 10.0.0.251
em2: 10.0.0.252

macvtap:em1 10.0.0.249
macvtap:em2 10.0.0.250


With identical configs (so i believe that they are) from VM win2003 i
can ping to all the above IPs and open the samba share as a map drive.

>From VM: win2008 i can ping to VMwin2003 but not at hosts IPs .251 & 252.

I have attached some info on my setup.

Plz advice.


-- 
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas
-------------- next part --------------
win2003:

<interface type='ethernet' name='em1'>
  <start mode='onboot'/>
  <mac address='00:21:5a:d1:1c:b6'/>
  <protocol family='ipv4'>
    <ip address='10.0.0.251' prefix='24'/>
    <route gateway='10.0.0.138'/>
  </protocol>
</interface>

    <interface type='direct'>
      <mac address='52:54:00:e3:9f:3c'/>
      <source dev='em1' mode='vepa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>


win2008:

<interface type='ethernet' name='em2'>
  <start mode='onboot'/>
  <mac address='00:21:5a:d1:1c:b4'/>
  <protocol family='ipv4'>
    <ip address='10.0.0.252' prefix='24'/>
    <route gateway='10.0.0.138'/>
  </protocol>
</interface>

    <interface type='direct'>
      <mac address='52:54:00:e9:f5:92'/>
      <source dev='em2' mode='vepa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>



fedora: 

2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:21:5a:d1:1c:b6 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.251/24 scope global em1
    inet6 fe80::221:5aff:fed1:1cb6/64 scope link 
       valid_lft forever preferred_lft forever
3: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:21:5a:d1:1c:b4 brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.252/24 brd 10.0.0.255 scope global em2
    inet6 fe80::221:5aff:fed1:1cb4/64 scope link 
       valid_lft forever preferred_lft forever
6: macvtap0 at em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
    link/ether 52:54:00:e3:9f:3c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:fee3:9f3c/64 scope link 
       valid_lft forever preferred_lft forever
7: macvtap1 at em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
    link/ether 52:54:00:e9:f5:92 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5054:ff:fee9:f592/64 scope link 
       valid_lft forever preferred_lft forever





$ ip r

default via 10.0.0.138 dev em2 
10.0.0.0/24 dev em2  proto kernel  scope link  src 10.0.0.252 
10.0.0.0/24 dev em1  proto kernel  scope link  src 10.0.0.251 
169.254.0.0/16 dev em1  scope link  metric 1002 


More information about the libvirt-users mailing list