Sponsored Content
Special Forums IP Networking Linux Bridging, Wireless AP, IPv6 multicast and autoconfiguration. Post 302625481 by neutronscott on Tuesday 17th of April 2012 09:15:33 PM
Old 04-17-2012
Linux Bridging, Wireless AP, IPv6 multicast and autoconfiguration.

Well I cannot be too certain of the setup, since it's a stock firmware, but I have a cheap Belkin wireless-n router and wanted to get some ideas of what may be going on while I've a few moments to ramble on about my problems... I requested the GPL source so I've just been pondering while waiting to see whats really going on.

Firstly, the setup is "Use as access point," which "disables all routing and firewall functions." Belkin support says it also makes all the ports on the router act as LAN ports.

So one would imagine WLAN, LAN, WAN, to all be apart of a bridge. Seems almost right. Wired PCs connected to LAN ports get IPv4 DHCP and connectivity from the real router connected to WAN port. They also get IPv6 autoconfigured from the announcements from another wired client on the LAN switch (switched before bridged..?)

The problem: Wireless clients do not receive the IPv6 multicast from the acting IPv6 router... tcpdump from that router shows nothing as well running ping ff02::1 from a wireless client. Though *oddly* after doing that for awhile Linux once obtained an IP (but didn't setup a route).. Also often IPv4 DHCP will take a prolonged amount of time.

Soo I go through the trouble of compiling tcpdump for the mipsel main router (remember, on WAN port) and saw multicast packets from a wireless client ping6 ... seemingly reliably ! Traceroute doesn't show this Belkin AP (So it most likely is actually bridged not routed)...

Back in the old days drivers had to support changing the source address on the wireless interface for bridging to work, but I thought that was usually a client issue, this is an AP, and a tcpdump with the Ethernet headers show different sources.

Would one point their finger at the integrated switch having problems learning or dealing with IPv6 multicast? Probably not. They're on lower level.

One thing I do know is it is Linux 2.6.30 and Realtek has a habit of not fitting their code into Linux, so probably their wireless driver is a bloody mess using their own stacks on stacks on stacks. Smilie

Any ideas? Other tests to try -- maybe utility that includes server/client to test bridges/switches?
 

9 More Discussions You Might Find Interesting

1. IP Networking

radvd + ipv6 problems in Linux

Hi everyone, I have a weird problem in Linux. Well, for the past month i've been very interested in IPv6, and, a couple of days ago i decided to try to get it to work. I run Slackware 8.0 on my gateway/router-box, and, the freenet6.com-program and scripts started and worked just fine. There's one... (1 Reply)
Discussion started by: kuba
1 Replies

2. Linux

ipv6 on a linux box

how to enable an ipv6 address on a linux pc? thanks in advance (3 Replies)
Discussion started by: sunittaneja
3 Replies

3. UNIX for Dummies Questions & Answers

wireless drivers for linux?

so i downloaded a linux today, but i ahve the problem that i cant connect to the internett becouse i need drivers. annyone know where i can get the drivers? (4 Replies)
Discussion started by: Morton
4 Replies

4. UNIX for Dummies Questions & Answers

wireless internet on redhat linux ?

Hi, Could some please help me in configuring wireles internet on redhat linux installed on my laptop. When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card: Intel(R) PRO/Wireless 3945ABG Network Connection Regards, Girish. (0 Replies)
Discussion started by: girish1428
0 Replies

5. Red Hat

wireless internet on redhat linux ?

Hi, Could some please help me in configuring wireles internet on redhat linux installed on my laptop. When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card: Intel(R) PRO/Wireless 3945ABG Network Connection I have run the following steps... (9 Replies)
Discussion started by: girish1428
9 Replies

6. SuSE

Linux and IPv6

Hi gurus, In a few month, we must enable IPv6 on our Linux Server! Should we reinstall the Linux machine to enable IPv6 or could we just make some change in configuration's files? Could Linux run simultaneous IPv4 and IPv6? Thanks in advance for our help our ideas? Best regards, nm (3 Replies)
Discussion started by: hiddenshadow
3 Replies

7. UNIX for Dummies Questions & Answers

Wireless configuration on My linux

Hello All Please can some one help me to use my USB wireless card D-Link on my laptop i want to configure it, I am using madriva 2010 my system Acer Aspire 4315 i want to know how to configure it and where to get special driver to download the driver Please (0 Replies)
Discussion started by: bealoumluka
0 Replies

8. Solaris

device autoconfiguration

Hi everyone, I am new to Unix and just started reading the book recently. I was having a difficulty understanding one topic so I thought I should post it here. I am reading the chapter on Managing File Systems and it talks about device autoconfiguration. Can somebody tell me what is the... (2 Replies)
Discussion started by: saudsos
2 Replies

9. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
FAITH(4)						   BSD Kernel Interfaces Manual 						  FAITH(4)

NAME
faith -- IPv6-to-IPv4 TCP relay capturing interface SYNOPSIS
device faith DESCRIPTION
The faith interface captures IPv6 TCP traffic, for implementing userland IPv6-to-IPv4 TCP relay like faithd(8). Each faith interface is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or using the cloned_interfaces variable in rc.conf(5). Special action will be taken when IPv6 TCP traffic is seen on a router, and the routing table suggests to route it to the faith interface. In this case, the packet will be accepted by the router, regardless of the list of IPv6 interface addresses assigned to the router. The packet will be captured by an IPv6 TCP socket, if it has the IN6P_FAITH flag turned on and matching address/port pairs. As a result, faith will let you capture IPv6 TCP traffic to some specific destination addresses. Userland programs, such as faithd(8) can use this behavior to relay IPv6 TCP traffic to IPv4 TCP traffic. The program can accept some specific IPv6 TCP traffic, perform getsockname(2) to get the IPv6 destination address specified by the client, and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP. The IN6P_FAITH flag on a IPv6 TCP socket can be set by using setsockopt(2), with level IPPROTO_IPV6 and optname IPv6_FAITH. To handle error reports by ICMPv6, some ICMPv6 packets routed to an faith interface will be delivered to IPv6 TCP, as well. To understand how faith can be used, take a look at the source code of faithd(8). As the faith interface implements potentially dangerous operations, great care must be taken when configuring it. To avoid possible misuse, the sysctl(8) variable net.inet6.ip6.keepfaith must be set to 1 prior to using the interface. When net.inet6.ip6.keepfaith is 0, no packets will be captured by the faith interface. The faith interface is intended to be used on routers, not on hosts. SEE ALSO
inet(4), inet6(4), faithd(8) Jun-ichiro itojun Hagino and Kazu Yamamoto, An IPv6-to-IPv4 transport relay translator, RFC3142. HISTORY
The FAITH IPv6-to-IPv4 TCP relay translator first appeared in the WIDE hydrangea IPv6 stack. BSD
April 10, 1999 BSD
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy