11.1. | Where can I get information on “diskless booting”? |
“Diskless booting” means that the FreeBSD box is booted over a network, and reads the necessary files from a server instead of its hard disk. For full details, please read the Handbook entry on diskless booting. | |
11.2. | Can a FreeBSD box be used as a dedicated network router? |
Yes. Please see the Handbook entry on advanced networking, specifically the section on routing and gateways. | |
11.3. | Can I connect my Windows® box to the Internet via FreeBSD? |
Typically, people who ask this question have two PCs at home, one with FreeBSD and one with some version of Windows® the idea is to use the FreeBSD box to connect to the Internet and then be able to access the Internet from the Windows® box through the FreeBSD box. This is really just a special case of the previous question and works perfectly well. Dialup users must use If you are using kernel-mode PPP or have an Ethernet connection to the Internet, you need to use natd(8). Please look at the natd section of the Handbook for a tutorial. | |
11.4. | Does FreeBSD support PPP? |
Yes. ppp(8) provides support for both incoming and outgoing connections. For more information on how to use this, please see the Handbook chapter on PPP. | |
11.5. | Does FreeBSD support NAT or Masquerading? |
Yes. If you want to use NAT over a user PPP connection, please see the Handbook entry on user PPP. If you want to use NAT over some other sort of network connection, please look at the natd section of the Handbook. | |
11.6. | How can I set up Ethernet aliases? |
If the alias is on the same subnet as an address already
configured on the interface, then add # ifconfig Otherwise, just specify the network address and netmask as usual: # ifconfig You can read more about this in the FreeBSD Handbook. | |
11.7. | Why can I not NFS-mount from a Linux® box? |
Some versions of the Linux® NFS code only accept mount requests from a privileged port; try to issue the following command: # mount -o -P | |
11.8. | Why does |
The most frequent problem is not understanding the
correct format of | |
11.9. | How do I enable IP multicast support? |
FreeBSD supports multicast host operations by default. If
you want your box to run as a multicast router, you need to
recompile your kernel with the Note:In recent FreeBSD releases, the mrouted(8) multicast
routing daemon, the map-mbone(8) and mrinfo(8)
utilities have been removed from the base system. These
programs are now available in the FreeBSD Ports Collection as
| |
11.10. | Why do I have to use the FQDN for hosts on my site? |
See the answer in the FreeBSD Handbook. | |
11.11. | Why do I get an error, Permission denied, for all networking operations? |
If you have compiled your kernel with the
If you had unintentionally misconfigured your system for
firewalling, you can restore network operability by typing
the following while logged in as
# ipfw add 65534 allow all from any to any You can also set For further information on configuring a FreeBSD firewall, see the Handbook chapter. | |
11.12. | Why is my |
Possibly because you want to do network address translation (NAT) and not just forward packets. A “fwd” rule does exactly what it says; it forwards packets. It does not actually change the data inside the packet. Say we have a rule like: 01000 fwd 10.0.0.1 from any to foo 21 When a packet with a destination address of
See the FAQ about redirecting services, the natd(8) manual, or one of the several port redirecting utilities in the Ports Collection for a correct way to do this. | |
11.13. | How can I redirect service requests from one machine to another? |
You can redirect FTP (and other service) request with
the ftp stream tcp nowait nobody /usr/local/bin/socket socket ftp.example.com ftp where | |
11.14. | Where can I get a bandwidth management tool? |
There are three bandwidth management tools available for FreeBSD. dummynet(4) is integrated into FreeBSD as part of ipfw(4). ALTQ has been integrated into FreeBSD as part of pf(4). Bandwidth Manager from Emerging Technologies is a commercial product. | |
11.15. | Why do I get /dev/bpf0: device not configured? |
You are running a program that requires the Berkeley Packet Filter (bpf(4)), but it is not in your kernel. Add this to your kernel config file and build a new kernel: device bpf # Berkeley Packet Filter | |
11.16. | How do I mount a disk from a Windows® machine that is on my network, like smbmount in Linux®? |
Use the SMBFS toolset. It includes a set of kernel modifications and a set of userland programs. The programs and information are available as mount_smbfs(8) in the base system. | |
11.17. | What are these messages about: Limiting icmp/open port/closed port response in my log files? |
This is the kernel telling you that some activity is provoking it to send more ICMP or TCP reset (RST) responses than it thinks it should. ICMP responses are often generated as a result of attempted connections to unused UDP ports. TCP resets are generated as a result of attempted connections to unopened TCP ports. Among others, these are the kinds of activities which may cause these messages:
The first number in the message tells you how many
packets the kernel would have sent if the limit was not in
place, and the second number tells you the limit. You can
control the limit using the
# sysctl net.inet.icmp.icmplim=300 If you do not want to see messages about this in your
log files, but you still want the kernel to do response
limiting, you can use the
# sysctl net.inet.icmp.icmplim_output=0 Finally, if you want to disable response limiting, you
can set the | |
11.18. | What are these arp: unknown hardware address format error messages? |
This means that some device on your local Ethernet is using a MAC address in a format that FreeBSD does not recognize. This is probably caused by someone experimenting with an Ethernet card somewhere else on the network. You will see this most commonly on cable modem networks. It is harmless, and should not affect the performance of your FreeBSD machine. | |
11.19. | Why do I keep seeing messages like: 192.168.0.10 is on fxp1 but got reply from 00:15:17:67:cf:82 on rl0, and how do I disable it? |
Because a packet is coming from outside the network
unexpectedly. To disable them, set
|
This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/
For questions about FreeBSD, read the
documentation before
contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.