Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
bb435e2c
Commit
bb435e2c
authored
Mar 09, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.
parent
d05980cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
README
README
+12
-11
No files found.
README
View file @
bb435e2c
...
@@ -46,16 +46,14 @@ random IPv6 addresses according to RFC 4193, in the ahcpd package.
...
@@ -46,16 +46,14 @@ random IPv6 addresses according to RFC 4193, in the ahcpd package.
3. Start the routing daemon
3. Start the routing daemon
===========================
===========================
On every node, run Babel, making sure you redistribute the local
Run Babel on every node, specifying the set of interfaces it should consider:
addresses:
# babel
-C 'redistribute local'
eth1
# babel eth1
If your node has multiple interfaces which you want to participate in
If your node has multiple interfaces which you want to participate in
the Babel network, just list them all:
the Babel network, just list them all:
# babel -C 'redistribute local' eth0 eth1 sit1
# babel eth0 eth1 sit1
4. Setting up an Internet gateway
4. Setting up an Internet gateway
...
@@ -65,22 +63,25 @@ If you have one or more Internet gateways on your mesh network, you
...
@@ -65,22 +63,25 @@ If you have one or more Internet gateways on your mesh network, you
will want to set them up so that they redistribute the default route.
will want to set them up so that they redistribute the default route.
You will want to say something like
You will want to say something like
# babel -C 'redistribute
local' -C 'redistribute
metric 128' eth1
# babel -C 'redistribute metric 128' eth1
You may also be more selective in the routes you redistribute, for
You may also be more selective in the routes you redistribute, for
instance by specifying the interface over which the route goes out:
instance by specifying the interface over which the route goes out:
# babel -C 'redistribute local' -C 'redistribute if eth0 metric 128' \
# babel -C 'redistribute if eth0 metric 128' eth1
eth1
or by constraining the prefix length:
or by constraining the prefix length:
# babel -C 'redistribute local' \
# babel -C 'redistribute ip ::/0 le 64 metric 128' \
-C 'redistribute ip ::/0 eq 128 metric 128' \
-C 'redistribute ip 0.0.0.0/0 le 28 metric 128' \
-C 'redistribute ip 0.0.0.0/0 eq 32 metric 128' \
eth1
eth1
You may also want to constrain which local routes (routes to local
interface addresses) you advertise:
# babel -C 'redistribute local if eth1' -C 'redistribute local deny' \
-C 'redistribute metric 128' \
eth1
If you find all of this too complicated and error-prone (as I do), you
If you find all of this too complicated and error-prone (as I do), you
may want to consider autoconfiguring your routing domain using AHCP:
may want to consider autoconfiguring your routing domain using AHCP:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment