Building Some Olives

MrPaulMrPaul Member Posts: 5 ■□□□□□□□□□
I've just failed my first attempt at the CCIE SP lab and the next open date is August 2...only 7 months. Sad thing is I passed the lab but failed the core knowledge so if I took the test 30 days ago it would be a pass.

Anyway, I've got some down time and considering jumping on the Juniper track. I've spent the better part of the last 2 days building a couple olives on my lab server (Ubuntu) that was running dynamips.

I've established connectivity between two olives using the guide at the GNS3 site but I'm looking for a little more flexibility. What I would like is to have em0 all connected to a virtual switch (or hub). My goal is to simply build VLANs on the em0.xx interfaces as needed to establish my broadcast domains and I want to be able to configure them on the fly.

I've not had much success with this. As soon as I add the vlan-id to the unit I'm no longer able to ping between the two routers.

Some of the setups that I've tried are as follows. Each of these works without vlan tagging but I no longer see ARP reply's in the tcpdump output after adding vlans.
- br0 with tap0 & tap1
- dynamips "ETHSW" bound to tap0 and tap1
- dynamips "ETHSW" bound to UDP ports
-- this wouldn't even start

Is this an option? If not is there a way to build 12 or so olives with networking inside qemu?

Comments

  • hoogen82hoogen82 Member Posts: 272
    There are only a few guys who work with olives in this forum... and I am not sure how much they might be help... I suggest you to post this question "juniper-nsp@puck.nether.net" a forum just like the CCIE group study... I have seen some guys build some really cool things with Olives in those forums...

    But yeah go for the JNCIE-M... but you do realize that it is JNCIP first and then onto JNCIE.. so two labs in this format...

    I can definitely help out with configuration/case studies etc over here... Not much of a olive expert though...

    Cheers,
    Hoogen
    IS-IS Sleeps.
    BGP peers are quiet.
    Something must be wrong.
  • mumuloxmumulox Member Posts: 31 ■■□□□□□□□□
    You can connect olive to a cisco NM-16ESW in dynamips with udp tunnels like this (I used for testing only one olive and 2 cisco routers in dynamips)

    => show run
    autostart = False
    [127.0.0.1:7200]
    3640
    image = /home/mihai/IOSEMU/C3640-TE.BIN
    ram = 100
    idlepc = 0x6102a304
    chassis = 3640
    ROUTER R1
    model = 3640
    slot0 = NM-16ESW
    f0/0 = NIO_udp:40001:127.0.0.1:40000
    f0/1 = R2 f0/0
    ROUTER R2
    model = 3640
    slot0 = NM-1FE-TX
    f0/0 = R1 f0/1

    root@juniper9.6# show interfaces em0
    vlan-tagging;
    unit 0 {
    vlan-id 20;
    family inet {
    address 192.168.0.15/27;
    }
    }


    switch(config)#do sh int status | e notcon

    Port Name Status Vlan Duplex Speed Type
    Fa0/0 link to juniper connected trunk a-full a-100 10/100BaseTX
    Fa0/1 link to cisco connected 20 a-full a-100 10/100BaseTX
    switch(config)#

    R2#sh cdp ne
    Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
    S - Switch, H - Host, I - IGMP, r - Repeater

    Device ID Local Intrfce Holdtme Capability Platform Port ID
    switch Fas 0/0 165 R S I 3640 Fas 0/1

    R2#sh ip int br
    Interface IP-Address OK? Method Status Protocol
    FastEthernet0/0 192.168.0.16 YES manual up up

    R2#ping 192.168.0.15

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.0.15, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/12 ms

    R2#show arp
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 192.168.0.15 5 00aa.0060.0001 ARPA FastEthernet0/0
    Internet 192.168.0.16 - cc01.0f97.0000 ARPA FastEthernet0/0

    switch#sh mac- dy
    Non-static Address Table:
    Destination Address Address Type VLAN Destination Port

    ----
    cc01.0f97.0000 Dynamic 20 FastEthernet0/1
    00aa.0060.0001 Dynamic 20 FastEthernet0/0

    root@juniper9.6# run show arp
    MAC Address Address Name Interface Flags
    cc:01:0f:97:00:00 192.168.0.16 192.168.0.16 em0.0 none

    [edit]

    root@juniper9.6# run ping 192.168.0.16
    PING 192.168.0.16 (192.168.0.16): 56 data bytes
    64 bytes from 192.168.0.16: icmp_seq=0 ttl=255 time=3.645 ms
    64 bytes from 192.168.0.16: icmp_seq=1 ttl=255 time=2.542 ms
    64 bytes from 192.168.0.16: icmp_seq=2 ttl=255 time=1.623 ms
Sign In or Register to comment.