From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy0bm-0005yg-0x for qemu-devel@nongnu.org; Tue, 31 Dec 2013 09:47:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vy0bg-00035l-VN for qemu-devel@nongnu.org; Tue, 31 Dec 2013 09:47:49 -0500 Received: from mx.eleiss.info ([123.201.81.226]:38062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy0bg-00035G-JJ for qemu-devel@nongnu.org; Tue, 31 Dec 2013 09:47:44 -0500 Received: from [10.0.0.1]([10.0.0.1]) by mx.eleiss.info (Eleiss) with ESMTPSA id 902595F18C for ; Tue, 31 Dec 2013 20:17:38 +0530 (IST) From: Nikunj Master Content-Type: multipart/alternative; boundary="=-z9iTa0Hyi7gMQghtLoih" Date: Tue, 31 Dec 2013 20:17:38 +0530 Message-ID: <1388501258.12200.10.camel@localhost> Mime-Version: 1.0 Subject: [Qemu-devel] macvlan on host, macvtap guest, routing via host gives error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-z9iTa0Hyi7gMQghtLoih Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hello, I have a setup on CentOS 6.5 Host configuration: macvlan0-> 10.0.0.2/24 ppp0 -> connected to the internet Guest configuration macvtap0-> 10.0.0.4/24 gateway -> 10.0.0.2 Other host on same network eth0 -> 10.0.0.3/24 gateway -> 10.0.0.2 Ping results from 10.0.0.2 to 10.0.0.4 and vice versa : OK from 10.0.0.2 to 10.0.0.3 and vice versa : OK from 10.0.0.3 to 10.0.0.4 and vice versa : OK from 10.0.0.2 to out-network : OK from 10.0.0.3 to out-network : OK from 10.0.0.4 to out-network : OK http result within the network : OK from 10.0.0.2 to out-network : OK from 10.0.0.3 to out-network : OK from 10.0.0.4 to out-network : FAILED I ran the following command echo 255 > /proc/sys/net/netfilter/nf_conntrack_log_invalid and got the below error: kernel:nf_ct_tcp: invalid packet ignored Please help me solve the problem. I have spent so many sleepless nights after this. Thank you. --=-z9iTa0Hyi7gMQghtLoih Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit Hello,

I have a setup on CentOS 6.5

Host configuration:
macvlan0-> 10.0.0.2/24
ppp0 -> connected to the internet

Guest configuration
macvtap0-> 10.0.0.4/24
gateway -> 10.0.0.2

Other host on same network
eth0 -> 10.0.0.3/24
gateway -> 10.0.0.2


Ping results
from 10.0.0.2 to 10.0.0.4 and vice versa : OK
from 10.0.0.2 to 10.0.0.3 and vice versa : OK
from 10.0.0.3 to 10.0.0.4 and vice versa : OK
from 10.0.0.2 to out-network : OK
from 10.0.0.3 to out-network : OK
from 10.0.0.4 to out-network : OK

http result
within the network : OK
from 10.0.0.2 to out-network : OK
from 10.0.0.3 to out-network : OK
from 10.0.0.4 to out-network : FAILED

I ran the following command
echo 255 > /proc/sys/net/netfilter/nf_conntrack_log_invalid
and got the below error:
kernel:nf_ct_tcp: invalid packet ignored

Please help me solve the problem. I have spent so many sleepless nights after this.

Thank you.







--=-z9iTa0Hyi7gMQghtLoih--