Junos OS

 View Only
last person joined: 22 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  Ip/Ip tunnel on a J2350

    Posted 02-06-2010 09:59

    Hi, how can I create a tunnel /as/ linkservices pic in order to configure an ipip tunnel like this:

     

    show configuration interfaces ip-1/2/0


    unit 0 {
        description "TO:IPv6 over IPv4 tunnel ";
        tunnel {
            source 193.x.x.x;
            destination 4.x.x.x;
        }
        family inet6 {
            address 20x.x.x.x/126;
        }
    }

     

    thanks 🙂



  • 2.  RE: Ip/Ip tunnel on a J2350
    Best Answer

    Posted 02-06-2010 10:43

    Hi,

     

    on J-series all service interfaces are emulated (there are no service PICs on J-series like on M/MX-series). So just use ip-0/0/0, sp-0/0/0, gr-0/0/0 etc. You can check the availability of service interfaces with "show interface terse | match ip-" (or sp-, gr-).

     

    Kind Regards

    Michael Pergament

     

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.



  • 3.  RE: Ip/Ip tunnel on a J2350

    Posted 02-06-2010 11:18

    Hi, thanks for answering. But, the router is not adding tunnel routes automatically in order to reach hosts in the same subnet

     

    CONFIGURED ROUTES:

    show configuration routing-options
    static {
        route 10.0.0.0/8 next-hop 10.254.1.2;
    }

     

    ACTIVE ROUTES:

    show route

    inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    10.13.0.11/32      *[Local/0] 1d 00:20:14
                          Reject
    10.101.0.0/16      *[Direct/0] 01:38:17
                        > via ge-0/0/2.0
    10.101.14.24/32    *[Local/0] 1d 00:20:14
                          Local via ge-0/0/2.0
    192.168.1.1/32     *[Local/0] 1d 00:20:14
                          Reject

     

    TUNNEL CONFIGURATION:

    show configuration interfaces ip-0/0/1
    unit 0 {
        tunnel {
            source 10.101.14.24;
            destination 10.101.14.82;
        }
        family inet {
            address 10.254.1.1/30;
        }
    }

     

    How can I reach 10.254.1.2 (the other host from the tunnel) ?



  • 4.  RE: Ip/Ip tunnel on a J2350

    Posted 02-06-2010 11:21

    It is weird that it can't show ip-0/0/1 interface status:

     

     

    show interfaces i
                                              ^
    'i' is ambiguous.
    Possible completions:
      <interface-name>     Name of physical or logical interface
      ip-0/0/0
      ipip
      interval             Show interval statistics
    > show interfaces ipip
    Physical interface: ipip, Enabled, Physical link is Up
      Interface index: 11, SNMP ifIndex: 9
      Type: IPIP, Link-level type: IP-over-IP, MTU: Unlimited, Speed: Unlimited
      Link flags     : Keepalives DTE
      Device flags   : Present Running
      Interface flags: SNMP-Traps
        Input packets : 0
        Output packets: 0

    > show interfaces ip-0/0/0
    Physical interface: ip-0/0/0, Enabled, Physical link is Up
      Interface index: 138, SNMP ifIndex: 121
      Type: IPIP, Link-level type: IP-over-IP, MTU: Unlimited, Speed: 800mbps
      Link flags     : Scheduler Keepalives DTE
      Device flags   : Present Running
      Input rate     : 0 bps (0 pps)
      Output rate    : 0 bps (0 pps)