I;m have a strange networking issue that I was hoping you guys could help
with. Or maybe point me in the right direction. I have a very simple bridge
set up on my vmhosts:
~# brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.bc305bedf538 yes eth0
eth1
eth2
Nothing fancy going on there, no NAT configured, etc. However I'm noticing
that on some hosts (specifically windows hosts) incoming traffic is having
it's source IP address rewritten to be that of the vmhost as opposed to the
original sender of the packet. I can't imagine WHY it would be doing this.
I have no NAT configured or anything like that, just a very basic bridge.
However, I came across it while configuring zabbix and got the following
error:
260:20120823:142808.938 Listener error: Connection from [128.32.224.132]
rejected. Allowed server is [imon-0.EECS.Berkeley.EDU,
imon-1.EECS.Berkeley.EDU,imon-2.EECS.Berkeley.EDU].
This (the error message, not the issue) makes perfect sense because that's
the IP address of the vmhost itself. I went ahead and captured some traffic
and it appears that's exactly whats happening. I'm having trouble tacking
down WHY that ip address is getting changed at all. I know this is a bit
vague but... I'm not quite sure where else to look at this point.
Could you please show us a brctl show on the node on which the Windows
System is up, and perhaps an ip link list, and an iptables -t nat -L just
to be sure?
Also can you show a gnt-instance info, and the setting for proxy arp in
/proc/sys/net/... ?
Thanks,
Guido
On 24 Aug 2012 22:13, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
> I;m have a strange networking issue that I was hoping you guys could help
> with. Or maybe point me in the right direction. I have a very simple bridge
> set up on my vmhosts:
> ~# brctl show br0
> bridge name bridge id STP enabled interfaces
> br0 8000.bc305bedf538 yes eth0
> eth1
> eth2
> Nothing fancy going on there, no NAT configured, etc. However I'm noticing
> that on some hosts (specifically windows hosts) incoming traffic is having
> it's source IP address rewritten to be that of the vmhost as opposed to the
> original sender of the packet. I can't imagine WHY it would be doing this.
> I have no NAT configured or anything like that, just a very basic bridge.
> However, I came across it while configuring zabbix and got the following
> error:
> 260:20120823:142808.938 Listener error: Connection from [128.32.224.132]
> rejected. Allowed server is [imon-0.EECS.Berkeley.EDU,
> imon-1.EECS.Berkeley.EDU,imon-2.EECS.Berkeley.EDU].
> This (the error message, not the issue) makes perfect sense because that's
> the IP address of the vmhost itself. I went ahead and captured some traffic
> and it appears that's exactly whats happening. I'm having trouble tacking
> down WHY that ip address is getting changed at all. I know this is a bit
> vague but... I'm not quite sure where else to look at this point.
So, while gathering up this information I realized something. Apparently
the windows host using tap0? I'm not entirely sure why (as the device is
listed as br0 in gnt-instance info) but if I take the tap interface out of
the bridge things come tumbling down. is this the expected behavior for a
windows host? I've never seen my linux instances behave like this.
All info requested below, let me know if I missed anything or if anything
looks out of place...
vmhost-0:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.b221a3821727 yes eth0
eth1
eth2
eth3
tap0
tap1
vmhost-0:~# ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode
DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
state UP mode DEFAULT qlen 1000
link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
state DOWN mode DEFAULT qlen 1000
link/ether bc:30:5b:ee:06:31 brd ff:ff:ff:ff:ff:ff
4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
state DOWN mode DEFAULT qlen 1000
link/ether bc:30:5b:ee:06:32 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
state UP mode DEFAULT qlen 1000
link/ether bc:30:5b:ee:06:33 brd ff:ff:ff:ff:ff:ff
6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
qlen 1000
link/ether a0:36:9f:07:12:c4 brd ff:ff:ff:ff:ff:ff
7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
qlen 1000
link/ether a0:36:9f:07:12:c6 brd ff:ff:ff:ff:ff:ff
8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
mode DEFAULT
link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
10: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN mode DEFAULT qlen 500
link/ether b2:21:a3:82:17:27 brd ff:ff:ff:ff:ff:ff
11: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UNKNOWN mode DEFAULT qlen 500
link/ether ca:ef:89:13:00:da brd ff:ff:ff:ff:ff:ff
On Fri, Aug 24, 2012 at 2:29 PM, Guido Trotter <ultrot...@gmail.com> wrote:
> Hi Timothy,
> Could you please show us a brctl show on the node on which the Windows
> System is up, and perhaps an ip link list, and an iptables -t nat -L just
> to be sure?
> Also can you show a gnt-instance info, and the setting for proxy arp in
> /proc/sys/net/... ?
> Thanks,
> Guido
> On 24 Aug 2012 22:13, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
>> Hey Folks,
>> I;m have a strange networking issue that I was hoping you guys could help
>> with. Or maybe point me in the right direction. I have a very simple bridge
>> set up on my vmhosts:
>> ~# brctl show br0
>> bridge name bridge id STP enabled interfaces
>> br0 8000.bc305bedf538 yes eth0
>> eth1
>> eth2
>> Nothing fancy going on there, no NAT configured, etc. However I'm
>> noticing that on some hosts (specifically windows hosts) incoming traffic
>> is having it's source IP address rewritten to be that of the vmhost as
>> opposed to the original sender of the packet. I can't imagine WHY it would
>> be doing this. I have no NAT configured or anything like that, just a very
>> basic bridge. However, I came across it while configuring zabbix and got
>> the following error:
>> 260:20120823:142808.938 Listener error: Connection from [128.32.224.132]
>> rejected. Allowed server is [imon-0.EECS.Berkeley.EDU,
>> imon-1.EECS.Berkeley.EDU,imon-2.EECS.Berkeley.EDU].
>> This (the error message, not the issue) makes perfect sense because
>> that's the IP address of the vmhost itself. I went ahead and captured some
>> traffic and it appears that's exactly whats happening. I'm having trouble
>> tacking down WHY that ip address is getting changed at all. I know this is
>> a bit vague but... I'm not quite sure where else to look at this point.
> So, while gathering up this information I realized something. Apparently
> the windows host using tap0? I'm not entirely sure why (as the device is
> listed as br0 in gnt-instance info) but if I take the tap interface out of
> the bridge things come tumbling down. is this the expected behavior for a
> windows host? I've never seen my linux instances behave like this.
> All info requested below, let me know if I missed anything or if anything
> looks out of place...
> vmhost-0:~# brctl show
> bridge name bridge id STP enabled interfaces
> br0 8000.b221a3821727 yes eth0
> eth1
> eth2
> eth3
> tap0
> tap1
> vmhost-0:~# ip link list
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode
> DEFAULT
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
> state UP mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
> state DOWN mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:31 brd ff:ff:ff:ff:ff:ff
> 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
> state DOWN mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:32 brd ff:ff:ff:ff:ff:ff
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
> state UP mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:33 brd ff:ff:ff:ff:ff:ff
> 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
> qlen 1000
> link/ether a0:36:9f:07:12:c4 brd ff:ff:ff:ff:ff:ff
> 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
> qlen 1000
> link/ether a0:36:9f:07:12:c6 brd ff:ff:ff:ff:ff:ff
> 8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
> mode DEFAULT
> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
> 10: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN mode DEFAULT qlen 500
> link/ether b2:21:a3:82:17:27 brd ff:ff:ff:ff:ff:ff
> 11: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN mode DEFAULT qlen 500
> link/ether ca:ef:89:13:00:da brd ff:ff:ff:ff:ff:ff
> On Fri, Aug 24, 2012 at 2:29 PM, Guido Trotter <ultrot...@gmail.com>wrote:
>> Hi Timothy,
>> Could you please show us a brctl show on the node on which the Windows
>> System is up, and perhaps an ip link list, and an iptables -t nat -L just
>> to be sure?
>> Also can you show a gnt-instance info, and the setting for proxy arp in
>> /proc/sys/net/... ?
>> Thanks,
>> Guido
>> On 24 Aug 2012 22:13, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
>>> Hey Folks,
>>> I;m have a strange networking issue that I was hoping you guys could
It's normal for a kvm guests to use a tap interface : br0 is just the
bridge to connect it to: so yes, tap0 must be enslaved to br0, usually by
the kvm ifup script provided by ganeti : did you unenslave it or override
the script?
Also as you see your postrouting table is masquerading all routed (l3)
traffic by default, so you are natting.
So the behaviour you see is completely expected, for how your system is
configured.
Thanks,
Guido
On 24 Aug 2012 22:43, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
> So, while gathering up this information I realized something. Apparently
> the windows host using tap0? I'm not entirely sure why (as the device is
> listed as br0 in gnt-instance info) but if I take the tap interface out of
> the bridge things come tumbling down. is this the expected behavior for a
> windows host? I've never seen my linux instances behave like this.
> All info requested below, let me know if I missed anything or if anything
> looks out of place...
> vmhost-0:~# brctl show
> bridge name bridge id STP enabled interfaces
> br0 8000.b221a3821727 yes eth0
> eth1
> eth2
> eth3
> tap0
> tap1
> vmhost-0:~# ip link list
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode
> DEFAULT
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
> state UP mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
> state DOWN mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:31 brd ff:ff:ff:ff:ff:ff
> 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
> state DOWN mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:32 brd ff:ff:ff:ff:ff:ff
> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
> state UP mode DEFAULT qlen 1000
> link/ether bc:30:5b:ee:06:33 brd ff:ff:ff:ff:ff:ff
> 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
> qlen 1000
> link/ether a0:36:9f:07:12:c4 brd ff:ff:ff:ff:ff:ff
> 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT
> qlen 1000
> link/ether a0:36:9f:07:12:c6 brd ff:ff:ff:ff:ff:ff
> 8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
> mode DEFAULT
> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
> 10: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN mode DEFAULT qlen 500
> link/ether b2:21:a3:82:17:27 brd ff:ff:ff:ff:ff:ff
> 11: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN mode DEFAULT qlen 500
> link/ether ca:ef:89:13:00:da brd ff:ff:ff:ff:ff:ff
> On Fri, Aug 24, 2012 at 2:29 PM, Guido Trotter <ultrot...@gmail.com>wrote:
>> Hi Timothy,
>> Could you please show us a brctl show on the node on which the Windows
>> System is up, and perhaps an ip link list, and an iptables -t nat -L just
>> to be sure?
>> Also can you show a gnt-instance info, and the setting for proxy arp in
>> /proc/sys/net/... ?
>> Thanks,
>> Guido
>> On 24 Aug 2012 22:13, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
>>> Hey Folks,
>>> I;m have a strange networking issue that I was hoping you guys could
>>> help with. Or maybe point me in the right direction. I have a very simple
>>> bridge set up on my vmhosts:
>>> ~# brctl show br0
>>> bridge name bridge id STP enabled interfaces
>>> br0 8000.bc305bedf538 yes eth0
>>> eth1
>>> eth2
>>> Nothing fancy going on there, no NAT configured, etc. However I'm
>>> noticing that on some hosts (specifically windows hosts) incoming traffic
>>> is having it's source IP address rewritten to be that of the vmhost as
>>> opposed to the original sender of the packet. I can't imagine WHY it would
>>> be doing this. I have no NAT configured or anything like that, just a very
>>> basic bridge. However, I came across it while configuring zabbix and got
>>> the following error:
>>> 260:20120823:142808.938 Listener error: Connection from [128.32.224.132]
>>> rejected. Allowed server is [imon-0.EECS.Berkeley.EDU,
>>> imon-1.EECS.Berkeley.EDU,imon-2.EECS.Berkeley.EDU].
>>> This (the error message, not the issue) makes perfect sense because
>>> that's the IP address of the vmhost itself. I went ahead and captured some
>>> traffic and it appears that's exactly whats happening. I'm having trouble
>>> tacking down WHY that ip address is getting changed at all. I know this is
>>> a bit vague
I noticed the postrouting rule and removed it and everything seems to be
better now. Oddly it was only that one vmhost (out of seven) that was set
up like that. Someone's been monkeying with my cluster again.
On Fri, Aug 24, 2012 at 3:29 PM, Guido Trotter <ultrot...@gmail.com> wrote:
> Hi Timothy,
> It's normal for a kvm guests to use a tap interface : br0 is just the
> bridge to connect it to: so yes, tap0 must be enslaved to br0, usually by
> the kvm ifup script provided by ganeti : did you unenslave it or override
> the script?
> Also as you see your postrouting table is masquerading all routed (l3)
> traffic by default, so you are natting.
> So the behaviour you see is completely expected, for how your system is
> configured.
> Thanks,
> Guido
> On 24 Aug 2012 22:43, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
>> So, while gathering up this information I realized something. Apparently
>> the windows host using tap0? I'm not entirely sure why (as the device is
>> listed as br0 in gnt-instance info) but if I take the tap interface out of
>> the bridge things come tumbling down. is this the expected behavior for a
>> windows host? I've never seen my linux instances behave like this.
>> All info requested below, let me know if I missed anything or if anything
>> looks out of place...
>> vmhost-0:~# brctl show
>> bridge name bridge id STP enabled interfaces
>> br0 8000.b221a3821727 yes eth0
>> eth1
>> eth2
>> eth3
>> tap0
>> tap1
>> vmhost-0:~# ip link list
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode
>> DEFAULT
>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
>> state UP mode DEFAULT qlen 1000
>> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
>> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
>> state DOWN mode DEFAULT qlen 1000
>> link/ether bc:30:5b:ee:06:31 brd ff:ff:ff:ff:ff:ff
>> 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br0
>> state DOWN mode DEFAULT qlen 1000
>> link/ether bc:30:5b:ee:06:32 brd ff:ff:ff:ff:ff:ff
>> 5: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0
>> state UP mode DEFAULT qlen 1000
>> link/ether bc:30:5b:ee:06:33 brd ff:ff:ff:ff:ff:ff
>> 6: eth4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
>> DEFAULT qlen 1000
>> link/ether a0:36:9f:07:12:c4 brd ff:ff:ff:ff:ff:ff
>> 7: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
>> DEFAULT qlen 1000
>> link/ether a0:36:9f:07:12:c6 brd ff:ff:ff:ff:ff:ff
>> 8: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
>> mode DEFAULT
>> link/ether bc:30:5b:ee:06:30 brd ff:ff:ff:ff:ff:ff
>> 10: tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
>> state UNKNOWN mode DEFAULT qlen 500
>> link/ether b2:21:a3:82:17:27 brd ff:ff:ff:ff:ff:ff
>> 11: tap1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
>> state UNKNOWN mode DEFAULT qlen 500
>> link/ether ca:ef:89:13:00:da brd ff:ff:ff:ff:ff:ff
>> On Fri, Aug 24, 2012 at 2:29 PM, Guido Trotter <ultrot...@gmail.com>wrote:
>>> Hi Timothy,
>>> Could you please show us a brctl show on the node on which the Windows
>>> System is up, and perhaps an ip link list, and an iptables -t nat -L just
>>> to be sure?
>>> Also can you show a gnt-instance info, and the setting for proxy arp in
>>> /proc/sys/net/... ?
>>> Thanks,
>>> Guido
>>> On 24 Aug 2012 22:13, "Timothy Scoppetta" <t...@eecs.berkeley.edu> wrote:
>>>> Hey Folks,
>>>> I;m have a strange networking issue that I was hoping you guys could
>>>> help with. Or maybe point me in the right direction. I have a very simple
>>>> bridge set up on my vmhosts:
>>>> ~# brctl show br0
>>>> bridge name bridge id STP enabled interfaces
>>>> br0 8000.bc305bedf538 yes eth0
>>>> eth1
>>>> eth2
>>>> Nothing fancy going on there, no NAT configured, etc. However I'm
>>>> noticing that on some hosts (specifically windows hosts) incoming traffic
>>>> is having it's source IP address rewritten to be that of the vmhost as
>>>> opposed to the original sender of the packet. I can't imagine WHY it would
>>>> be doing this. I have no NAT configured or anything like that, just a very
>>>> basic bridge. However, I came across it while configuring