[j-nsp] info VC QFX

Chuck Anderson cra at WPI.EDU
Wed Mar 25 05:23:33 EDT 2015


Did you remove the non-groups config from em0?

delete interfaces em0

What shows up for ifconfig from the shell on each member?

request session member 0
start shell
ifconfig em0
ifconfig vme
exit

request session member 1
start shell
ifconfig em0
ifconfig vme
exit


On Wed, Mar 25, 2015 at 09:06:43AM +0000, Paris Arau wrote:
> Hi Plamen,
> 
> 
> I tried similar configuration(both with and without condition) and I¹m not
> able to get this working.
> 
> set groups node0 when member member0
> set groups node0 system host-name member0
> set groups node0 interfaces em0 unit 0 family inet address
> 172.30.159.250/23
> set groups node1 when member member1
> set groups node1 system host-name member1
> set groups node1 interfaces em0 unit 0 family inet address
> 172.30.159.251/23
> 
> 
> If FPC1 is the master, it¹s working just fine but when I¹m pinging FPC0, I
> get this:
> 
> lab at UBUNTU:~$ ping 172.30.159.251
> PING 172.30.159.251 (172.30.159.251) 56(84) bytes of data.
> 64 bytes from 172.30.159.251: icmp_seq=1 ttl=64 time=0.319 ms
> ^C
> --- 172.30.159.251 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.319/0.319/0.319/0.000 ms
> lab at UBUNTU:~$ ping 172.30.159.250
> PING 172.30.159.250 (172.30.159.250) 56(84) bytes of data.
> >From 172.30.159.251: icmp_seq=1 Redirect Host(New nexthop: 172.30.159.250)
> >From 172.30.159.251: icmp_seq=2 Redirect Host(New nexthop: 172.30.159.250)
> ^C
> --- 172.30.159.250 ping statistics ---
> 2 packets transmitted, 0 received, 100% packet loss, time 1008ms
> 
> lab at UBUNTU:~$
> 
> 
> If I¹ll do the master switchover, then it will be the other way around.
> 
> Is there anything else that needs to be configured? What release are you
> using?
> 
> 
> 
> Thanks,
> Paris
> 
> On 25/03/15 10:40, "Plamen Stoev" <plamen.stoev at profitbricks.com> wrote:
> 
> >Hi All,
> >
> >It is possible to configure each VC member to have its own em0
> >configuration and it works very fine.
> >
> >You need to apply something like following:
> >
> >node0 {
> >    when {
> >        member member0;
> >    }
> >    system {
> >        host-name member0;
> >    }
> >    interfaces {
> >        em0 {
> >            description "member0 em0 interface";
> >            unit 0 {
> >                 family inet {
> >                      address 10.10.10.1/24;
> >                }
> >            }
> >        }
> >    }
> >}
> >node1 {
> >    when {
> >        member member1;
> >    }
> >    system {
> >        host-name member1;
> >    }
> >    interfaces {
> >        em0 {
> >            description "member1 em0 interface";
> >            unit 0 {
> >                 family inet {
> >                      address 10.10.10.2/24;
> >                }
> >            }
> >        }
> >    }
> >}
> >apply-groups [ node0 node1 ];
> >
> >Thanks,
> >Plamen
> >
> >
> >On Wed, Mar 25, 2015 at 9:20 AM, Tore Anderson <tore at fud.no> wrote:
> >
> >> * james list <jameslist72 at gmail.com>
> >>
> >> > on QFX VC is there a way to configure VME interface to respond on each
> >> > module of the VC instead to be redirected on the master RE ?
> >> >
> >> > If yes a little configuration example is appreciated.
> >>
> >> I haven't tried QFX, but on EX you can use apply-groups to match
> >> individual members in the VC, and set up different addressing on each
> >> member's "me0" interface (note: you will *not* be using "vme").
> >>
> >> See http://kb.juniper.net/InfoCenter/index?page=content&id=KB15556
> >>
> >> Try it and let the list know if it works on QFX too?
> >>
> >> Tore


More information about the juniper-nsp mailing list