os:freebsd:network
FreeBSD - Network
Routing
- Example
root@opnsense:~ # netstat -4rn Routing tables Internet: Destination Gateway Flags Netif Expire default 203.0.113.1 UGS igc1 192.0.0.0/24 link#9 US wg0 203.0.113.0/24 link#2 U igc1 203.0.113.5 link#5 UHS lo0 127.0.0.1 link#5 UH lo0 198.51.100.0/24 link#1 U igc0 198.51.100.1 link#5 UHS lo0
Routing Flags (man 1 netstat
).
Flag | Name | Description |
---|---|---|
1 | RTF_PROTO1 | Protocol specific routing flag #1 |
2 | RTF_PROTO2 | Protocol specific routing flag #2 |
3 | RTF_PROTO3 | Protocol specific routing flag #3 |
B | RTF_BLACKHOLE | Just discard pkts (during updates) |
b | RTF_BROADCAST | The route represents a broadcast address |
D | RTF_DYNAMIC | Created dynamically (by redirect) |
G | RTF_GATEWAY | Destination requires forwarding by intermediary |
H | RTF_HOST | Host entry (net otherwise) |
L | RTF_LLINFO | Valid protocol to link address translation |
M | RTF_MODIFIED | Modified dynamically (by redirect) |
R | RTF_REJECT | Host or net unreachable |
S | RTF_STATIC | Manually added |
U | RTF_UP | Route usable |
X | RTF_XRESOLVE | External daemon translates proto to link address |
os/freebsd/network.txt · Last modified: 2024-08-27 14:17 by Manuel Frei