[j-nsp] Switch mesh / VRRP question

Campbell, Alex Alex.Campbell at dtdigital.com.au
Wed Apr 16 02:57:56 EDT 2008


Hi all,

I'm having trouble figuring out how to use VRRP with two routers fully
meshed to two switches.

To achieve this, is it possible to have two interfaces on the same
router with virtual IPs on the same subnet?  I'm thinking it would look
like the config below but I am not sure if this would work.

Regards,

Alex


#router1

ge-0/0/0 {
    description "Uplink to switch1";
    link-mode full-duplex;
    unit 0 {
        family inet {
            no-redirects;
            address 10.0.0.2/23 {
                vrrp-group 1 {
                    virtual-address 10.0.0.1;
                    priority 20;
                    preempt;
                }
            }
        }
    }
}
ge-0/0/1 {
    description "Uplink to switch2";
    link-mode full-duplex;
    unit 0 {
        family inet {
            no-redirects;
            address 10.0.0.3/23 {
                vrrp-group 1 {
                    virtual-address 10.0.0.1;
                    priority 20;
                    preempt;
                }
            }
        }
    }
}

#router2

ge-0/0/0 {
    description "Uplink to switch1";
    link-mode full-duplex;
    unit 0 {
        family inet {
            no-redirects;
            address 10.0.0.4/23 {
                vrrp-group 1 {
                    virtual-address 10.0.0.1;
                    priority 30;
                    preempt;
                }
            }
        }
    }
}
ge-0/0/1 {
    description "Uplink to switch2";
    link-mode full-duplex;
    unit 0 {
        family inet {
            no-redirects;
            address 10.0.0.5/23 {
                vrrp-group 1 {
                    virtual-address 10.0.0.1;
                    priority 30;
                    preempt;
                }
            }
        }
    }
}

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


More information about the juniper-nsp mailing list