From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (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 2C90C21F525 for ; Fri, 24 Oct 2014 06:29:31 -0700 (PDT) Received: by mail-la0-f41.google.com with SMTP id pn19so2889871lab.0 for ; Fri, 24 Oct 2014 06:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=m2eqO5idD0JxHFk4jUu7tgThj4QANw8Nvrzn+Tq7hC8=; b=Ckv1ldlPeJBmET4Zs6cXVaapSo54Av4ssXoHAfX8oTxY/J7tuNWPTuT3pkN590Jpim /QJeakjfFrxLDzRa2gHEopEsKTT69ItlVrx81oYArAf0oWK0qCaUUNvUST0LWxbmjvQs s/sVeRjTp1vjZsRE3vSiLm2gSzpitdR84nHtJ5P8X4Df7yQFLe5vGhKDC3Kk/64Iqcrn aBxItCSEsFdPFSDZV12olgYzYPR94ZvG7Sd3FmEzkxjs4/faJ4ZHU0utnofDnyTY7t/F vImpqnG9TMEhqXGO+3Aj9L2/yuco4JYqx3kFyTQWCzo6GAPyMjPWXyQeDhrgrx3YarKh dQfA== X-Received: by 10.152.43.97 with SMTP id v1mr4550187lal.3.1414157368480; Fri, 24 Oct 2014 06:29:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.16.82 with HTTP; Fri, 24 Oct 2014 06:29:08 -0700 (PDT) From: Dane Medic Date: Fri, 24 Oct 2014 15:29:08 +0200 Message-ID: To: "cerowrt-devel@lists.bufferbloat.net" Content-Type: multipart/alternative; boundary=001a11c356269adb7205062b2b5e Subject: [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 13:30:00 -0000 --001a11c356269adb7205062b2b5e Content-Type: text/plain; charset=UTF-8 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 routers 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 --001a11c356269adb7205062b2b5e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

question:
if I use 3 cerowrt routers and connect them together from lan p= ort to wan port in chain, is it correct way to set a static IP on the last = two routers WAN ports and add routes from first one like so?

route a= dd -net 172.20.21.0 netmask 255.255.255.224 dev se00 gateway 172.20.21.5route add -net 172.20.21.64 netmask 255.255.255.224 dev se00 gateway 172.2= 0.21.5
route add -net 172.20.22.0 netmask 255.255.255.224 dev se00 gatew= ay 172.20.21.5
route add -net 172.20.22.64 netmask 255.255.255.224 dev s= e00 gateway 172.20.21.5

or is there better solution? Do = I have to set different route disatnce?


Cheers,

Dane
--001a11c356269adb7205062b2b5e--