Options

binding cloud interface GNS3 > real adapter (linux)

ehndeehnde Member Posts: 1,103
I'm following along with the labs in Configuring a GNS3 Ethernet NIO Cloud | Free CCNA Workbook

In the past I've bound a GNS3 cloud in Windows 7 to the microsoft loopback adapter. I'm using GNS3 in my more powerful linux server and having trouble. It should be simple, but I've tried binding the cloud to eth0 and assigning an I.P. in the same subnet as the virtual switch it's connected to, but the two cannot communicate (can't ping each other).

I also tried using lo (loopback interface) with the same result. Does anyone know what I could be doing wrong here? I tried googling for instructions but couldn't find anything concrete.
Climb a mountain, tell no one.

Comments

  • Options
    ehndeehnde Member Posts: 1,103
    I've continued working on my google-fu. blindhog.net Linux Bridging for GNS3 LAN communications Going to try this, hopefully it works.
    Climb a mountain, tell no one.
  • Options
    bermovickbermovick Member Posts: 1,135 ■■■■□□□□□□
    That link in your 2nd post is pretty much exactly what you have to do. You'll also have to run gns3 with root privs (or give your user account the right permissions). Here's my blog post when I was setting up gns3 & sdm under linux.

    http://midkemia.dyndns.org/blogs/blog4.php/2010/07/24/linux-gns3-sdm
    Latest Completed: CISSP

    Current goal: Dunno
  • Options
    ehndeehnde Member Posts: 1,103
    I have tried and tried to get connected via this cloud interface to the gns3 routers with no success. Watched that video I linked twice and went through the commands twice with no luck. Instead of using the 10. network, though, I've used 192.168.255.0/24 to match the lab setup on freeccnaworkbook.com

    My cloud interface is assigned the IP 192.168.255.10.
    tyler@labserver:~$ ping 192.168.255.1
    PING 192.168.255.1 (192.168.255.1) 56(84) bytes of data.
    From 192.168.255.10 icmp_seq=2 Destination Host Unreachable
    

    And all interfaces appear to be set up in ifconfig....
    tyler@labserver:~$ ifconfig
    br0       Link encap:Ethernet  HWaddr 00:0a:cd:15:fe:80  
              inet addr:192.168.255.10  Bcast:192.168.255.255  Mask:255.255.255.0
              inet6 addr: fe80::20a:cdff:fe15:fe80/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 B)  TX bytes:9446 (9.4 KB)
    
    eth0      Link encap:Ethernet  HWaddr 00:0a:cd:15:fe:80  
              UP BROADCAST PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:47 Base address:0x2000 
    
    eth1      Link encap:Ethernet  HWaddr 00:50:bf:eb:94:c7  
              inet6 addr: fe80::250:bfff:feeb:94c7/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:10 dropped:0 overruns:0 carrier:20
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:18 Base address:0xcc00 
    
    eth2      Link encap:Ethernet  HWaddr 00:50:8d:b4:1c:24  
              inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::250:8dff:feb4:1c24/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:98220 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145174 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:24133943 (24.1 MB)  TX bytes:169152009 (169.1 MB)
              Interrupt:49 Base address:0xa000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:78313 errors:0 dropped:0 overruns:0 frame:0
              TX packets:78313 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:164060146 (164.0 MB)  TX bytes:164060146 (164.0 MB)
    
    tap0      Link encap:Ethernet  HWaddr 0e:ed:80:bc:6c:9b  
              inet6 addr: fe80::ced:80ff:febc:6c9b/64 Scope:Link
              UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:13 errors:0 dropped:45 overruns:0 carrier:0
              collisions:0 txqueuelen:500 
              RX bytes:0 (0.0 B)  TX bytes:642 (642.0 B)
    

    The cloud is connected to "SW1" (2650XM router IOS) via fa 0/0 on that router. FA 0/0 is assigned 192.168.255.1 /24. And ping is not working from that end either icon_neutral.gif
    Router#ping 192.168.255.10
    
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.255.10, timeout is 2 seconds:
    .....
    Success rate is 0 percent (0/5)
    

    Anyone have any ideas? See a problem in the configuration of interfaces? The cloud is set up to use tap0. I'm still working on it, but if I can't get this working by within the next 4 hours I'm going to put Windows on this machine. Less than 3 weeks till I take the ICND1 and I need lab time!
    Climb a mountain, tell no one.
  • Options
    ehndeehnde Member Posts: 1,103
    Nevermind....everything was set up right. I forgot to do a
    no shutdown fa 0/0
    

    icon_jokercolor.gif<< me
    Climb a mountain, tell no one.
Sign In or Register to comment.