From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 494BA21F521 for ; Fri, 24 Oct 2014 09:40:20 -0700 (PDT) Received: by mail-ob0-f173.google.com with SMTP id wp4so611069obc.18 for ; Fri, 24 Oct 2014 09:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=qoKDOrAp2HP8hMJwvD64GL8T7MCOZZRRF7HrgICTdlU=; b=LoMGOZTdumCtfki8azdDXQPb3vEqbVHxPHKDd12uXleZl6qcpNutHkd94CW9TYm7V9 CMfknX4sTlpbUzXUbd+oKMXuv7p2Y8wnjjH9ApiqGHv0/Qjf1IffZjK8gLBVK2qrrDMh I3ivQZVQmxQsTGTDVyVzAIX+BaaQ6OVtiU1DBytgoy/O8Zw0smpmU7lzKyWs6vB7huOi pzHdVHsWEnMQhBksVR+1cIgrN/uIkEmJMe6qTCtY+uMyL/qggZS30h1OpmiwxkThy8Qz jzQ9u0uFA8qPX+Gdm/eDX48ed18dzsaDVmPrrY2NmCX+dJZBQh6nMEFhh6lG7Opi6LVn 3oZg== MIME-Version: 1.0 X-Received: by 10.182.142.10 with SMTP id rs10mr4659637obb.36.1414168819480; Fri, 24 Oct 2014 09:40:19 -0700 (PDT) Received: by 10.202.227.211 with HTTP; Fri, 24 Oct 2014 09:40:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Oct 2014 09:40:19 -0700 Message-ID: From: Dave Taht To: Dane Medic Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "cerowrt-devel@lists.bufferbloat.net" Subject: Re: [Cerowrt-devel] routing 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: Fri, 24 Oct 2014 16:40:49 -0000 What I typically do (after renumbering each device to be on a unique range, as you did), is: http://www.bufferbloat.net/projects/cerowrt/wiki/Setting_up_an_interior_gat= eway_router There is no need to setup static routes at all, babel takes care of it. You do have to tell your exterior router to export the default route, as per a link on the above. On Fri, Oct 24, 2014 at 6:29 AM, Dane Medic wrote: > Hi, > > question: > > if I use 3 cerowrt routers and connect them together from lan port to wan > port in chain, is it correct way to set a static IP on the last two route= rs > WAN ports and add routes from first one like so? > > route add -net 172.20.21.0 netmask 255.255.255.224 dev se00 gateway > 172.20.21.5 > route add -net 172.20.21.64 netmask 255.255.255.224 dev se00 gateway > 172.20.21.5 > route add -net 172.20.22.0 netmask 255.255.255.224 dev se00 gateway > 172.20.21.5 > route add -net 172.20.22.64 netmask 255.255.255.224 dev se00 gateway > 172.20.21.5 > > or is there better solution? Do I have to set different route disatnce? > > > Cheers, > > Dane > > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --=20 Dave T=C3=A4ht thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks