Spiga

CS-Mars V6.0 in VMWARE (Franken Mars)

CS-Mars V6.0 in VMWARE (Franken Mars)

Tags: Cisco, cs-mars, franken, Linux, Security
http://netemu.cn/bbs/forum-449-1.html
Bookmark: Share/Save
Emulating software is a very grey area for Cisco, they make their money by selling boxes so I guess officially Cisco don’t approve of things like GNS3 and PEMU. BUT cisco make a lot of their money from techies training in Cisco products who then get their management to buy boxes their certified in, as a result cisco appear to turn a blind eye to emulating their products for personal training purposes

So, I’m installing a CS-Mars box in the next couple of weeks and wanted to know what’s new in version 6. How to setup version 4 is already document here in this franken cs-mars guide, the thing is to upgrade from 4 to 6 is a re-image of the box. Upon re-imaging my VMWare appliance I realised that the lilo commands linux rw init=/bin/bash didn’t appear to work anymore. As a result I have a v6 mars box I can’t use due to a licensing problem.

To get this working read through both the old instructions, and what I have written.

The init/boot sequence of a mars box looks very much like a centos/fedora boot, so I thought up a cunning new plan. I downloaded the 1st installation CD of centos 5, after booting this CD instead of hitting “enter” and running the anaconda installer I typed linux rescue, this boots my appliance into a root linux shell. (See Update Below, boot from CentOS straight after MARS installs, don’t let MARS boot!)

What happened next was a little hit and miss, if you’re lucky you can type

mkdir /mnt/opt
mount /dev/md2 /mnt/optyou can then

cd /mnt/opt/janus/release/bin
mv pnlicense pnlicense.org
echo “/bin/echo d84f7ceaf50f9c45683e2efb77752d4f:License verified:4:0:0:4″ > pnlicense
chmod +x pnlicense
as per the old documentation.

If you’re unlucky this “mount” will fail, in this case ls /mnt/sysimage if you can’t see any files issue mount /dev/md1 /mnt/sysimage otherwise the plan is to change the root password so that we can edit the pnlicense file later.

Using vi edit /mnt/sysimage/etc/passwd, and change…

pnadmin:x:500:500::/opt/janus/release/bin:/opt/janus/release/bin/pnsh
for

pnadmin:x:500:500::/opt/janus/release/bin:/bin/bash
Next, setup your editor variable, and edit the suders file…

EDITOR=/mnt/sysimage/bin/vi;export EDITOR
visudo -f /mnt/sysimage/etc/suders
and add..

pnadmin ALL=(ALL) NOPASSWD: ALL
Reboot by exiting the shell.

After the reboot login as pnadmin, you should now get a standard linux bash shell rather than the “hardened” cisco one. Change the root password…

sudo su
passwd root
And put /etc/password back to how it was. Now from the “pn shell” you can type expert and your root password will work and you’ll have root access to your mars box. With you new root access you can change the pnlicense file as described before and complete the setup process.

CCNA v4. Chapter 6 - Semester 2




1


What does VLSM allow a network administrator to do?

  • utilize one subnet mask throughout an autonomous system

  • utilize multiple subnet masks in the same IP address space

  • utilize IGRP as the routing protocol in an entire autonomous system

  • utilize multiple routing protocols within an autonomous system



2


Refer to the exhibit. A network administrator needs to create two subnetworks from 10.0.0.0/8 for a router running RIPv2. The Admin subnet requires 120 hosts and the Sales subnet requires 58 hosts. The network administrator assigned 10.0.1.128/25 to the Admin subnet. The Sales subnet is given 10.0.1.192/26. What will be the result of this addressing scheme?


  • Because RIPv2 does not support VLSM, the subnet masks will not be allowed.

  • The subnets will not have enough host addresses for the given network requirements.

  • The subnets overlap and will be rejected by the router.

  • The router will support the addressing scheme.





3


A network administrator is tasked with dividing up a class C network among the QA, Sales, and Administration departments. The QA department is made up of 10 people, the Sales is made up of 28 people, and the Administration has 6. Which two subnets masks adequately address the QA and Sales departments? (Choose two.)

  • 255.255.255.252 for QA

  • 255.255.255.224 for Sales

  • 255.255.255.240 for QA

  • 255.255.255.248 for QA

  • 255.255.255.0 for Sales





4


Which three interior routing protocols support VLSM? (Choose three.)

  • OSPF

  • RIP v1

  • RIP v2

  • EIGRP

  • BGP

  • STP



5


Refer to the exhibit. What subnet mask will be applied if Router A sends a RIPv1 update for the network 172.16.1.0 to Router B?

  • none

  • 8

  • 16

  • 24



6


What two advantages does CIDR provide to a network? (Choose two.)

  • reduced routing table size
  • dynamic address assignment
  • automatic route redistribution
  • reduced routing update traffic
  • automatic summarization at classful boundaries



7


A Class C address has been assigned for use in the network shown in the graphic. Using VLSM, which bit mask should be used to provide for the number of host addresses required on Router A, while wasting the fewest addresses?

  • /31

  • /30

  • /29

  • /28

  • /27

  • /26



8


Refer to the exhibit. Which address is a broadcast address for one of the subnets that are shown in the exhibit?

  • 192.168.4.3/29

  • 192.168.4.15/29

  • 192.168.4.65/26

  • 192.168.4.255/24



9


Refer to the exhibit. A network technician enters the static route in R1 needed to reach network 10.1.1.0/24. A ping from the S0/0/0 interface on R1 to host B fails. The technician begins testing the network and has the following results:

1. pings from R1 to the S0/0/0 interface on R2....successful
2. pings from R1 to the Fa0/0 interface on R2....successful
3. pings from host B to hosts on the 10.1.1.0/24 network....successful
4. pings from host B to the Fa0/0 interface on R2....successful
5. pings from R2 to host B....successful.

What is the likely cause of the failure of the ping from R1 to host B?

  • The default gateway on host B is not correctly set.
  • There are no routes back to networks connected to R1 from R2.
  • There is a Layer 2 problem between R2 and host B.
  • Host B has a defective Ethernet card.



10


Refer to the exhibit. In the network that is shown, the router interfaces are assigned the first address in each subnet. Which IP address would be usable for a host on one of the LANs in this network?

  • 192.168.1.5/30

  • 192.168.2.17/28

  • 192.168.2.63/27

  • 192.168.2.130/25



11


Refer to the exhibit. The network administrator wants to create a subnet for the point-to-point connection between the two routers. Which subnetwork mask would provide enough addresses for the point-to-point link with the least number of wasted addresses?

  • 255.255.255.192
  • 255.255.255.224
  • 255.255.255.240
  • 255.255.255.248
  • 255.255.255.252



12


Which of the following problems does VLSM help to alleviate?

  • the shortage of IP addresses
  • the difficulty of assigning static IP addresses to hosts in large enterprises
  • the complexity of implementing advanced routing protocols such as OSPF and EIGRP
  • the shortage of network administrators qualified in the use of RIP v1 and IGRP



13


Refer to the exhibit. A network engineer is summarizing the two groups of routes on router R1 shown in the exhibit. Which summarization will work for all the subnets?

  • 192.168.0.0/23

  • 192.168.0.0/22

  • 192.168.0.0/21

  • 192.168.0.0/20



14


Which of the following are contained in the routing updates of classless routing protocols? (Choose two.)

  • 32-bit address
  • next hop router interface
  • subnet mask
  • unicast host address
  • Layer 2 address



15


Refer to the exhibit. The number of required host addresses for each subnet in a network is listed in the exhibit. This number includes the host address requirements for all router ports and hosts on that subnet. After all device and router port address assignments are determined, what will be the total number of unused host addresses available?

  • 6
  • 14
  • 29
  • 34
  • 40
  • 62



16


An additional subnet is required for a new Ethernet link between Router1 and Router2 as shown in the diagram. Which of the following subnet addresses can be configured in this network to provide a maximum of 14 useable addresses for this link while wasting the fewest addresses?

  • 192.1.1.16/26
  • 192.1.1.96/28
  • 192.1.1.160/28
  • 192.1.1.196/27
  • 192.1.1.224/28
  • 192.1.1.240/28



17


A router has a summary route to network 192.168.32.0/20 installed in its routing table. What range of networks are summarized by this route?

  • 192.168.0.0 – 192.168.32.0/24
  • 192.168.0.0 – 192.168.47.0/24
  • 192.168.32.0 – 192.168.47.0/24
  • 192.168.32.0 – 192.168.48.0/24
  • 192.168.32.0 – 192.168.63.0/24



18


In the network shown in the graphic, three bits were borrowed from the host portion of a Class C address. How many valid host addresses will be unused on the three point-to-point links combined if VLSM is not used?

  • 3
  • 4
  • 12
  • 36
  • 84
  • 180



19


Refer to the exhibit. The network administrator wants to minimize the number of entries in Router1’s routing table. What should the administrator implement on the network?

  • VLSM
  • CIDR
  • private IP addresses
  • classful routing



20


What is a supernet?

  • the network for a default route
  • a summarization of classful addresses
  • a network that contains both private and public addresses
  • a set of discontiguous networks that are controlled by an ISP