Juniper VMX虚拟路由器
Vmware Workstation 9
通过SecureCRT的方式SSH登录到VMX路由器,在登录路由器之前,需要开启SSH服务、及配置接口的IP地址服务。如下所示:[edit]root@JNCIP-Lab# show system services | display set set system services ftpset system services sshset system services telnet connection-limit 5[edit]root@JNCIP-Lab# show interfaces | display set set interfaces ge-0/0/0 unit 0 family inet address 192.168.136.15/24记得通过VmwareWorkstation的虚拟网卡关联到VMX的网卡。
从电脑端测试Ping,是否可以到达VMX路由器:
打开SecureCRT登录界面,登录到VMX路由器
使用Root帐号登录时,显示的是%层次,如下所示:root@JNCIP-Lab%root@JNCIP-Lab%进入到配置模式:root@JNCIP-Lab> configure Entering configuration mode[edit]root@JNCIP-Lab#
现在单独的登录到r1和r2进行Ping的测试:root@JNCIP-Lab% cli root@JNCIP-Lab> set cli logical-system r1 Logical system: r1root@JNCIP-Lab:r1> root@JNCIP-Lab% cli root@JNCIP-Lab> set cli logical-system r2 Logical system: r2root@JNCIP-Lab:r2> root@JNCIP-Lab:r1> ping 10.0.4.6 count 5 rapid PING 10.0.4.6 (10.0.4.6): 56 data bytes!!!!!--- 10.0.4.6 ping statistics ---5 packets transmitted, 5 packets received, 0% packet lossround-trip min/avg/max/stddev = 2.404/4.491/6.835/1.473 msroot@JNCIP-Lab:r2> show arp MAC Address Address Name Interface Flags00:05:86:71:a9:03 10.0.4.1 10.0.4.1 ge-0/0/2.23 none00:05:86:71:a9:01 10.0.4.5 10.0.4.5 ge-0/0/2.12 none
VmwareWorkstation建议使用版本9,高版本可能不稳定,出现不通的情况
VMX的版本也不要选择太高,过高的版本对电脑配置要求也高