Junos vMX Router on VMWare Fusion

I have successfully installed vMX and used it in my labs following the procedure describer into Day One: vMX Up and Running book. But I am curious to see if the installing procedure used for IOS XRv can be used also for the new Nested vMX router from Juniper Networks.

I am still having some trouble with some errors. Maybe it is a resource limitation. I will update the article if I find a solution to make it up and running.

Software

  • MacOS Sierra 10.12.6
  • VMWare Fusion 10.0.1 Pro
  • Juniper Networks Nested vMX router package vmx-nested-17.2R2.8.vmdk

Installation

1. Create VM into VMWare Fusion

  • Select the Create a custom virtual machine option.
  • Click the Continue button.
  • Select FreeBSD Other (Other -> FreeBSD Other) as the operating system (maybe this is where I’ve been wrong)
  • Click the Continue button.
  • Select Use an existing virtual disk.
  • Click the Choose virtual disk… button.
  • Navigate to and select vmx-nested-17.2R2.8.vmdk.
  • Select Make a separate copy of the virtual disk.
  • Click the Choose button.
  • Click the Continue button.
  • Click the Customize Settings button to modify the virtual appliance settings.
  • Save As: Nested vMX
  • Click the Save button.
2. Modify/Verify the following attributes in the Nested VMX Settings
Component Value
Processors 4 processor cores
Memory 12288 MB (12G)
Network Adapter Share with my Mac
Network Adapter 2 Private to my Mac
Network Adapter 3 Private to my Mac
Network Adapter 4 Private to my Mac
Hard Disk (IDE) vmx-nested-17.2R2.8.vmdk
CD/DVD (IDE) Remove CD/DVD Drive
Sound Card Remove Sound Card
USB & Bluetooth Remove USB Controller
3. Edit .vmx file

Click on Option+right-mouse click on VM > Open Config file in the editor and add the configuration.

ethernet0.virtualDEV = "vmxnet3"
ethernet1.virtualDEV = "vmxnet3"
ethernet2.virtualDEV = "vmxnet3"
ethernet3.virtualDEV = "vmxnet3"
serial0.present = "TRUE"
serial0.fileType = "network"
serial0.fileName = "telnet://127.0.0.1:7001"
serial0.startConnected = "TRUE"
serial0.yieldOnMsrRead = "TRUE"

Note: Option e1000 is not supported as it is getting error: “EAL: Error reading from file descriptor 23: Input/output error

4. Log into VFP from new Terminal window
Murgescus-MacBook-Pro:~ silvia$ telnet 127.0.0.1 7001

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.


localhost login: jnpr
Password: jnpr123

localhost:~$ sudo -i
5. Log into VCP from VFP
root@localhost:~# telnet localhost 8601

Entering character mode

Escape character is '^]'.

login: root


--- JUNOS 17.2R2.8 Kernel 64-bit  JNPR-10.3-20170919.355547_build

root@:~ #

Problems

  • No GE interfaces
root# 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     10.0.0.4/8      

                                            128.0.0.1/2     

                                            128.0.0.4/2     

                                   inet6    fe80::5254:ff:fe12:bdfe/64

                                            fec0::a:0:0:4/64

                                   tnp      0x4             

esi                     up    up

fxp0                    up    up

fxp0.0                  up    up  

gre                     up    up

ipip                    up    up

irb                     up    up

jsrv                    up    up

jsrv.1                  up    up   inet     128.0.0.127/2   

lo0                     up    up

lo0.16384               up    up   inet     127.0.0.1           --> 0/0

lo0.16385               up    up   inet    

lsi                     up    up

mtun                    up    up        

pimd                    up    up        

pime                    up    up

pip0                    up    up

pp0                     up    up

rbeb                    up    up

tap                     up    up

vtep                    up    up
  • No CPU installed
root# run show chassis hardware 

Hardware inventory:

Item             Version  Part number  Serial number     Description

Chassis                                VM5A0C66F112      VMX

Midplane        

Routing Engine 0                                         RE-VMX

CB 0                                                     VMX SCB

CB 1                                                     VMX SCB

FPC 0                                                    Virtual FPC

  CPU
  • Error coming up
[edit]

root# mpc : 

            cat: can't open '/var/jnx/card/local/type': No such file or directory

                                                                                 tx_hello_tx: Failed to get card type defaulting to 0

                                                                                                                                     cat: can't open '/var/jnx/card/local/slot': No such file or directory

                                       tx_hello_tx: Failed to get card slot defaulting to 0

                                                                                           tnp_hello_tx: Board type 0

                                                                                                                     tnp_hello_tx: Board slot 0

                                                                                                                                               tnp_hello_tx: found interface int

             Linux VMX-FPC0 3.10.62-ltsi-rt55-WR6.0.0.21_preempt-rt #1 SMP PREEMPT RT Tue Sep 26 18:14:49 PDT 2017 x86_64 GNU/Linux

                                                                                                                                   cat: can't open '/var/jnx/card/local/type': No such file or directory

                                     cat: can't open '/var/jnx/card/local/type': No such file or directory

                                                                                                          0x0BAA

                                                                                                                                                                                               

                                /home/pfe/riot/build/app/riot <EAL PARAMS> -- <APP PARAMS>                                            

                                                                                                                                                                                                                     

                                                  Application manadatory parameters:                                             

                                                                                                                                     --rx "(PORT, QUEUE, IXPORT, LCORE), ..." : List of NIC RX ports and      

                                                      queues handled by the I/O RX lcores                                 

                                                                                                                              --tx "(PORT, LCORE), ..." : List of NIC TX ports handled by the I/O TX   

                                               lcores                                                              

                                                                                                                       --w "LCORE, ..." : List of the worker lcores                             

                                 --f "LCORE, ..." : Flow manager lcore                                    

                                                                                                                                                                                         

                      Application optional parameters:                                               

                                                                                                         --rsz "A, B, C, D" : Ring sizes                                          

                          A = Size (in number of buffer descriptors) of each of the NIC RX    

                                                                                                             rings read by the I/O RX lcores (default value is 2048)           

                       B = Size (in number of elements) of each of the SW rings used by the

                                                                                                          I/O RX lcores to send packets to worker lcores (default value is

                      2048)                                                             

                                                                                                   C = Size (in number of elements) of each of the SW rings used by the

                   worker lcores to send packets to I/O TX lcores (default value is

                                                                                                  2048)                                                             

            D = Size (in number of buffer descriptors) of each of the NIC TX    

                                                                                               rings written by I/O TX lcores (default value is 1024)            

                                                                                                                                                                     --bsz "(A, B), (C, D), (E, F)" :  Burst sizes                            

                                                                                      A = I/O RX lcore read burst size from NIC RX (default value is 144)  

                                                                                                                                                                      B = I/O RX lcore write burst size to output SW rings (default value 

                                                                                      is 144)                                                          

                                                                                                                                                                  C = Worker lcore read burst size from input SW rings (default value 

                                                                                  is 144)                                                          

                                                                                                                                                              D = Worker lcore write burst size to output SW rings (default value 

                                                                              is 144)                                                          

                                                                                                                                                          E = I/O TX lcore read burst size from input SW rings (default value 

                                                                          is 144)                                                          

                                                                                                                                                      F = I/O TX lcore write burst size to NIC TX (default value is 144)   

                                                            --rpio "A, B, C" :  RPIO server ports                                    

                                                                                                                                                A = Protocol family                                                 

                                                                local : UNIX domain sockets                                     

                                                                                                                                               inet  : TCP sockets                                             

                                                       B = Command port                                                    

                                                                                                                                      C = Event port                                                      

                                           --hostif "A, B" :  HOST server port                                      

                                                                                                                               A = Protocol family

[...]
  • If I install using FreeBSD 10 option into VMWare, I see the GE interfaces into show interfaces terse command but, but they are not accessible from MacBook and I still get the error
cat: can't open '/var/jnx/card/local/type': No such file or directory

0x0BAA

config file /etc/riot/init.conf

config file /etc/riot/runtime.conf

Disabled QOS 

Disabled AlternatePriorityMode 

Unable to open config file /etc/riot/shadow

rte_eth_dev_config_restore: port 0: MAC address array not supported

rte_eth_stats_reset: Function not supported

rte_eth_dev_config_restore: port 1: MAC address array not supported

rte_eth_stats_reset: Function not supported

rte_eth_dev_config_restore: port 2: MAC address array not supported

rte_eth_stats_reset: Function not supported

rte_eth_dev_config_restore: port 3: MAC address array not supported

rte_eth_stats_reset: Function not supported

rte_eth_dev_mac_addr_add: Function not supported

rte_eth_dev_set_mc_addr_list: Function not supported

rte_eth_dev_mac_addr_add: Function not supported

rte_eth_dev_set_mc_addr_list: Function not supported

rte_eth_dev_mac_addr_add: Function not supported

rte_eth_dev_set_mc_addr_list: Function not supported

rte_eth_dev_mac_addr_add: Function not supported

rte_eth_dev_set_mc_addr_list: Function not supported

br-ext: port 2(tap0) entered disabled state

br-ext: port 2(tap0) entered forwarding state

br-ext: port 2(tap0) entered forwarding state

br-ext: port 2(tap0) entered forwarding state

What is wrong??  😐

22 thoughts on “Junos vMX Router on VMWare Fusion

  1. Pingback: vMX Initial Configuration – Silvique Tech Notes

  2. Hi there I am so glad I found your blog page, I really found you by mistake, while I was searching on Aol for something else, Anyhow I am here now and would just like to say kudos for a incredible post and a all round exciting blog (I also love the theme/design), I don’t have time to go through it all at the minute but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the excellent work.

  3. Thanks for these pointers. One thing I should also believe is credit cards featuring a 0% apr often entice consumers in zero interest rate, instant acceptance and easy on the net balance transfers, nevertheless beware of the number one factor that will probably void your 0% easy road annual percentage rate and also throw one out into the bad house quick.

  4. Pingback: writeaessay

  5. I have discovered some considerations through your blog post. One other thing I would like to state is that there are lots of games out there designed mainly for preschool age youngsters. They consist of pattern acknowledgement, colors, wildlife, and patterns. These often focus on familiarization instead of memorization. This keeps little kids occupied without having the experience like they are learning. Thanks

  6. One thing I’d really like to say is always that before acquiring more laptop memory, check out the machine within which it is installed. If your machine is definitely running Windows XP, for instance, the actual memory ceiling is 3.25GB. Installing greater than this would simply constitute any waste. Make sure that one’s motherboard can handle the upgrade amount, as well. Thanks for your blog post.

  7. Some tips i have seen in terms of pc memory is that often there are specific features such as SDRAM, DDR and the like, that must match up the specs of the motherboard. If the personal computer’s motherboard is kind of current and there are no operating-system issues, modernizing the memory space literally will take under an hour. It’s among the list of easiest computer system upgrade procedures one can imagine. Thanks for giving your ideas.

  8. Hey, how’s it going?

    I want to pass along some very important news that everyone needs to hear!

    In December of 2017, Donald Trump made history by recognizing Jerusalem as the capital of Israel. Why is this big news? Because by this the Jewish people of Israel are now able to press forward in bringing about the Third Temple prophesied in the Bible.

    Jewish Rabbis have publicly announced that their Messiah will be revealed in the coming years who will be a leader and spiritual guide to all nations, gathering all religions under the worship of one God.

    Biblical prophecy tells us that this Jewish Messiah who will take the stage will be the antichrist “who opposes and exalts himself above all that is called God or that is worshiped, so that he sits as God in the temple of God, showing himself that he is God” (2 Thessalonians 2:4). For a time he will bring about a false peace, but “Therefore when you see the ‘abomination of desolation,’ spoken of by Daniel the prophet, standing in the holy place (Matthew 24:15)…then there will be great tribulation, such as has not been since the beginning of the world until this time, no, nor ever shall be” (Matthew 24:21).

    More importantly, the power that runs the world wants to put a RFID microchip in our body making us total slaves to them. This chip matches perfectly with the Mark of the Beast in the Bible, more specifically in Revelation 13:16-18:

    “He causes all, both small and great, rich and poor, free and slave, to receive a mark on their right hand or on their foreheads, and that no one may buy or sell except one who has the mark or the name of the beast, or the number of his name.

    Here is wisdom. Let him who has understanding calculate the number of the beast, for it is the number of a man: His number is 666.”

    Referring to the last days, this could only be speaking of a cashless society, which we have yet to see, but are heading towards. Otherwise, we could still buy or sell without the mark amongst others if physical money was still currency. This Mark couldn’t be spiritual because the word references two different physical locations. If it was spiritual it would just say in the forehead. RFID microchip implant technology will be the future of a one world cashless society containing digital currency. It will be implanted in the right-hand or the forehead, and we cannot buy or sell without it. Revelation 13:11-18 tells us that a false prophet will arise on the world scene doing miracles before men, deceiving them to receive this Mark. Do not be deceived! We must grow strong in Jesus. AT ALL COSTS, DO NOT TAKE IT!

    “Then a third angel followed them, saying with a loud voice, “If anyone worships the beast and his image, and receives his mark on his forehead or on his hand, he himself shall also drink of the wine of the wrath of God, which is poured out full strength into the cup of His indignation. He shall be tormented with fire and brimstone in the presence of the holy angels and in the presence of the Lamb. And the smoke of their torment ascends forever and ever; and they have no rest day or night, who worship the beast and his image, and whoever receives the mark of his name” (Revelation 14:9-11).

    People have been saying the end is coming for many years, but we needed two key things. One, the Third Temple, and two, the technology for a cashless society to fulfill the prophecy of the Mark of the Beast.

    Visit http://WWW.BIBLEFREEDOM.COM to see proof for these things and why the Bible truly is the word of God!

    If you haven’t already, it is time to seek God with all your heart. Jesus loves you more than you could imagine. He wants to have a relationship with you and redeem you from your sins. Turn to Him and repent while there is still hope! This is forever…God bless!

    “EITHER HUMAN INTELLIGENCE ULTIMATELY OWES ITS ORIGIN TO MINDLESS MATTER OR THERE IS A CREATOR…” – JOHN LENNOX

    We all know God exists. Why? Because without Him, we couldn’t prove anything at all. Do we live our lives as if we cannot know anything? No. So why is God necessary? In order to know anything for certain, you would have to know everything, or have revelation from somebody who does. Who is capable of knowing everything? God. So to know anything, you would have to be God, or know God.

    A worldview without God cannot account for the uniformity and intelligibility of nature. And why is it that we can even reason that God is the best explanation for this if there is no God? We are given reason to know or reject God, but never to know that He does not exist.

    It has been calculated by Roger Penrose that the odds of the initial conditions for the big bang to produce the universe that we see to be a number so big, that we could put a zero on every particle in the universe, and even that would not be enough to use every zero. What are the odds that God created the universe? Odds are no such thing. Who of you would gamble your life on one coin flip?

    Is there evidence that the Bible is the truth? Yes. Did you know that the creation accounts listed in the book of Genesis are not only all correct, but are also in the correct chronological order? That the Bible doesn’t say the Earth was formed in six 24-hour days but rather six long but finite periods of time? That the Bible makes 10 times more creation claims than all major “holy” books combined with no contradictions, while these other books have errors in them? The Bible stood alone by concurring with the big bang saying, “In the beginning God created the heaven and the earth” (Genesis 1:1); and says our universe is expanding, thousands of years before scientists discovered these things. Watch a potential life-changing video on the front page of http://WWW.BIBLEFREEDOM.COM with Astronomer(PhD) Hugh Ross explaining all these facts based on published scientific data. He has authored many books, backed even by atheist scientists.

    Jesus fulfilled more than 300 Messianic prophecies concerning His birth place, details of His life, His mission, His nature, His death, and His resurrection. He came to pay a debt that we could not, to be our legal justifier to reconcile us back to a Holy God; only if we are willing to receive Him: “For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord” (Romans 6:23).

    God so loved the world that He gave us His only begotten son, so that whoever believes in Him, through faith, shall not perish, but have everlasting life. Jesus says if we wish to enter into life to keep the commands! The two greatest commands are to love God with all your heart, soul, strength, and mind; and your neighbor as yourself. All the law hang on these commands. We must be born of and lead by the Holy Spirit, to be called children of God, to inherit the kingdom. If we are willing to humble ourselves in prayer to Jesus, to confess and forsake our sins, He is willing to give the Holy Spirit to those who keep asking of Him; giving us a new heart, leading us into all truth!

    Jesus came to free us from the bondage of sin. The everlasting fire was prepared for the devil and his angels due to disobedience to God’s law. If we do the same, what makes us any different than the devil? Jesus says unless we repent, we shall perish. We must walk in the Spirit, producing fruits of love and forgiveness, so we may not fulfill the lusts of the flesh being hatred, fornication, drunkenness and the like. Whoever practices such things will not inherit the kingdom (Galatians 5:16-26). If we sin, we may come before Jesus to ask for forgiveness (1 John 2:1-2). Evil thoughts are not sins, but rather temptations. It is not until these thoughts conceive and give birth by our hearts desire that they become sin (James 1:12-15). When we sin, we become in the likeness of the devil’s image, for he who sins is of the devil (1 John 3:8); but if we obey Jesus, in the image of God. For without holiness, we shall not see the Lord (Hebrews 12:14).

    The oldest religion in the world is holiness (James 1:27). What religion did Adam and Eve follow before the fall? Jesus, Who became the last Adam, what religion does He follow? Is He not holy? He never told us to follow any religion or denomination but to deny ourselves, take up our cross daily, and follow Him (Luke 9:23). There are many false doctrines being taught leading people astray. This is why we need the Holy Spirit for discernment. Unlike religion, holiness cannot be created. It is given to us from above by the baptism of the Spirit. Jesus is more than a religion; He is about having a personal relationship with the Father. Start by reading the Gospel of Matthew, to hear the words of God, to know His character and commandments. Follow and obey Jesus, for He is the way, the truth, and the life!

  9. Skyking, Skyking, this drop is your next piece of info. Immediately transceive the agency at your earliest convenience. No further information until next transmission. This is broadcast #8432. Do not delete.

  10. Alex9, this message is your next bit of information. Immediately transceive the agency at your earliest convenience. No further information until next transmission. This is broadcast #5629. Do not delete.

  11. Hiya, I’m really glad I have found this information. Today bloggers publish only about gossips and internet and this is really frustrating. A good web site with interesting content, that’s what I need. Thank you for keeping this site, I will be visiting it. Do you do newsletters? Can not find it.

  12. Heya just wanted to give you a brief heads up and let you know a
    few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue.
    I’ve tried it in two different web browsers and both show the same outcome.xxx gals (tinyurl.com)

Leave a Reply

Your email address will not be published. Required fields are marked *