From owner-freebsd-net@FreeBSD.ORG Tue Oct 14 21:27:15 2014 Return-Path: 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 9D37F8E2 for ; Tue, 14 Oct 2014 21:27:15 +0000 (UTC) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 720F498A for ; Tue, 14 Oct 2014 21:27:15 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id kq14so8596406pab.40 for ; Tue, 14 Oct 2014 14:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:mime-version:content-type; bh=CuXw0poUl+JZ5BzI03CX91KFqJmDYSsgcczIPExS4R0=; b=iEuhpueqeFb/ZCFl/uALxcVtj6+oSTLzlXK1wULz/02GX09DNrj1n841M8Eb8B+txv 6yoU3Kfkd/NIBnrvVx2X+uupkD6ESBbOyusRSe+yb3T0cUg2/LHzHsjsr95v3QCwvICv g0X18xUOJzpqmQyxihWTXAgpQegqr0N1zUQI3xJMUVz9rvy5O5TSwSKWzkVu28jE2Cor 7RJ0xmKxLjTEMQzz9zPsZl6mkv2hzle81DixNzeoKRtlwvWlItS8eawifNHObQZj6TB8 MOwk149XrjNDuCUKPvtiRjkSgpCmnyPsH3lQN4yn5xXoglY8vbqsjH4evlEJPVD61dnk oa3Q== X-Received: by 10.68.57.232 with SMTP id l8mr7563821pbq.113.1413322035011; Tue, 14 Oct 2014 14:27:15 -0700 (PDT) Received: from Andreys-MacBook-Pro.local (cpe-75-84-223-30.socal.res.rr.com. [75.84.223.30]) by mx.google.com with ESMTPSA id nd6sm15083393pbc.28.2014.10.14.14.27.13 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 14 Oct 2014 14:27:13 -0700 (PDT) Date: Tue, 14 Oct 2014 14:27:11 -0700 From: Andrey Cherkashin To: freebsd-net@freebsd.org Message-ID: Subject: Re: [CFT] alc(4) QAC AR816x/AR817x ethernet controller support X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 21:27:15 -0000 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: 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 ; 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 ; 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 ) by smtp.wp.pl (WP-SMTPD) with AES128-SHA encrypted SMTP for ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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