This is fairly easy to do - you simply add a cloud to your topology, and configure the cloud to bind to your computer's physical interface. AFTER you have configured the cloud, you con connect it to say fa0/0 of your router.
So:
1. Create a topology with a router and a cloud
2. Right-click on the cloud, select Configure
3. In the left hand pane, click on the cloud C1
3. Select the
[NIO Ethernet] tab
4. From the GEneric Ethernet NIO (Administrator access required) drop down list, select the adapter you want to link to. The name of this adapter should appear in the box below it.
5. **** Important *** Click
[Add]6. Click OK
Attachment:
add NIO adapter.jpg [ 58.8 KiB | Viewed 4119 times ]
You should now be able to connect the cloud to your router and if say you have a DHCP server on your network, it will even pick up an IP address. See session below:
Code:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connected to Dynamips VM "R1" (ID 0, type c3725) - Console port
R1#
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset administratively down down
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f0/0
R1(config-if)#no shut
R1(config-if)#ip address dhcp
*Mar 1 00:01:20.047: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:01:21.047: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#end
*Mar 1 00:01:25.359: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES DHCP up up
FastEthernet0/1 unassigned YES unset administratively down down
R1#
*Mar 1 00:01:33.263: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 192.168.1.158, mask 255.255.255.0, hostname R1
R1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.1.158 YES DHCP up up
FastEthernet0/1 unassigned YES unset administratively down down
I did my example on a Macintosh then repeated it on Linux and Windows 7 (64bit) all running on the same network (in fact, the Windows 7 and Linux are VMs on my Macintosh) and they could all ping each other. (Although the Windows instance was a lot more sluggish than the other two)
Attachment:
add NIO adapter.jpg [ 58.8 KiB | Viewed 4119 times ]
_________________
RedNectarhttp://rednectar.net@rednectarchrisGNS3 WorkBench-a VMware image of Ubuntu with GNS3 and VPCS installed and a collection of exercises/labs