کد:
http://www.gns3.net/phpBB/topic20.html
Bridge with a Wireless NIC on Windows
HOWTO originally posted by kwiggins on hacki's forum and adapted for GNS3.
The answer to the problem is a little known feature in Windows XP of all places. All that’s needed is a bridge for the bridge, and you are on your way to communicating through GNS3 to the real world all the while you are soaking up some sun outside in the “real world.”
These are the steps to follow to be able to bridge GNS3 to the real world using your wireless adapter.
STEP 1
Set up a Loopback adapter on your PC. There are many tutorials throughout this site that tell how to do this. Blindhog.net has an excellent video on how to setup a Loopback adapter. -
http://www.blindhog.net/cisco-dynamips- ... -tutorial/
STEP 2
The next phase is to bridge the Loopback adapter with your wireless adapter. This is the key to making it all work.
a. Open your Network Connections
b. Use the <Ctrl> to select both the Loopback adapter you just created and your wireless adapter.
c. Right Click and the select Bridge Connections. Windows will then set up a new adapter called Network Bridge (MAC Bridge Miniport). All of the IP settings for your wireless adapter will now show up under the Network Bridge.
d. Once Windows has finished doing its thing, you are ready to connect to the real world using the wireless adapter.
STEP 3
At this point follow the instructions in the GNS3 documentation on Communicating with Real Networks. When you have the option to choose your network adapter, choose the Loopback adapter you created. Be sure to give the interface on the router that connects to your cloud an IP address that is on the same subnet as your wireless network.
That's it. You should now be able to connect from your emulated router to the real world using your wireless adapter.
You can also use this method to capture traffic that goes across the wireless adapter using Wireshark. To do so, just select the MAC Bridge as the interface to monitor.
For more detailed information on bridging using Windows XP, see the link below to WindowsNetworking.com
http://www.windowsnetworking.com/articl ... brdge.html
Hopefully this will help someone "cut the cord," and use their PC the way it was intended, without wires