unix:freebsd:system_builds:networking
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
unix:freebsd:system_builds:networking [2019/09/15 06:10] – rodolico | unix:freebsd:system_builds:networking [2023/06/03 22:35] (current) – rodolico | ||
---|---|---|---|
Line 70: | Line 70: | ||
vlans_lagg1=" | vlans_lagg1=" | ||
ifconfig_lagg1_50=" | ifconfig_lagg1_50=" | ||
+ | </ | ||
+ | |||
+ | ===== Manual Setup ===== | ||
+ | In a few cases, I've had to manually bring up an interface, so here are the notes on that. This sets up an LACP LAGG (named lagg0) using two ports (igb0 and igb1) on 192.168.1.5/ | ||
+ | NOTE: you are responsible for ensuring the IP is not duplicated, and the default route is correct. | ||
+ | |||
+ | <code bash> | ||
+ | # bring up the two network ports | ||
+ | ifconfig igb0 up | ||
+ | ifconfig igb1 up | ||
+ | # create the link aggregation as lagg0 | ||
+ | ifconfig lagg0 create | ||
+ | # configure lagg0 | ||
+ | ifconfig lagg0 up laggproto lacp laggport igb0 laggport igb1 192.168.1.5/ | ||
+ | # set default route to 192.168.1.1 | ||
+ | route add default 192.168.1.1 | ||
+ | # see routing table | ||
+ | netstat -r | ||
</ | </ | ||
===== Resources ===== | ===== Resources ===== |
unix/freebsd/system_builds/networking.txt · Last modified: 2023/06/03 22:35 by rodolico