Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  QFX5100 virtual-router interface (JunOS 13.2)

    Posted 02-18-2015 19:26

    I'm not 100% sure I'm doing this correctly, and wanted to get someone else's eyes on it.

    I have multiple L3 subnets that live in one VLAN.

    Unfortunately, to route between these subnets, traffic has traditionally needed to leave our switches (10Gbps uplink) and hit the upstream router interface (only to reflect back into our network).  I would like to keep this traffic within our layer 2 environment so that we can take advantage of our 40GbE core, and reduce egress traffic to the upstream router.

     

    I've decided to do some testing of a virtual-router configuration on our distribution switches (a pair of QFX5100-24Q switches in virtual-chassis mode).

     

    My thought process, is to add IPs on each of the subnets to act as the default gateway for our host systems (they're currently pointing to our upstream as the default gw).  

    To accomplish this, I added the IPs I'd like to use for my router-instance to the irb unit 0 interface as follows:

     

    irb {

    unit 0 {
    description "Virtual Router Interface for L3 Core";
    family inet {
    mtu 9000;
    no-redirects;
    address xxx.xxx.xxx.xxx/24;
    address xxx.xxx.xxx.xxx/21;
    address xxx.xxx.xxx.xxx/23;
    address xxx.xxx.xxx.xxx/25;
    address xxx.xxx.xxx.xxx/25;
    }
    }

    }

     

    Then, I added the irb.0 interface to the vlan

     

    root@qfx# show vlans BuildNetwork
    vlan-id 1135;
    l3-interface irb.0;

     

    I then created a virtual-router type routing instance with this irb.0 interface, and a static default route to the upstream's default GW (yyy.yyy.yyy.yyy):

     

    instance-type virtual-router;
    interface irb.0;
    routing-options {
    static {
    route 0.0.0.0/0 next-hop yyy.yyy.yyy.yyy;
    }
    localize {
    unicast-only;
    }
    router-id xxx.xxx.xxx.xxx;
    }

     

     

    Traffic is routing properly with this configuration, but I'm seeing duplicate ICMP packets when pinging from one subnet to the other.

     

    Any immediate gotchas that anyone sees? (sorry for the obsfucated IPs)

     

    Thank you,

     

     -- Andrew

     



  • 2.  RE: QFX5100 virtual-router interface (JunOS 13.2)
    Best Answer

     
    Posted 02-18-2015 23:35

    This is the current design on QFX5100.

     

    See this PR and contact JTAC if you need further assistance:

     

    https://prsearch.juniper.net/InfoCenter/index?page=prcontent&id=PR1022354

     



    =====

    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: QFX5100 virtual-router interface (JunOS 13.2)

    Posted 02-19-2015 01:34

    Thank you for the response on this.  I thought I did something horribly wrong -- but I guess it's a "feature".

    I'm guessing this to be true on the QFX3500 as well (since I saw the same behavior)


    Cheers,

     

     -- Andrew



  • 4.  RE: QFX5100 virtual-router interface (JunOS 13.2)

    Posted 03-26-2015 13:59

    start shell

    cprod -A fpc0 -c 'set dc bc "mod l3_iif_profile 0 256 ICMP_REDIRECT_TOCPU=0"'

     

    "feature"