Linux command
babeld 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start
babeld [eth0]
Example
babeld -c [/etc/babeld.conf] [eth0]
Example
babeld -d [1] [eth0]
Multiple interfaces
babeld [eth0] [eth1] [wlan0]
说明
babeld is a loop-avoiding distance-vector routing protocol daemon. Babel is designed for IPv6 and IPv4 networks, particularly wireless mesh networks, providing fast convergence and low overhead. The daemon implements the Babel routing protocol (RFC 8966) and is suitable for small to medium-sized networks.
参数
- -c _file_
- Configuration file (repeatable).
- -C _statement_
- Provide configuration via command line.
- -d _level_
- Debug level (0-3).
- -D
- Daemonize at startup.
- -L _file_
- Log file location.
- -I _file_
- PID file location.
- -S _file_
- State file for preserving long-term information between invocations.
- -h _seconds_
- Hello packet interval for wireless interfaces (default: 4s).
- -H _seconds_
- Hello packet interval for wired interfaces (default: 4s).
- -m _address_
- Link-local multicast address (default: ff02:0:0:0:0:0:1:6).
- -p _port_
- UDP port number (default: 6696).
- -k _priority_
- Kernel route installation priority (default: 0).
- -g _port|path_
- Enable read-only configuration server.
- -G _port|path_
- Enable read-write configuration server.
- -t _table_
- Kernel routing table for route insertion.
- -w
- Treat all interfaces as wireless by default.
- -s
- Disable split-horizon on wired interfaces.
- -r
- Use random router-id instead of deriving from MAC address.
- -l
- Use IFF_RUNNING to detect interface availability.
FAQ
What is the babeld command used for?
babeld is a loop-avoiding distance-vector routing protocol daemon. Babel is designed for IPv6 and IPv4 networks, particularly wireless mesh networks, providing fast convergence and low overhead. The daemon implements the Babel routing protocol (RFC 8966) and is suitable for small to medium-sized networks.
How do I run a basic babeld example?
Run `babeld [eth0]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _file_ do in babeld?
Configuration file (repeatable).