Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 14:27:11 -0700
From:      Andrey Cherkashin <andoriyu@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support
Message-ID:  <etPan.543d952f.16076c6d.1ba@Andreys-MacBook-Pro.local>

next in thread | raw e-mail | index | archive | help
Just wanted to say that with that patch it works on 10.1 with E2200.

=5B =C2=A03=5D =C2=A00.0-10.0 sec =C2=A01.07 GBytes =C2=A0 923 Mbits/sec

--=C2=A0
Andrey Cherkashin
Sent with Airmail
From owner-freebsd-net@FreeBSD.ORG  Tue Oct 14 22:57:33 2014
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
Delivered-To: freebsd-net@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 6390EAFD
 for <freebsd-net@freebsd.org>; Tue, 14 Oct 2014 22:57:33 +0000 (UTC)
Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.12])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "smtp.wp.pl", Issuer "Thawte SSL CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id DCAD338E
 for <freebsd-net@freebsd.org>; Tue, 14 Oct 2014 22:57:32 +0000 (UTC)
Received: (wp-smtpd smtp.wp.pl 20115 invoked from network);
 14 Oct 2014 23:57:29 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a;
 t=1413323849; bh=chgSaRG3P868xzU72GFUSFR8iF9GH4HRRvezqjA2alg=;
 h=From:To:Subject;
 b=JLcEODiQcVgCA+jqLHBnmrX7ORQfKUqy75a1KIXiGZolxpRhr497xOhw2I0W2f0sR
 5Rv4/x/rRtSFdgi0RNoRz252vPRs2bfvQQtwL3UOfmlpKZSJCE69Vqh0L7qBSEGh4w
 gYU9xZx5L1S4rOYbOdcxJLXDZzyH6A78/kBui830=
Received: from 250-210-250-178.ftth.cust.kwaoo.net (HELO [10.0.5.13])
 (marek_sal@[178.250.210.250]) (envelope-sender <marek_sal@wp.pl>)
 by smtp.wp.pl (WP-SMTPD) with AES128-SHA encrypted SMTP
 for <freebsd-net@freebsd.org>; 14 Oct 2014 23:57:29 +0200
Message-ID: <543D9C48.3010907@wp.pl>
Date: Tue, 14 Oct 2014 23:57:28 +0200
From: Marek Salwerowicz <marek_sal@wp.pl>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: freebsd-net@freebsd.org
Subject: Multicast routing, IGMP, IPTV doubts..
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A.
X-WP-SPAM: NO 0000000 [8aOU]                               
X-BeenThere: freebsd-net@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/>;
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
 <mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Oct 2014 22:57:33 -0000

Hi all,

My home router is small FreeBSD 10 box, with 3 ethernet ports, I use pf 
as a firewall.

My ISP provides FTTH, that ends at my home with a small box called CPE. 
The CPE contains 4 ethernet ports. On one port I have Internet access, 
on the other there is IPTV (that's based on udp/multicast)

The IPTV works well - when I connect directly my PC to IPTV ethernet 
socket - I can watch TV.

But I would like to have both Internet and IPTV on my desktop at the 
same time.

I've downloaded the igmpproxy package, set up config:

quickleave
# IPTV interface
phyint re2 upstream  ratelimit 0  threshold 1
    altnet 10.0.0.0/8
    altnet 192.168.0.0/16

# LAN interface , bridge0 as it's re0+wlan0
phyint bridge0 downstream  ratelimit 0  threshold 1

# Internet access interface
phyint re1 disabled

I've also loaded the ip_mroute module into kernel:

10    1 0xffffffff81aa7000 cd91     ip_mroute.ko

And enabled UDP traffic in PF:

IPTV="re2"
int_if="bridge0"

# IPTV
pass in on $IPTV inet proto udp from any to any
pass on {$int_if, $IPTV} proto igmp allow-opts



Unfortunately after starting igmpproxy:

# igmpproxy -d -vv igmpproxy.conf

the igmpproxy starts but can't build routing table:
Current routing table (Age active routes):
-----------------------------------------------------
No routes in table...
-----------------------------------------------------
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data 
length (24+32)
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data 
length (24+32)
received packet from 10.66.255.248 shorter (32 bytes) than hdr+data 
length (24+32)


Do you have any idea how should I configure my box to be able to route 
the IPTV traffic?

Regards,
Marek

-- 
Marek Salwerowicz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?etPan.543d952f.16076c6d.1ba>