User Tools

Site Tools


unix:freebsd:system_builds:networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
unix:freebsd:system_builds:networking [2019/09/15 06:10] rodolicounix:freebsd:system_builds:networking [2023/06/03 22:35] (current) rodolico
Line 70: Line 70:
 vlans_lagg1="50" vlans_lagg1="50"
 ifconfig_lagg1_50="inet 10.0.0.15/24" ifconfig_lagg1_50="inet 10.0.0.15/24"
 +</code>
 +
 +===== 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/24, then adds 192.168.1.1 as the default route.
 +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/24
 +# set default route to 192.168.1.1
 +route add default 192.168.1.1
 +# see routing table
 +netstat -r
 </code> </code>
 ===== Resources ===== ===== Resources =====
unix/freebsd/system_builds/networking.txt · Last modified: 2023/06/03 22:35 by rodolico