Emaculation.com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ppc-osx-on-qemu-for-osx [2019/09/16 23:23] – [Networking] cat_7ppc-osx-on-qemu-for-osx [2020/05/23 03:53] – [Networking] cat_7
Line 145: Line 145:
   * -netdev user,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66   * -netdev user,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66
 Please note that adding a mac address other than the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences. Please note that adding a mac address other than the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences.
 +
 +=== Peer to peer networking between two Qemu instances ===
 +Qemu can use socket networking to connect two peers. The peers will have no internet access, but can exchange data between each-other. Set one guest to be a listener for network traffic:
 +
 +  *-device sungem,netdev=net1,mac=52:54:00:12:34:56 -netdev socket,id=net1,listen=:1234
 +
 +Set the other guest to connect to the listener:
 +
 +  *-device sungem,netdev=net1,mac=52:54:00:12:34:66 -netdev socket,id=net1,connect=127.0.0.1:1234
 +
  
 === Getting files in and out of your emulated Mac through a network connection === === Getting files in and out of your emulated Mac through a network connection ===
Line 158: Line 168:
   * -netdev user,id=network01,hostfwd=tcp::80-:80   * -netdev user,id=network01,hostfwd=tcp::80-:80
  
-The webserver running on the guest is then accessible through e.g., http://localhost+The webserver running on the guest is then accessible through e.g., http://localhost or http://name-or-ip-adress-of-machine from other machines running on your network.
  
 ==== Booting from a real CD ==== ==== Booting from a real CD ====