Andreas.Reschke at mahle.com
2015-Apr-23 11:50 UTC
[CentOS] Probs with Routing (CentOS7 , KVM)
Hi there,
I've installed a new KVM-Server. The routing in all instances are only
working after "arp -s ip_of_router mac_of_router"
Server: CentOS7, KVM
Clients: CentOS6 and Fedora 21
What going wrong?
[root at bgstkvmlr01 ~]# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST> mtu 1500
inet6 fe80::3ed9:2bff:fe0b:c706 prefixlen 64 scopeid 0x20<link>
ether 3c:d9:2b:0b:c7:06 txqueuelen 0 (Ethernet)
RX packets 7341811 bytes 9977559369 (9.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2649574 bytes 3041071431 (2.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.20.91.233 netmask 255.255.255.0 broadcast 10.20.91.255
inet6 fe80::3ed9:2bff:fe0b:c706 prefixlen 64 scopeid 0x20<link>
ether 3c:d9:2b:0b:c7:06 txqueuelen 0 (Ethernet)
RX packets 502795 bytes 41156803 (39.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 404863 bytes 2871651286 (2.6 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp3s0f0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether 3c:d9:2b:0b:c7:06 txqueuelen 1000 (Ethernet)
RX packets 7318606 bytes 9975484026 (9.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2649122 bytes 3041013575 (2.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp3s0f1: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST> mtu 1500
ether 3c:d9:2b:0b:c7:06 txqueuelen 1000 (Ethernet)
RX packets 23205 bytes 2075343 (1.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 452 bytes 57856 (56.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Lokale Schleife)
RX packets 587461 bytes 3015361475 (2.8 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 587461 bytes 3015361475 (2.8 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast
192.168.122.255
ether 52:54:00:04:a7:50 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc54:ff:fe63:59c4 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:63:59:c4 txqueuelen 500 (Ethernet)
RX packets 362 bytes 29416 (28.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3751 bytes 310945 (303.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc54:ff:fea4:7493 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:a4:74:93 txqueuelen 500 (Ethernet)
RX packets 594280 bytes 54135245 (51.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6887388 bytes 9904127165 (9.2 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root at bgstkvmlr01 ~]# route -n
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
0.0.0.0 10.20.91.1 0.0.0.0 UG 0 0 0
br0
10.20.91.0 0.0.0.0 255.255.255.0 U 0 0 0
br0
169.254.0.0 0.0.0.0 255.255.0.0 U 1011 0 0
br0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0
virbr0
[root at bgstkvmlr01 ~]#
Mit freundlichen Gr??en / Kind regards
Mr. Andreas Reschke
MAHLE International GmbH
Unix/Linux-Administration (FIG5.1)
Pragstr. 26 - 46, 70376 Stuttgart, Germany
Phone: +49 711 501-47598, Fax: +49 711 501-44 47598
Mobile: 0173-3197397
andreas.reschke at mahle.com, http://www.mahle.com
MAHLE International GmbH, Location: Stuttgart, Registered: Amtsgericht
Stuttgart, HRB 16413
Management Board: Prof. Dr. Heinz K. Junker, Arnd Franz, Michael Frick,
Michael Glowatzki
Hi, On 23-04-2015 08:50, Andreas.Reschke at mahle.com wrote:> Hi there, > I've installed a new KVM-Server. The routing in all instances are only > working after "arp -s ip_of_router mac_of_router" > > Server: CentOS7, KVM > Clients: CentOS6 and Fedora 21 > > What going wrong?Your report is not very clear. Is it just the routing from the guests that is not working? Because if you have to use that command, all routing from the server itself would also be jammed. And in that case, I would suggest doing a traffic capture on the bridge, bonding and its slaves if applicable to see where it's breaking. You may also consider switching to bonding Active/Backup mode (if not already) for troubleshooting. Marcelo
Andreas.Reschke at mahle.com
2015-Apr-23 12:35 UTC
[CentOS] Antwort: Re: Probs with Routing (CentOS7 , KVM)
centos-bounces at centos.org schrieb am 23.04.2015 14:27:41:> Von: Marcelo Ricardo Leitner <marcelo.leitner at gmail.com> > An: CentOS mailing list <centos at centos.org> > Datum: 23.04.2015 14:28 > Betreff: Re: [CentOS] Probs with Routing (CentOS7 , KVM) > Gesendet von: centos-bounces at centos.org > > Hi, > > On 23-04-2015 08:50, Andreas.Reschke at mahle.com wrote: > > Hi there, > > I've installed a new KVM-Server. The routing in all instances are only > > working after "arp -s ip_of_router mac_of_router" > > > > Server: CentOS7, KVM > > Clients: CentOS6 and Fedora 21 > > > > What going wrong? > > Your report is not very clear. Is it just the routing from the guests > that is not working? Because if you have to use that command, all > routing from the server itself would also be jammed. And in that case, I> would suggest doing a traffic capture on the bridge, bonding and its > slaves if applicable to see where it's breaking. You may also consider > switching to bonding Active/Backup mode (if not already) for > troubleshooting. > > Marcelo > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosHello Marcelo, I'm using Bonding Mode: IEEE 802.3ad Dynamic link aggregation. With tcpdump I've seen, that "ping to router" is going through the interfaces (br0, bond0, vmnet0) but the answer is lost. Mit freundlichen Gr??en / Kind regards Mr. Andreas Reschke MAHLE International GmbH Unix/Linux-Administration (FIG5.1) Pragstr. 26 - 46, 70376 Stuttgart, Germany Phone: +49 711 501-47598, Fax: +49 711 501-44 47598 Mobile: 0173-3197397 andreas.reschke at mahle.com, http://www.mahle.com MAHLE International GmbH, Location: Stuttgart, Registered: Amtsgericht Stuttgart, HRB 16413 Management Board: Prof. Dr. Heinz K. Junker, Arnd Franz, Michael Frick, Michael Glowatzki