Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   macvtap not working on rhel 6.1 x86 machine (http://www.linux-archive.org/red-hat-linux/610390-macvtap-not-working-rhel-6-1-x86-machine.html)

"Amit Tewari" 12-15-2011 08:21 AM

macvtap not working on rhel 6.1 x86 machine
 
Hi all,



My test environment

Host os=rhel6.1 x86 machine

Guest os = rhel6.1

Libvirt=0.8.7

Kvm hypervisor



I am creating macvtap interface on host machine

ip link add link eth1 name macvtap0 type macvtap

ip link set macvtap0 up



ip link show macvtap0

25: macvtap0@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 500

link/ether a2:70:4e:05:4a:4e brd ff:ff:ff:ff:ff:ff





Now when use arp -a to check macvtap0 hardware address entry it shows

? (10.0.7.1) at <incomplete> on macvtap0





If I assign ip address to macvtap and then ping on network , it says
"destination not reachable"

ping 10.0.7.1 -I macvtap0



PING 10.0.7.1 (10.0.7.1) from 10.0.1.61 macvtap0: 56(84) bytes of data.

>From 10.0.1.61 icmp_seq=2 Destination Host Unreachable

>From 10.0.1.61 icmp_seq=3 Destination Host Unreachable





If I use tcpdump -I eth1 it shows packets

14:42:39.967158 ARP, Request who-has 10.0.7.1 tell 10.0.7.4, length 28

14:42:39.967257 ARP, Reply 10.0.7.1 is-at 00:16:35:65:b5:1e (oui
Unknown), length 46

14:42:40.967167 ARP, Request who-has 10.0.7.1 tell 10.0.7.4, length 28

14:42:40.967229 ARP, Reply 10.0.7.1 is-at 00:16:35:65:b5:1e (oui
Unknown), length 46



So macvtap0 is unknown interface. Request does go to eth1 inteface.



Please let me know redhat 6.1 support macvtap or not?...



I have to use it for kvm virtual machine..










DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NECHCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NECHCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 07:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.