This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
настройка_сети_в_freebsd [2017/01/25 12:05] val [Статическая настройка параметров] |
настройка_сети_в_freebsd [2022/12/29 08:31] (current) val |
||
|---|---|---|---|
| Line 60: | Line 60: | ||
| ### Rename interface example ### | ### Rename interface example ### | ||
| # ifconfig_em0_name=wan0 | # ifconfig_em0_name=wan0 | ||
| + | # ifconfig_wan0="inet 172.16.1.X/24" | ||
| ### Alias example ### | ### Alias example ### | ||
| Line 77: | Line 78: | ||
| # cloned_interfaces="bridge0" | # cloned_interfaces="bridge0" | ||
| # ifconfig_bridge0="addm em0 addm em1 up" | # ifconfig_bridge0="addm em0 addm em1 up" | ||
| - | # ifconfig_em0="up" | + | # ifconfig_em0="dhcp" |
| - | # ifconfig_em1="dhcp" | + | # ifconfig_em1="up" |
| </code><code> | </code><code> | ||
| # /etc/rc.d/hostname start | # /etc/rc.d/hostname start | ||