English Chinese (Simplified) (zh_CN)
To retain this configuration across reboots, add the following entries to [.filename]#/etc/rc.conf# on the FreeBSD system: 要在重新启动期间保留此配置,请向 FreeBSD 系统上的<filename>/etc/rc.conf</filename>添加以下条目:
To retain this configuration across reboots, add the following entries to [.filename]#/etc/rc.conf#: 若需将配置持久化,请将以下行写入 <filename>/etc/rc.conf</filename>:
In theory, either the Ethernet or wireless MAC address can be changed to match the other. However, some popular wireless interfaces lack support for overriding the MAC address. We therefore recommend overriding the Ethernet MAC address for this purpose. 理论上来说,无论是以太网还是无线MAC地址,都可以通过改变MAC地址来匹配对方。但是,一些流行的无线接口缺乏对覆盖MAC地址的支持。因此,我们建议为此目的重写以太网MAC地址。
As described, the system providing these services is insecure. It should live in a protected area of a network and be untrusted by other hosts. 如上所述,提供这些服务的系统不安全。它应位于网络的受保护区域中,并且不受其他主机的不信任。
nfs_server_enable="YES"
nfs_server_enable="YES"
/b -ro -alldirs -maproot=root
/b -ro -alldirs -maproot=root
inetd_enable="YES"
inetd_enable="YES"
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /b/tftpboot
tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /b/tftpboot
When the system boots, memory file systems for [.filename]#/etc# and [.filename]#/var# will be created and mounted and the contents of the [.filename]#cpio.gz# files will be copied into them. By default, these file systems have a maximum capacity of 5 megabytes. If your archives do not fit, which is usually the case for [.filename]#/var# when binary packages have been installed, request a larger size by putting the number of 512 byte sectors needed (e.g., 5 megabytes is 10240 sectors) in [.filename]#${NFSROOTDIR}/conf/base/etc/md_size# and [.filename]#${NFSROOTDIR}/conf/base/var/md_size# files for [.filename]#/etc# and [.filename]#/var# file systems respectively. 当系统启动时,将创建和装载<filename>/etc</filename>和<filename>/var</filename>的内存文件系统,并将 <filename>cpio.gz</filename>文件的内容复制到其中。通常情况下,当安装了二进制包后,<filename>/var</filename> 的情况是这样的,请在 <filename>${NFSROOTDIR}/conf/base/etc/md_size</filename> 和<filename>${NFSROOTDIR}/conf/base/var/md_size</filename> 文件中分别写上<filename>/etc</filename> 和 <filename>/var</filename>所需的 512 字节扇区数 (例如,5 兆字节就是 10240 个扇区),然后请求更大的容量。
Once installed, edit the configuration file, [.filename]#/usr/local/etc/dhcpd.conf#. Configure the `next-server`, `filename`, and `root-path` settings as seen in this example: 接下来,创建配置文件,<filename>/etc/rtadvd.conf</filename>,如本示例所示:
dhcpd_enable="YES"
dhcpd_enable="YES"
Once all of the services are configured and started, PXE clients should be able to automatically load FreeBSD over the network. If a particular client is unable to connect, when that client machine boots up, enter the BIOS configuration menu and confirm that it is set to boot from the network. 所有服务都配置好并启动后, <acronym>PXE</acronym> 客户端能够通过网络自动加载 FreeBSD。如果某个特定的客户端无法连接, 当该客户端机器启动时, 请进入 <acronym>BIOS</acronym> 配置菜单, 并确认已设置为从网络启动。
Routers only store network aggregation addresses in their routing tables, thus reducing the average space of a routing table to 8192 entries. This addresses the scalability issues associated with IPv4, which required every allocated block of IPv4 addresses to be exchanged between Internet routers, causing their routing tables to become too large to allow efficient routing. 路由器仅将保存网络聚合地址(network aggregation addresses)保存在它的路由表中,这将路由表的平均条目数缩短到了 8192。这解决了<acronym>IPv4</acronym>的可伸缩性问题,IPv4 要求 Internet 路由器之间交换每个已分配的<acronym>IPv4</acronym>地址块,从而导致其路由表变得太大,降低了路由效率。
These addresses are syntactically indistinguishable from unicast addresses but they address a group of interfaces. The packet destined for an anycast address will arrive at the nearest router interface. Anycast addresses are only used by routers. Anycast 地址语义上与 unicast 地址没有差别, 只是它们强调一组接口。指定为 anycast 地址的包会到达最近的 (以路由为单位) 接口。Anycast 地址可能只被路由器使用。
rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::200:21ff:fe03:8e1%rl0 prefixlen 64 scopeid 0x1
ether 00:00:21:03:08:e1
media: Ethernet autoselect (100baseTX )
status: active
rl0: flags=8943&lt;UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::200:21ff:fe03:8e1%rl0 prefixlen 64 scopeid 0x1
ether 00:00:21:03:08:e1
media: Ethernet autoselect (100baseTX )
status: active
Install the package:net/freenet6[] package or port for a dial-up connection. 从 package 或 port 安装 <package>net/freenet6</package>,用于拨号连接。
This section demonstrates how to take the directions from a tunnel provider and convert them into [.filename]#/etc/rc.conf# settings that will persist through reboots. 本节演示如何从隧道提供程序获取方向并将其转换为<filename>/etc/rc.conf</filename>设置,这些设置将一直持续到下一次重新启动。
ipv6_gateway_enable="YES"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"
rtadvd_enable="YES"
rtadvd_interfaces="rl0"
rtadvd_interfaces="rl0"