unix:freebsd:system_builds:networking
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
unix:freebsd:system_builds:networking [2017/12/17 23:39] – external edit 127.0.0.1 | unix:freebsd:system_builds:networking [2023/06/03 22:35] (current) – rodolico | ||
---|---|---|---|
Line 34: | Line 34: | ||
ifconfig_bce0_10=" | ifconfig_bce0_10=" | ||
ifconfig_bce0_20=" | ifconfig_bce0_20=" | ||
- | ifconfig_bce0_30=" | + | ifconfig_bce0_30=" |
ifconfig_bce0_40=" | ifconfig_bce0_40=" | ||
ifconfig_bce0_50=" | ifconfig_bce0_50=" | ||
</ | </ | ||
+ | NOTE: notice the use of // | ||
===== vlan plus bonding ===== | ===== vlan plus bonding ===== | ||
Line 69: | 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