Re: [babel] Example configuration

Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 26 July 2019 23:39 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 732B71201CF for <babel@ietfa.amsl.com>; Fri, 26 Jul 2019 16:39:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.406
X-Spam-Level:
X-Spam-Status: No, score=-0.406 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HwGqFblNMSDM for <babel@ietfa.amsl.com>; Fri, 26 Jul 2019 16:39:55 -0700 (PDT)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DF37120181 for <babel@ietf.org>; Fri, 26 Jul 2019 16:39:55 -0700 (PDT)
Received: by mail-pl1-x62c.google.com with SMTP id k8so25307374plt.3 for <babel@ietf.org>; Fri, 26 Jul 2019 16:39:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=mRumDVT/DQxbGlpu0xZkIpvlAuaJKzp21MFSPtEzv6o=; b=GOItSLAm0RzMh8VncoPrhS973xhBRa2whMGkS1gdHj8F32XvMkvK9WLuTqjDlbehbe yPYXBuWTO680XI9YU2ZkM/GAvQNUH7ggVCgPuNEhzN5zetR6oQiHCBk4t3yeiPyiSfXv WTvwWwWO2BHSLv1Dv6tLTGZsuUH2ZaVXtTE836CuMwcCDVhYP02ypPn11UqC+Z2hdMaE Wg+9HfuuiXMKHHAaKqXgFW8Le+mFFrIaLyG2kPHWlPIkJr7pq6HRA2tfX94twe4/8rjy ScMSJ0FcFKqohNWCoM1Wr40u+cu/jh3tUVWWsEsrT8LzhEJju5+6hOlHutmekuk5oVry FYdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=mRumDVT/DQxbGlpu0xZkIpvlAuaJKzp21MFSPtEzv6o=; b=YgoaS53Sfv65iFPtkn2C/ckf+U00BtKc0ro5Sz2q+E2Piz7nEpQVyLX0Q3HiQT8Ut6 xsf0sUynsBJ6miJZUPeFC/LpxQrkbjQuDEO5dU+G18kQnYkrsTDpjeXQy/SV87wK8iTF N2uelIJHr49NoLYMKP4cZANUeU7GF8FDJ1TQlmS1BcYBXAjmHH47QEgsSNQKzOd3uX7z kCuHKyuLMN5O7maH5ZC+rY9WCXEq5cUH6Z4a1rp+vMOjXQjvr05CCErfYaKLDhSiWkW/ dCnTALVpYCHFBDoVru3uQahE/BS1ygZkrHeAUmvn3Eitbydc/8G8l8xCX5lYqXDDWC1F nRkw==
X-Gm-Message-State: APjAAAVBsouh2Zd35Hiea2gYp08sk5uDeFD7PUcJX0nOkEL7Y9uXg2uL 8UR4yvBISZ5lYPpdF0wDZTsEsu5hrU8=
X-Google-Smtp-Source: APXvYqzghDY4QPtXTdMu1GFgnE+CHT0v3szzpRhjLb0kk587q8RoFN6EbuLp+FHoZbxuiE1DKrA9Hw==
X-Received: by 2002:a17:902:59c3:: with SMTP id d3mr95917556plj.22.1564184394413; Fri, 26 Jul 2019 16:39:54 -0700 (PDT)
Received: from [192.168.1.149] (c-73-93-49-153.hsd1.ca.comcast.net. [73.93.49.153]) by smtp.gmail.com with ESMTPSA id q1sm63429973pfg.84.2019.07.26.16.39.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 16:39:52 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Fri, 26 Jul 2019 14:08:52 -0400
Message-Id: <22B67FC8-3FCE-48CE-B27D-FD4BC0E87C2A@gmail.com>
References: <E726ED50-6D90-4537-B237-6E52D375F50B@gmail.com> <8736itu6j8.wl-jch@irif.fr>
Cc: Babel at IETF <babel@ietf.org>
In-Reply-To: <8736itu6j8.wl-jch@irif.fr>
To: Juliusz Chroboczek <jch@irif.fr>
X-Mailer: iPad Mail (16A404)
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/8N8y0v_LNRutPGE1vvS_0GaoY88>
Subject: Re: [babel] Example configuration
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jul 2019 23:39:57 -0000

Hi Juliusz,

Yes, this is very helpful. Let me get back to you if I have any questions about any of these examples.

Thanks.

Mahesh Jethanandani
mjethanandani@gmail.com

On Jul 25, 2019, at 5:51 PM, Juliusz Chroboczek <jch@irif.fr> wrote:

>> In my presentation on the YANG model for Babel, I asked for help in
>> trying to improve the example configuration of Babel. The example was
>> shown in XML, but that does not mean I am expecting anyone to help me
>> improve the example in XML.
> 
> I'll use the syntax of the babeld configuration file.
> 
> Here's a pretty minimal config:
> 
>  interface eth0
>  interface wlan0
> 
> This says to run Babel on interfaces eth0 and wlan0.  Babeld will
> automatically detect that eth0 is wired and wlan0 is wireless, and will
> configure the right parameters automatically.
> 
> Here's a slightly less minimal configuration:
> 
>  interface eth0
>  interface eth1 type wireless
>  interface tun0 type tunnel
> 
> Here, interface eth1 is an Ethernet bridged to a wireless radio, so
> babeld's autodetection fails, and the interface type needs to be
> configured manually.  Tunnels are not detected automatically, so this
> needs to be specified.
> 
> This is equivalent to the following:
> 
>  interface eth0
>  interface eth1 link-quality true split-horizon false
>  interface tun0 enable-timestamps true max-rtt-penalty 96
> 
> Here's another configuration:
> 
>  interface eth0
>  interface ppp0 hello-interval 30 update-interval 120
>  in if ppp0 metric 1024
>  out if ppp0 metric 1024
> 
> Here, ppp0 is a metered 3G link used for fallback connectivity.  It runs
> with much higher than default time constants in order to avoid control
> traffic as much as possible, and the metric of routes through that link
> are increased so that they are not used unless all other options fail.
> 
> Here's a configuration for David:
> 
>  interface eth0
>  interface wlan0 unicast true
> 
> This requests that all control traffic other than Hellos on the wlan0
> interface be sent as unicast.  This can be useful when wlan0 uses
> a technology on which multicast is prohibitively expensive.
> 
> Another one:
> 
>  interface atm0 split-horizon false unicast true
> 
> Here, atm0 is an NBMA interface.  Transitive connectivity is not
> guaranteed, so we disable the split-horizon optimisation.  Unicast is to
> be preferred to multicast whenever possible.
> 
> Here is a configuration that is not yet implemented, but planned for
> a future version:
> 
>  interface wg0 unicast-only true
>  neighbour fe80::1234 if wg0
> 
> Here, wg0 is a Wireguard tunnel, and doesn't support multicast at all.
> All traffic over that interface is sent as unicast, so automatic discovery
> is not possible.  Thus, we need to specify the link-local addresses of
> neighbours manually.
> 
> Hope this helps,
> 
> -- Juliusz
> 
>