Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/bhyve.8
| Show First 20 Lines • Show All 526 Lines • ▼ Show 20 Lines | |||||
| .Cm netgraph,path= Ar ADDRESS Cm \&,peerhook= Ar HOOK | .Cm netgraph,path= Ar ADDRESS Cm \&,peerhook= Ar HOOK | ||||
| .Op Cm \&,socket= Ar NAME | .Op Cm \&,socket= Ar NAME | ||||
| .Op Cm \&,hook= Ar HOOK | .Op Cm \&,hook= Ar HOOK | ||||
| .Op Cm \&,mac= Ar xx:xx:xx:xx:xx:xx | .Op Cm \&,mac= Ar xx:xx:xx:xx:xx:xx | ||||
| .Op Cm \&,mtu= Ar N | .Op Cm \&,mtu= Ar N | ||||
| .Xc | .Xc | ||||
| .It | .It | ||||
| .Xo | .Xo | ||||
| .Cm slirp,hostfwd= Ar proto : Ar hostaddr : Ar hostport - Ar guestaddr : Ar guestport | .Cm slirp | ||||
| .Op Cm \&,open | |||||
| .Op Cm \&,hostfwd= Ar proto : Ar hostaddr : Ar hostport - Ar guestaddr : Ar guestport | |||||
| .Xc | .Xc | ||||
| .El | .El | ||||
| .Sm on | .Sm on | ||||
| .Pp | .Pp | ||||
| If | If | ||||
| .Cm mac | .Cm mac | ||||
| is not specified, the MAC address is derived from a fixed OUI, and the | is not specified, the MAC address is derived from a fixed OUI, and the | ||||
| remaining bytes from an MD5 hash of the slot and function numbers and | remaining bytes from an MD5 hash of the slot and function numbers and | ||||
| ▲ Show 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| The | The | ||||
| .Cm slirp | .Cm slirp | ||||
| backend can be used to provide a NATed network to the guest. | backend can be used to provide a NATed network to the guest. | ||||
| This backend has poor performance but does not require any network | This backend has poor performance but does not require any network | ||||
| configuration on the host system. | configuration on the host system. | ||||
| It depends on the | It depends on the | ||||
| .Pa net/libslirp | .Pa net/libslirp | ||||
| port. | port. | ||||
| If the | |||||
| .Cm open | |||||
| keyword is set, the guest will be able to make outbound network | |||||
| connections, and | |||||
| .Nm | |||||
| will transparently handle the necessary address translation. | |||||
| The | The | ||||
| .Cm hostfwd | .Cm hostfwd | ||||
| option takes a 5-tuple describing how connections from the host are to be | option takes a 5-tuple describing how connections from the host are to be | ||||
| forwarded to the guest. | forwarded to the guest. | ||||
| Multiple rules can be specified, separated by semicolons. | Multiple rules can be specified, separated by semicolons. | ||||
| Note that semicolons must be escaped or quoted to prevent the shell from | Note that semicolons must be escaped or quoted to prevent the shell from | ||||
| interpreting them. | interpreting them. | ||||
| The backend will provide DHCP and DNS service to the guest. | |||||
| .Ss Block storage device backends: | .Ss Block storage device backends: | ||||
| .Bl -bullet | .Bl -bullet | ||||
| .Sm off | .Sm off | ||||
| .It | .It | ||||
| .Ar /filename Op Cm \&, Ar block-device-options | .Ar /filename Op Cm \&, Ar block-device-options | ||||
| .It | .It | ||||
| .Ar /dev/xxx Op Cm \&, Ar block-device-options | .Ar /dev/xxx Op Cm \&, Ar block-device-options | ||||
| .Sm on | .Sm on | ||||
| ▲ Show 20 Lines • Show All 708 Lines • Show Last 20 Lines | |||||