Testing
To check if everything work, let’s configure 2 Olives:
root@%cli
root>edit
[edit]
root#
[edit]
root#set system root-authentication plain-text-password
New password:
Retype new password:
[edit]
root#set interfaces em0 unit 0 family inet address 10.0.0.1/8
[edit]
root#commit
commit completeConfigure the other device using the same commands but with another IP address (e.g. 10.0.0.2/8) and ping.
root#exit
Exiting configuration mode
root> ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=64 time=9.771 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.614 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.693 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.630 msAdditionally, configure OSPF (or any other multicast based protocol) to test if your routers can talk to each other using multicast packets. Again, type those commands on both routers:
root# set protocols ospf area 0 interface em0
[edit]
root# commit
commit complete
[edit]
root# exit
Exiting configuration modeThen monitor the traffic from one of the router, you should see some multicast traffic (from/to 224.0.0.5):
root> monitor traffic interface em0
02:30:30.973748 Out IP 10.0.0.1 > 224.0.0.5: OSPFv2, Hello, length 48
02:30:31.007675 In IP 10.0.0.2 > 224.0.0.5: OSPFv2, Hello, length 48Is everything working? yes? then you are successfully running JunOS! Happy networking