Page 1 of 1

OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Fri Sep 08, 2017 5:36 am
by ggcc
Hello Team,

I need your help to figure out why OSPF won't work on Juniper vMX version 14.1R4.8.

Below are:
-show configuration of two vMX routers
-Ping
-show ospf neighbor detail
-show ospf logs

Thanks.



eve@vMX1#
Exiting configuration mode

eve@vMX1>

Code: Select all

show configuration | display set 
set version 14.1R4.8
set system host-name vMX1
set system root-authentication encrypted-password "$1$7wYcPoix$a6ZudUnW6nLCfK4160pPI."
set system login user eve uid 2000
set system login user eve class super-user
set system login user eve authentication encrypted-password "$1$wJT08rfW$cx3wBGI2qJ8NjxiYnmZJe/"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em0 unit 0
set interfaces em2 unit 0 family inet address 12.12.12.1/24
set interfaces lo0 unit 0 family inet address 1.1.1.1/24
set protocols ospf traceoptions file OSPF-TO
set protocols ospf traceoptions flag all
set protocols ospf area 0.0.0.0 interface em2.0
set protocols ospf area 0.0.0.0 interface lo0.0

eve@vMX1> ping 12.12.12.2 
PING 12.12.12.2 (12.12.12.2): 56 data bytes
64 bytes from 12.12.12.2: icmp_seq=0 ttl=64 time=0.500 ms
64 bytes from 12.12.12.2: icmp_seq=1 ttl=64 time=2.116 ms
64 bytes from 12.12.12.2: icmp_seq=2 ttl=64 time=0.744 ms
^C
--- 12.12.12.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.500/1.120/2.116/0.711 ms

eve@vMX1> 

[i]eve@vMX1> show ospf neighbor detail [/i]

eve@vMX1> show log OSPF-TO      
Sep  8 04:39:33 trace_on: Tracing to "/var/log/OSPF-TO" started
Sep  8 04:39:33.831166 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:33.855423 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:33.855498 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:41:33.855423
Sep  8 04:39:33.855515 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:39:41.629871 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:41.629931 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:41.629968 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:41:41.629931
Sep  8 04:39:41.629979 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:39:49.783436 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:49.783465 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:49.783476 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:41:49.783465
Sep  8 04:39:49.783481 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:39:58.481550 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:58.481640 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:39:58.481677 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:41:58.481640
Sep  8 04:39:58.481693 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:03.950326 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Keepalive <HiPrio Touched Processing> set to offset 40 at 4:40:38.481693
Sep  8 04:40:07.338035 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:07.338213 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:07.338231 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:07.338213
Sep  8 04:40:07.338254 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:16.370672 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:16.370880 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:16.371001 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:16.370880
Sep  8 04:40:16.371039 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:25.712635 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:25.712693 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:25.712717 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:25.712693
Sep  8 04:40:25.712728 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:34.752583 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:34.752639 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:34.752700 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:34.752639
Sep  8 04:40:34.752712 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:42.654532 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:42.654586 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:42.654612 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:42.654586
Sep  8 04:40:42.654622 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:43.956924 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Keepalive <HiPrio Touched Processing> set to offset 40 at 4:41:22.654622
Sep  8 04:40:50.589233 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:50.589578 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:50.589599 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:50.589578
Sep  8 04:40:50.589607 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:40:58.878062 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:58.878098 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:40:58.878113 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:42:58.878098
Sep  8 04:40:58.878119 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:41:08.763212 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:41:08.763340 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:41:08.763390 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:43:08.763340
Sep  8 04:41:08.763422 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:41:18.187634 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:41:18.187902 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:41:18.187924 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:43:18.187902
Sep  8 04:41:18.187931 OSPF periodic xmit from 12.12.12.1 to 224.0.0.5 (IFL 5 area 0.0.0.0)
Sep  8 04:41:23.961132 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Keepalive <HiPrio Touched Processing> set to offset 40 at 4:41:58.187931
                                        
eve@vMX1> 

-----------------------------

eve@vMX2> show configuration | display set 
set version 14.1R4.8
set system host-name vMX2
set system root-authentication encrypted-password "$1$LsKSi0nV$9.Aje5rNA27TQJC5Bi7UL."
set system login user eve uid 2000
set system login user eve class super-user
set system login user eve authentication encrypted-password "$1$XJOyPD0V$BFv/G2TN4GVj.S/lS4y84/"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces em2 unit 0 family inet address 12.12.12.2/24
set interfaces em3 unit 0 family inet address 23.23.23.2/24
set protocols ospf traceoptions file OSPF-TO
set protocols ospf traceoptions flag all
set protocols ospf area 0.0.0.0 interface em2.0
set protocols ospf area 0.0.0.23 interface em3.0

eve@vMX2> ping 12.12.12.1  
PING 12.12.12.1 (12.12.12.1): 56 data bytes
64 bytes from 12.12.12.1: icmp_seq=0 ttl=64 time=1465.543 ms
64 bytes from 12.12.12.1: icmp_seq=1 ttl=64 time=984.881 ms
64 bytes from 12.12.12.1: icmp_seq=2 ttl=64 time=495.651 ms
64 bytes from 12.12.12.1: icmp_seq=3 ttl=64 time=6.390 ms
64 bytes from 12.12.12.1: icmp_seq=4 ttl=64 time=1.361 ms
^C
--- 12.12.12.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.361/590.765/1465.543/568.947 ms

[i]eve@vMX2> show ospf neighbor detail [/i]

eve@vMX2> show log OSPF-TO   
Sep  8 04:42:04 trace_on: Tracing to "/var/log/OSPF-TO" started
Sep  8 04:42:04.879800 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:04.879789
Sep  8 04:42:04.894106 OSPF periodic xmit from 23.23.23.2 to 224.0.0.5 (IFL 5 area 0.0.0.23)
Sep  8 04:42:08.699004 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Keepalive <HiPrio Touched Processing> set to offset 40 at 4:42:44.894106
Sep  8 04:42:09.777394 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:09.777418 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:09.777428 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:09.777418
Sep  8 04:42:09.777432 OSPF periodic xmit from 12.12.12.2 to 224.0.0.5 (IFL 4 area 0.0.0.0)
Sep  8 04:42:13.839956 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:13.840308 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:13.840340 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:13.840308
Sep  8 04:42:13.840349 OSPF periodic xmit from 23.23.23.2 to 224.0.0.5 (IFL 5 area 0.0.0.23)
Sep  8 04:42:17.786516 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:17.786567 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:17.786796 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:17.786567
Sep  8 04:42:17.786801 OSPF periodic xmit from 12.12.12.2 to 224.0.0.5 (IFL 4 area 0.0.0.0)
Sep  8 04:42:22.083742 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:22.083784 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:22.083803 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:22.083784
Sep  8 04:42:22.083810 OSPF periodic xmit from 23.23.23.2 to 224.0.0.5 (IFL 5 area 0.0.0.23)
Sep  8 04:42:25.775764 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:25.775864 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:25.775871 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:25.775864
Sep  8 04:42:25.775874 OSPF periodic xmit from 12.12.12.2 to 224.0.0.5 (IFL 4 area 0.0.0.0)
Sep  8 04:42:31.781506 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:31.781552 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:31.781572 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:31.781552
Sep  8 04:42:31.781580 OSPF periodic xmit from 23.23.23.2 to 224.0.0.5 (IFL 5 area 0.0.0.23)
Sep  8 04:42:34.986556 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:34.986926 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:34.986960 task_timer_uset: timer OSPF I/O./var/run/ppmd_control_PPM Hold <Touched> set to offset 2:00 at 4:44:34.986926
Sep  8 04:42:34.986972 OSPF periodic xmit from 12.12.12.2 to 224.0.0.5 (IFL 4 area 0.0.0.0)
Sep  8 04:42:40.088779 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
Sep  8 04:42:40.088822 task_process_events: recv ready for OSPF I/O./var/run/ppmd_control
---(more 5%)---

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Fri Sep 08, 2017 2:41 pm
by mike
I might assume that it doesn't work since you setup it on em interface.

Try to do the same, but with ge- interfaces.

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Sat Sep 09, 2017 4:52 am
by ggcc
Hi Mike,

Thank you for your suggestion. I totally agree with you. em interface is for Ethernet management. But, I have tried it did not work.

Code: Select all

eve@vMX3# show | display set           
set version 14.1R4.8
set system host-name vMX3
set system root-authentication encrypted-password "$1$Utus4JiV$Ge0xkisNC.qoQc3f8LtJn1"
set system login user eve uid 2000
set system login user eve class super-user
set system login user eve authentication encrypted-password "$1$8HiB.ldC$ZhOny.PeDoCQckIq9nMx9/"
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set interfaces ge-0/0/0 unit 0
set interfaces ge-0/0/1 unit 0 family inet address 23.23.23.3/24
set interfaces lo0 unit 0 family inet address 3.3.3.3/24
set protocols ospf traceoptions file OSPF-TO
set protocols ospf traceoptions flag all
set protocols ospf area 0.0.0.23 interface lo0.0
set protocols ospf area 0.0.0.23 interface ge-0/0/1.0

[edit]
eve@vMX3# run show interfaces terse    
Interface               Admin Link Proto    Local                 Remote
cbp0                    up    up
demux0                  up    up
dsc                     up    up
em1                     up    up
em1.0                   up    up   inet     172.16.0.1/16   
                                   inet6    fe80::5200:ff:fe03:1/64
em2                     up    up
em3                     up    up
em4                     up    up
em5                     up    up
fxp0                    up    up
gre                     up    up
ipip                    up    up
irb                     up    up
lo0                     up    up
lo0.0                   up    up   inet     3.3.3.3/24      
lo0.16384               up    up   inet     127.0.0.1           --> 0/0
lo0.16385               up    up   inet     128.0.0.1           --> 0/0
                                            128.0.0.4           --> 0/0
                                   inet6    fe80::5200:f:fc03:0
lo0.32768               up    up  
lsi                     up    up
mtun                    up    up        
pimd                    up    up
pime                    up    up
pip0                    up    up
pp0                     up    up
tap                     up    up
vtep                    up    up

[edit]
eve@vMX3#


Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Sat Sep 09, 2017 5:42 am
by ggcc
It's working now!! :D

Shotgun troubleshoot and it works. By Edit the vMX template select E1000 under QEMU Nic.

eve@vMX2> show ospf neighbor
Address Interface State ID Pri Dead
12.12.12.1 em2.0 Full 1.1.1.1 128 37
23.23.23.3 em3.0 Full 3.3.3.3 128 33

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Wed Sep 13, 2017 8:10 am
by Chris929
Yes - E1000 is default in the template - why did you change this in the first place? ;)
The Template is best practice - you should ALWAYS use that except you get errors or really need to "test" something - but expect misbehavior if you do.

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Wed Sep 13, 2017 1:45 pm
by ggcc
Hi Chris,

Thank you. I don't recall that I changed the default setting at all.

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Wed Sep 13, 2017 8:35 pm
by Chris929
okay.
if virtio is the default and virtio is not working, we should report that to the devs.

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Mon Sep 25, 2017 8:37 am
by Jake Jervis
Any updates?

Re: OSPF Won't work on Juniper vMX version 14.1R4.8

Posted: Tue Sep 26, 2017 5:22 am
by ggcc
Yes, I just double checked.

The default setting for Nic is below.

QEMU Nic
tpl(virio-net-pci)