From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from z.eggo.org (z.eggo.org [80.235.105.138]) by huchra.bufferbloat.net (Postfix) with ESMTP id 6669821F2EE for ; Tue, 23 Sep 2014 16:04:07 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by z.eggo.org (Postfix) with ESMTP id DC01C3C19C4; Wed, 24 Sep 2014 02:03:59 +0300 (EEST) Received: from z.eggo.org ([127.0.0.1]) by localhost (z.eggo.org [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id H2H45TjPdw04; Wed, 24 Sep 2014 02:03:49 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by z.eggo.org (Postfix) with ESMTP id 0A2103C36E5; Wed, 24 Sep 2014 02:03:49 +0300 (EEST) X-Virus-Scanned: amavisd-new at harvee.org Received: from z.eggo.org ([127.0.0.1]) by localhost (z.eggo.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oYi9buyyEqwS; Wed, 24 Sep 2014 02:03:48 +0300 (EEST) Received: from [172.30.42.25] (unknown [73.38.247.110]) by z.eggo.org (Postfix) with ESMTPSA id 2B6753C3329; Wed, 24 Sep 2014 02:03:46 +0300 (EEST) Message-ID: <5421FC50.3020305@eggo.org> Date: Tue, 23 Sep 2014 19:03:44 -0400 From: "Eric S. Johansson" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Rich Brown References: <5420B5F8.8040708@eggo.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: cerowrt-devel Subject: Re: [Cerowrt-devel] Isn't right with the configuration script X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 23:04:48 -0000 On 9/23/2014 6:56 AM, Rich Brown wrote: > Hi Eric, > >> I changed the internal subnet and it looks like everything changes correctly but what happens is the interface comes up and I can ping it. I see IPv6 traffic coming from it (I believe) but there's no IPv4 response .I should see if I can set up my Linux machine as IPv6 and see if I can access any of the services there. IPv6 is new terrain for me so helpful pointers would be quite welcome. >> >> I would also appreciate any pointers to documentation explaining why all the little subnets and why so many network interfaces. > This is mostly to isolate various kinds of traffic so the slowest (2.4GHz abg) doesn't interfere with 5GHz wireless or 100mbps Ethernet. There's more info at: make more sense. on my "stock" cerowrt box my My routing table looks like below. I don't get the line for 172.3.42.0/24 with the flag of '1' and an asterisk for the interface. root@mars:~# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 73.38.246.1 0.0.0.0 UG 0 0 0 ge00 73.38.246.0 0.0.0.0 255.255.254.0 U 0 0 0 ge00 172.30.42.0 0.0.0.0 255.255.255.224 U 0 0 0 se00 172.30.42.0 0.0.0.0 255.255.255.0 ! 0 0 0 * 172.30.42.64 0.0.0.0 255.255.255.224 U 0 0 0 sw00 172.30.42.96 0.0.0.0 255.255.255.224 U 0 0 0 sw10 root@mars:~# When I turn on the VPN, I get: root@mars:~# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 73.38.246.1 0.0.0.0 UG 0 0 0 ge00 10.42.66.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.1.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.2.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.3.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.4.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.5.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.6.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.7.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.8.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.9.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.10.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.11.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.12.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.13.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.14.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.43.15.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.199.188.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 10.199.188.193 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 73.38.246.0 0.0.0.0 255.255.254.0 U 0 0 0 ge00 172.30.42.0 0.0.0.0 255.255.255.224 U 0 0 0 se00 172.30.42.0 0.0.0.0 255.255.255.0 ! 0 0 0 * 172.30.42.64 0.0.0.0 255.255.255.224 U 0 0 0 sw00 172.30.42.96 0.0.0.0 255.255.255.224 U 0 0 0 sw10 192.168.9.0 10.199.188.193 255.255.255.0 UG 0 0 0 tun0 Yes, my work network has lots and lots of test subnets. Since I can hit any of my work networks from the 3800 but not from my lan, I suspect I'm missing some firewall rules. one important question: Is there a way to define a named constant or indirect reference to value in UCI instead of the literal. dhcp: option ip '172.30.42.1' network: option 'ipaddr' '172.30.42.1' becomes dhcp: option ip @internal_gateway network: option 'ipaddr' @internal_gateway and internal_gateway is defined on one place