This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
настройка_сети_в_freebsd [2016/09/14 13:20] 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 73: | Line 74: | ||
### UP iface without ip example ### | ### UP iface without ip example ### | ||
# ifconfig_em0="up" | # ifconfig_em0="up" | ||
+ | |||
+ | ### Bridge example ### | ||
+ | # cloned_interfaces="bridge0" | ||
+ | # ifconfig_bridge0="addm em0 addm em1 up" | ||
+ | # ifconfig_em0="dhcp" | ||
+ | # ifconfig_em1="up" | ||
</code><code> | </code><code> | ||
# /etc/rc.d/hostname start | # /etc/rc.d/hostname start |