From the host-server I can ping all hosts and the internet. But on
the guest I can ping the host (213.203.209.163) but no other host.
(TX packets increases but no RX packets). Any idea?
Best regards,
-Thorsten-
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-16-2012, 05:27 PM
Serge Hallyn
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
The information you show looks good. What does /etc/resolv.conf on
the guest show? Can you capture traffic using wireshark and see
whether pings from the guest to the outside world make it there?
-serge
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-18-2012, 08:57 AM
Thorsten Göllner
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
Sorry, my fault. I had a typo. The broadcst is configured correctly:
113.203.209.191
Any other idea?
Am 17.05.2012 00:51, schrieb Paul Schulz:
Chech IP address and broadcast addess on br0. They don't appear
to match.
On May 17, 2012 12:38 AM, "Thorsten
Göllner" <tg@ovm-group.com> wrote:
Hi,
I installed 12.04 on my host and installed a 12.04 guest
under kvm/libvirt. I setup a bridge as described here
From the host-server I can ping all hosts and the internet.
But on the guest I can ping the host (213.203.209.163) but
no other host. (TX packets increases but no RX packets). Any
idea?
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-18-2012, 09:52 AM
Michael Zoet
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
Hi,
Am 18.05.2012 10:57, schrieb Thorsten Göllner:
Sorry, my fault. I had a typo. The broadcst is configured
correctly: 113.203.209.191
Any other idea?
yes but may be it is another typo:
ON THE GUEST:
=============
~$ ifconfig
eth0***** Link encap:Ethernet** HWaddr 52:54:00:d2:d1:73
An IP of 1213.203.209.160
in your default route does not exist in IPv4 ;-). The 1213 is much
too high ;-) and I think the 2 should be deleted. But I also think
your routing is not correct. In my opinion there should be 113.203.209.163(the IP of
your KVM host) instead of 113.203.209.161 and 113.203.209.0
instead* of 1213.203.209.16.
But these are only guesses and it depends on how routing is done in
your data center. (I think you are using Hetzner and Hetzner does
not allow you to use their gateway with other MAC addresses than
your KVM host!)* Maybe it is a typo but may be not because you used
the command "route -n".
If you realy want some help you should post config files! It is
easier to track problems.*
By,
michael
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-18-2012, 10:29 AM
Thorsten Göllner
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
Yes, it was another typo. Sorry for that.
My kvm host is attached to a switch with another 4 servers in our
rack (it is mesh solution düsseldorf and not hetzner).
I tried the following as suggested by serge: On another server
connected to my switch I started tcpdump. On my guest I started a
ping to the server with tcpdump. I can see, that the ping packet on
the guest starts an arp request. My server (with running tcpdump)
replies to the arp request correctly. In the guest I can see a
correct arp table:
An IP of 1213.203.209.160
in your default route does not exist in IPv4 ;-). The 1213 is much
too high ;-) and I think the 2 should be deleted. But I also think
your routing is not correct. In my opinion there should be 113.203.209.163(the IP of
your KVM host) instead of 113.203.209.161 and 113.203.209.0
instead* of 1213.203.209.16.
But these are only guesses and it depends on how routing is done
in your data center. (I think you are using Hetzner and Hetzner
does not allow you to use their gateway with other MAC addresses
than your KVM host!)* Maybe it is a typo but may be not because
you used the command "route -n".
If you realy want some help you should post config files! It is
easier to track problems.*
By,
michael
--
Thorsten Göllner
OVM Office Voice Media GmbH
Herderstrasse 68
40237 Düsseldorf
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-18-2012, 10:37 AM
Thorsten Göllner
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
Ups: I solved it now! On my kvm host the forward chain in iptables
was set to "blocked". Changing it to "accept" solved the problem.
Till this day I though, that the forward chain is only used in
nat-environment. So I will take a deeper look in iptables now.
Am 18.05.2012 12:29, schrieb Thorsten Göllner:
Yes, it was another typo. Sorry for that.
My kvm host is attached to a switch with another 4 servers in our
rack (it is mesh solution düsseldorf and not hetzner).
I tried the following as suggested by serge: On another server
connected to my switch I started tcpdump. On my guest I started a
ping to the server with tcpdump. I can see, that the ping packet
on the guest starts an arp request. My server (with running
tcpdump) replies to the arp request correctly. In the guest I can
see a correct arp table:
An IP of 1213.203.209.160
in your default route does not exist in IPv4 ;-). The 1213 is
much too high ;-) and I think the 2 should be deleted. But I
also think your routing is not correct. In my opinion there
should be 113.203.209.163(the
IP of your KVM host) instead of 113.203.209.161 and 113.203.209.0
instead* of 1213.203.209.16.
But these are only guesses and it depends on how routing is done
in your data center. (I think you are using Hetzner and Hetzner
does not allow you to use their gateway with other MAC addresses
than your KVM host!)* Maybe it is a typo but may be not because
you used the command "route -n".
If you realy want some help you should post config files! It is
easier to track problems.*
By,
michael
--
Thorsten Göllner
OVM Office Voice Media GmbH
Herderstrasse 68
40237 Düsseldorf
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
05-18-2012, 02:15 PM
Thorsten Göllner
Ubuntu 12.04 / kvm / libvirt / problem with network bridge br0
For all people with the same problem:
I am using "arno-iptables-firewall" on the host. To make any guest
"work" you have to open the forward chain for it:
~$ cat
/etc/arno-iptables-firewall/custom-rules
# Put any custom (iptables) rules here down below:
iptables -A FORWARD -i br0 -d 113.203.209.165 -j ACCEPT
iptables -A FORWARD -o br0 -s 113.203.209.165 -j ACCEPT
Where 113.203.209.165 is the ip number of the guest of course. Keep
in mind, that you have to tell arno-iptables-firewall, that the
external interface on the host is "br0" and not "eth0". On the guest
the external interface is "eth0".
-Thorsten-
Am 18.05.2012 12:37, schrieb Thorsten Göllner:
Ups: I solved it now! On my kvm host the forward chain in iptables
was set to "blocked". Changing it to "accept" solved the problem.
Till this day I though, that the forward chain is only used in
nat-environment. So I will take a deeper look in iptables now.
Am 18.05.2012 12:29, schrieb Thorsten Göllner:
Yes, it was another typo. Sorry for that.
My kvm host is attached to a switch with another 4 servers in
our rack (it is mesh solution düsseldorf and not hetzner).
I tried the following as suggested by serge: On another server
connected to my switch I started tcpdump. On my guest I started
a ping to the server with tcpdump. I can see, that the ping
packet on the guest starts an arp request. My server (with
running tcpdump) replies to the arp request correctly. In the
guest I can see a correct arp table:
An IP of 1213.203.209.160
in your default route does not exist in IPv4 ;-). The 1213 is
much too high ;-) and I think the 2 should be deleted. But I
also think your routing is not correct. In my opinion there
should be 113.203.209.163(the
IP of your KVM host) instead of 113.203.209.161 and 113.203.209.0
instead* of 1213.203.209.16.
But these are only guesses and it depends on how routing is
done in your data center. (I think you are using Hetzner and
Hetzner does not allow you to use their gateway with other MAC
addresses than your KVM host!)* Maybe it is a typo but may be
not because you used the command "route -n".
If you realy want some help you should post config files! It
is easier to track problems.*
By,
michael
--
Thorsten Göllner
OVM Office Voice Media GmbH
Herderstrasse 68
40237 Düsseldorf
--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam