我有一个运行在kvm上的windows 2008服务器vm,它有一个rtl。我在vm上安装了补丁,在主机上做了“dist-升级”,现在网桥似乎没有转发数据包!主机有几个nics,所有的都是静态分配的。brDMZ是我感兴趣的桥梁,它指定了192.168.4.4,我可以从另一个(物理)主机上切换它。我试着回到4.4.0-98没有运气。有什么建议吗?以下是一些输出:
uname -a
Linux vmhost-01 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
brctl show
bridge name bridge id STP enabled interfaces
brCSS 8000.001e0b480aba yes eth0
brDMZ 8000.d485644f4aee yes eth3
docker0 8000.0242823a37ed no
virbr0 8000.525400cf415c yes virbr0-nic
sudo ifconfig brDMZ
brDMZ Link encap:Ethernet HWaddr d4:85:64:4f:4a:ee
inet addr:192.168.4.4 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: fe80::d685:64ff:fe4f:4aee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9004 (9.0 KB) TX bytes:648 (648.0 B)
brctl showstp brDMZ
brDMZ
bridge id 8000.d485644f4aee
designated root 8000.d485644f4aee
root port 0 path cost 0
max age 20.00 bridge max age 20.00
hello time 2.00 bridge hello time 2.00
forward delay 2.00 bridge forward delay 2.00
ageing time 300.00
hello timer 0.52 tcn timer 0.00
topology change timer 0.00 gc timer 171.35
flags
eth3 (1)
port id 8001 state forwarding
designated root 8000.d485644f4aee path cost 4
designated bridge 8000.d485644f4aee message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
brctl showmacs brDMZ
port no mac addr is local? ageing timer
1 00:06:5b:f6:8b:dc no 179.48
1 00:0c:29:04:87:83 no 157.46
1 00:0c:29:f1:90:8e no 52.99
1 00:14:5e:77:f7:d7 no 59.09
1 d4:85:64:4f:4a:ee yes 0.00
1 d4:85:64:4f:4a:ee yes 0.00
sudo ebtables -t filter -L
Bridge table: filter
Bridge chain: INPUT, entries: 0, policy: ACCEPT
Bridge chain: FORWARD, entries: 0, policy: ACCEPT
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
发布于 2017-11-29 02:53:01
运行tcpdump (在多个地方)为我提供了修复这个问题的线索。我注意到arp流量出现在vm和主机的转储中,但是传出和传入的流量只会出现在主机上,而不是在vm上。ufw正在运行,但什么也没有设置(据我所知,对此我什么都不知道),但我注意到iptables -L显示前向链有一个拒绝策略!我把它与我的另一个ubuntu安装进行了比较,它有一个默认的接收策略,所以--非常肯定--更改策略以被接受,一切都很好!
我有一种感觉,安装docker.io做了一些修改,但我不会确定,只是高兴有这个问题,我!
希望它能帮到别人
https://askubuntu.com/questions/980752
复制相似问题