254 |
@option{-net} option is specified, a single NIC is created. |
@option{-net} option is specified, a single NIC is created. |
255 |
|
|
256 |
@item -net user[,vlan=n] |
@item -net user[,vlan=n] |
257 |
Use the user mode network stack which requires not administrator |
Use the user mode network stack which requires no administrator |
258 |
priviledge to run. This is the default if no @option{-net} option is |
priviledge to run. This is the default if no @option{-net} option is |
259 |
specified. |
specified. |
260 |
|
|
288 |
Example: |
Example: |
289 |
@example |
@example |
290 |
# launch a first QEMU instance |
# launch a first QEMU instance |
291 |
qemu linux.img -net nic -net socket,listen=:1234 |
qemu linux.img -net nic,macaddr=52:54:00:12:34:56 -net socket,listen=:1234 |
292 |
# connect the VLAN 0 of this instance to the VLAN 0 of the first instance |
# connect the VLAN 0 of this instance to the VLAN 0 of the first instance |
293 |
qemu linux.img -net nic -net socket,connect=127.0.0.1:1234 |
qemu linux.img -net nic,macaddr=52:54:00:12:34:57 -net socket,connect=127.0.0.1:1234 |
294 |
@end example |
@end example |
295 |
|
|
296 |
@item -net none |
@item -net none |