Changes between Version 8 and Version 9 of UsersGuide/RunningInQEMU


Ignore:
Timestamp:
2012-04-20T11:42:31Z (12 years ago)
Author:
Martin Sucha
Comment:

Some QEMU networking options

Legend:

Unmodified
Added
Removed
Modified
  • UsersGuide/RunningInQEMU

    v8 v9  
    5454== Networking ==
    5555
    56 See source:mainline/contrib/conf/net-qe.sh
     56For general information about networking in HelenOS, please see UsersGuide/Networking
     57
     58To use networking, a network interface card must be presented to the guest system.
     59
     60To add a virtual network card, add one of the following command-line options:
     61||= Device        =||= Option =||
     62|| Intel PRO/1000  || `-device e1000,vlan=0` ||
     63|| Realtek RTL8139 || `-device rtl8139,vlan=0` ||
     64|| NE 2000         || `-device ne2k_isa,irq=5,vlan=0` ||
     65
     66QEMU guest may be presented with QEMU's user mode network stack (SLIRP) or directly bridged host's network interface.
     67For more information about QEMU networking options, see [http://wiki.qemu.org/Documentation/Networking QEMU Networking Documentation]
     68
     69=== Using user mode network stack ===
     70
     71To activate user mode network stack, add `-net user` option to qemu command line. QEMU will then create a virtual network `10.0.2.0/24`. You may use `10.0.2.15` as the IP for the guest computer. To redirect traffic to guest network use `-redir` option:
     72
     73{{{
     74-redir udp:8080::8080 -redir tcp:8181::8181
     75}}}
     76
     77A script to run QEMU this way is present in source:mainline/contrib/conf/net-qe.sh
     78
     79=== Bridging virtual network device with host's network interface ===
     80
     81TODO write this section
    5782
    5883== USB ==