From: Stefan Hajnoczi <stefanha@gmail.com>
To: Lorenzo Milesi <maxxer@ufficyo.com>
Cc: kvm@vger.kernel.org
Subject: Re: Weird networking problem
Date: Wed, 19 Dec 2012 12:57:32 +0100 [thread overview]
Message-ID: <20121219115732.GA6498@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <684330288.74269.1355849105068.JavaMail.root@yetopen.it>
On Tue, Dec 18, 2012 at 05:45:05PM +0100, Lorenzo Milesi wrote:
> From Network B, I can ping & ssh to 192.168.1.49 (another physical host on the lan), but I can only ping my kvm physical host, all TCP connection (ssh) gets lost.
> I have similar problem with port forward, while I can ssh to .49 I cannot to .47.
> I managed to catch a tcpdump while trying to ssh to .47:
>
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on vtnet0, link-type EN10MB (Ethernet), capture size 96 bytes
> 12:18:21.720364 IP my.host.com.34242 > 192.168.1.47.ssh: Flags [S], seq 2689263164, win 14600, options [mss 1412,sackOK,TS val 2912170 ecr 0,nop,wscale 7], length 0
> 12:18:21.720760 IP 192.168.1.47.ssh > my.host.com.34242: Flags [S.], seq 1214622068, ack 2689263165, win 14480, options [mss 1460,sackOK,TS val 127905521 ecr 2912170,nop,wscale 7], length 0
> 12:18:22.718447 IP my.host.com.34242 > 192.168.1.47.ssh: Flags [S], seq 2689263164, win 14600, options [mss 1412,sackOK,TS val 2912420 ecr 0,nop,wscale 7], length 0
This looks like a generic networking problem with your bridges, VPN,
etc. I don't see anything that points to KVM itself being involved.
my.host.com sends SYN to .47
.47 replies with SYN+ACK to my.host.com
...1 second of silence...
my.host.com tries sending SYN to .47 again
Did you run tcpdump on my.host.com?
If you did not run it on my.host.com then this output suggests that
my.host.com isn't receiving the SYN+ACK reply. Therefore it doesn't
complete the 3-way handshake with an ACK reply.
Stefan
prev parent reply other threads:[~2012-12-19 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2075397403.74263.1355849057712.JavaMail.root@yetopen.it>
2012-12-18 16:45 ` Weird networking problem Lorenzo Milesi
2012-12-19 11:57 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121219115732.GA6498@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=maxxer@ufficyo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox