From: Arturo Borrero <aborrero@cica.es>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter@vger.kernel.org
Subject: Re: Conntrackd issue with bonding
Date: Mon, 13 Aug 2012 09:14:54 +0200 [thread overview]
Message-ID: <5028A96E.7090905@cica.es> (raw)
In-Reply-To: <20120812190548.GA512@1984>
[-- Attachment #1: Type: text/plain, Size: 2621 bytes --]
On 12/08/12 21:05, Pablo Neira Ayuso wrote:
> On Fri, Aug 10, 2012 at 12:02:54PM +0200, Arturo Borrero wrote:
> [...]
>>> Somoething is wrong with the link state checking.
>>>
>>> Please, get a working copy of libnfnetlink:
>>>
>>> git clone git://git.netfilter.org/libnfnetlink
>>> autoreconf -fi
>>> ./configure --prefix=/usr
>>> make
>>> make check
>>>
>>> [no need to make install]
>>>
>>> Then go to utils/ directory, run ./iftest and get back to the list to
>>> report what it says.
>>>
> [...]
>> This is the result of iftest:
>>
>> root@debian:~/git/libnfnetlink/utils# ./iftest
>> index (1) is lo (RUNNING) (UP)
>> index (2) is eth5 (NOT RUNNING) (DOWN)
>> index (3) is eth2 (RUNNING) (UP)
> Hm, not very useful sorry :-(
>
> Please, git pull and run make check again. Then, run:
>
> ./iftest bond2
>
> to obtain the device flags. Compare that output to that of `ip link'.
>
> I want to make sure there's no problem with obtaining the device
> flags.
Hi there,
results here (i'm no longer using bond2, but others):
root@debian:~/git/libnfnetlink/utils# ./iftest bond1
Cannot translate device idx=13
root@debian:~/git/libnfnetlink/utils# ./iftest bond0
Cannot translate device idx=12
root@debian:~/git/libnfnetlink/utils# ./iftest eth8
Cannot translate device idx=10
root@debian:~/git/libnfnetlink/utils# ./iftest eth1
Cannot translate device idx=9
root@debian:~/git/libnfnetlink/utils# ip link show bond1
13: bond1: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc
noqueue state DOWN mode DEFAULT
link/ether xx:f0:20 brd ff:ff:ff:ff:ff:ff
root@debian:~/git/libnfnetlink/utils# ip link show bond0
12: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT
link/ether xx:ff:30 brd ff:ff:ff:ff:ff:ff
root@debian:~/git/libnfnetlink/utils# ip link show eth8
10: eth8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT qlen 1000
link/ether xx:b8:f8 brd ff:ff:ff:ff:ff:ff
root@debian:~/git/libnfnetlink/utils# ip link show eth1
9: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq
master bond0 state UP mode DEFAULT qlen 1000
link/ether xx:ff:30 brd ff:ff:ff:ff:ff:ff
note eth1 being slave of bond0 and eth8 being a standar interface.
--
Arturo Borrero González
Departamento de Seguridad Informática
Centro Informático Científico de Andalucía (CICA)
Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)
Tfno.: +34 955 056 600 / FAX: +34 955 056 650
Consejería de Economía, Innovación, Ciencia y Empleo
Junta de Andalucía
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4238 bytes --]
next prev parent reply other threads:[~2012-08-13 7:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 7:09 Conntrackd issue with bonding Arturo Borrero
2012-08-10 9:19 ` Pablo Neira Ayuso
2012-08-10 10:02 ` Arturo Borrero
2012-08-12 19:05 ` Pablo Neira Ayuso
2012-08-13 7:14 ` Arturo Borrero [this message]
2012-08-13 9:46 ` Pablo Neira Ayuso
2012-08-13 10:35 ` Jan Engelhardt
2012-08-13 18:01 ` Pablo Neira Ayuso
2012-08-14 7:54 ` Arturo Borrero
2012-08-13 12:00 ` Arturo Borrero
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=5028A96E.7090905@cica.es \
--to=aborrero@cica.es \
--cc=netfilter@vger.kernel.org \
--cc=pablo@netfilter.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.