Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439919
| Path | csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
| Newsgroups | linux.kernel |
| Subject | DHCP via bridge in case of IPv4 |
| Date | Sat, 09 Jul 2016 10:40:01 +0200 |
| Message-ID | <rSVXP-tW-9@gated-at.bofh.it> (permalink) |
| Thread-Topic | DHCP via bridge in case of IPv4 |
| Thread-Index | AQHR2b0wP3SlCVXWzEuA1iaa0r9rVA== |
| Accept-Language | en-US, ru-RU |
| Content-Language | en-US |
| X-Originating-IP | [10.225.15.82] |
| Content-Type | text/plain; charset="utf-7" |
| Content-ID | <AFD5EA111CA2634B80121D82959929E1@internal.synopsys.com> |
| Content-Transfer-Encoding | 8BIT |
| MIME-Version | 1.0 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 46 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "davem@davemloft.net" <davem@davemloft.net>, "lede-dev@lists.infradead.org" <lede-dev@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-snps-arc@lists.infradead.org" <linux-snps-arc@lists.infradead.org> |
| X-Original-Date | Sat, 9 Jul 2016 08:37:55 +0000 |
| X-Original-Message-ID | <1468053400.5007.5.camel@synopsys.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1439919 |
Show key headers only | View raw
Hello, I was playing with quite simple bridged setup on different boards with very recent kernels (4.6.3 as of this writing) and found one interesting behavior that I cannot yet understand and googling din't help here as well. My setup is pretty simple: -------------+AKAAoACgAKAAoACgAKA-------------------+AKAAoACgAKAAoACgAKA-------------------------- +AHw- HOST+AKAAoACgAKAAoACgAHwAoACgAKAAoACgAKAAoAB8- +ACI-Dumb AP+ACIAoACgAKAAoACgAKAAfACgAKAAoACgAKAAoACgAHw- Wireless client+AKAAoACgAKAAoACgAKAAfA- +AHw- with DHCP +AHwAPA------+AD4-(eth0)+AKAAoACgAKAAoA-(wlan0)+ADw------+AD4AfA- attempting to+AKAAoACgAKAAoACgAKAAoACgAHw- +AHw- server+AKAAoACgAKAAfACgAKAAoACgAKAAoACgAHwAoACgAKAAoABc- br0 /+AKAAoACgAKAAoAB8AKAAoACgAKAAoACgAKAAfA- get settings via DHCP +AHw- -------------+AKAAoACgAKAAoACgAKA-------------------+AKAAoACgAKAAoACgAKA-------------------------- +ACo- HOST is my laptop with DHCP server that works for sure. +ACo- +ACI-Dumb AP+ACI- is a separate board (I tried ARM-based Wandboard and ARC-based +AKA- AXS10x boards but results are exactly the same) with wired (eth0) and wireless +AKA- (wlan0) network controllers bridged together (br0). That +ACI-br0+ACI- bridge flawlessly +AKA- gets its settings from DHCP server on host. +ACo- Wireless client could be either a smatrphone or another laptop etc but +AKA- what's important it should be configured to get network settings by DHCP as well. So what happens +ACI-br0+ACI- always gets network settings from DHCP server on HOST. That's fine. But wireless client only reliably gets settings from DHCP server if IPv6 is enabled on +ACI-Dumb AP+ACI- board. If IPv6 is disabled I may see that wireless client sends +ACI-DHCP Discover+ACI- then server replies with +ACI-DHCP Offer+ACI- but that offer never reaches wireless client. Well actually sometimes very-very rarely that offer may reach wireless client but I cannot understand how to reproduce it reliably. Still looks like enabling of IPv6 fixes that issue. So my question here is: why I see that difference with IPv4 vs IPv6? One sidenote: +AKA- Somehow I figured out that in case of IPv4 so-called routing +AKA- cache is absent (it was removed in Linux kernel 3.6) while with IPv6 it +AKA- still exist. And assuming my hardware is sane and no data gets lost I may +AKA- think that it's really a routing problem and missing routing cache might +AKA- be an answer. Still being a noob in networking stuff I'd like to get a bit +AKA- better explanation of things I see. All thoughts and comments are more than welcome. Regards, Alexey
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
DHCP via bridge in case of IPv4 Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-07-09 10:40 +0200
Re: [LEDE-DEV] DHCP via bridge in case of IPv4 Aaron Z <aczlan+ledev@gmail.com> - 2016-07-09 13:50 +0200
Re: [LEDE-DEV] DHCP via bridge in case of IPv4 Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-07-09 14:10 +0200
Re: [LEDE-DEV] DHCP via bridge in case of IPv4 Russell Senior <russell@personaltelco.net> - 2016-07-10 09:30 +0200
Re: [LEDE-DEV] DHCP via bridge in case of IPv4 Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2016-07-11 08:20 +0200
csiph-web