Changes between Version 21 and Version 22 of ipv6vmconf


Ignore:
Timestamp:
May 14, 2017, 1:34:07 PM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ipv6vmconf

    v21 v22  
    1919 - Download and install virtualbox 5.0.x​
    2020 - Download the Virtual Hard disks from the LEARN mirror. You can get them by following links
    21     * [http://192.248.4.40/ipv6/campuslan.vdi campuslan.vdi]
    22     * [http://192.248.4.40/ipv6/FacAPC.vdi FacAPC.vdi]
    23     * [http://192.248.4.40/ipv6/FacBPC.vdi FacBPC.vdi]
     21    * [http://192.248.4.40/ipv6/CampusLAN.vdi CampusLAN.vdi]
     22    * [http://192.248.4.40/ipv6/Dept1PC.vdi Dept1PC.vdi]
     23    * [http://192.248.4.40/ipv6/Dept2PC.vdi Dept2PC.vdi]
    2424 - Note down the location of downloaded vdi files
    2525
     
    3232 - Then click on Continue button
    3333 - Set VM's memory size to '''1536MB''' and click on Continue button
    34  - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and browse to the location where you download the virtual hard disks. Then select the '''campuslan.vdi''' file and click on the create button.
     34 - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and browse to the location where you download the virtual hard disks. Then select the '''CampusLAN.vdi''' file and click on the create button.
    3535 - You will see a new virtual machine named CampusLAN appears on Virtual Box Manager Window
    3636
     
    4545 - On '''Adapter 3''' check the '''Enable Network Adapter''' . Then change '''Attached to be to''' the '''Internal Network''' and give the Name of the network as '''VLAN20'''. This virtual interface will connect to a internal virtual bridged network.
    4646 - Click on '''Advanced''' drop down list and change the promiscuous mode to '''Allow All'''
    47  - Click '''OK'''
    48 
    49 === Creating the VM FacAPC ===
     47Click '''OK'''
     48
     49====Adding processors ====
     50
     51
     52=== Creating the VM Dept1PC ===
    5053 - Start virtualbox and Click on '''New''' button (at top-right) to create new virtual machine
    51  - Enter name of the VM as '''FacAPC'''
     54 - Enter name of the VM as '''Dept1PC'''
    5255 - Select OS Type: '''Linux'''
    5356 - Select Version: '''Ubuntu (64-bit)'''
    5457 - Then click on Continue button
    5558 - Set VM's memory size to '''512MB''' and click on Continue button
    56  - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and '''browse''' to the location where you download the virtual hard disks. Then select the '''FacAPC.vdi''' file and click on the create button.
    57  - You will see a new virtual machine named FacAPC appears on Virtual Box Manager Window
     59 - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and '''browse''' to the location where you download the virtual hard disks. Then select the '''Dept1PC.vdi''' file and click on the create button.
     60 - You will see a new virtual machine named Dept1PC appears on Virtual Box Manager Window
    5861
    5962==== Setting up Network Interface ====
    60  - Select the FacAPC VM from left panel on Virtual box, right click and open '''Settings'''
     63 - Select the Dept1PC VM from left panel on Virtual box, right click and open '''Settings'''
    6164 - Click on the '''Network''' title
    6265 - On '''Adapter 1''' check the '''Enable Network Adapter''' . Then change '''Attached to be''' to the '''Internal Network''' and give the Name of the network as '''VLAN10'''. This virtual interface will connect to a internal virtual bridged network.
     
    6467 - Click '''OK'''
    6568
    66 === Creating the VM FacBPC ===
     69=== Creating the VM Dept2PC ===
    6770 - Start virtualbox and Click on '''New''' button (at top-right) to create new virtual machine
    68  - Enter name of the VM as '''FacBPC'''
     71 - Enter name of the VM as '''Dept2PC'''
    6972 - Select OS Type: '''Linux'''
    7073 - Select Version: '''Ubuntu (64-bit)'''
    7174 - Then click on Continue button
    7275 - Set VM's memory size to '''512MB''' and click on Continue button
    73  - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and '''browse''' to the location where you download the virtual hard disks. Then select the '''FacBPC.vdi''' file and click on the create button.
    74  - You will see a new virtual machine named FacBPC appears on Virtual Box Manager Window
     76 - Set VM's hard disk option to '''Use an existing virtual hard disk file''' and click the browse button and '''browse''' to the location where you download the virtual hard disks. Then select the '''Dept2PC.vdi''' file and click on the create button.
     77 - You will see a new virtual machine named Dept2PC appears on Virtual Box Manager Window
    7578
    7679==== Setting up Network Interface ====
    77  - Select the FacAPC VM from left panel on Virtual box, right click and open '''Settings'''
     80 - Select the Dept1PC VM from left panel on Virtual box, right click and open '''Settings'''
    7881 - Click on the '''Network''' title
    7982 - On '''Adapter 1''' check the '''Enable Network Adapter''' . Then change '''Attached to be''' to the '''Internal Network''' and give the Name of the network as '''VLAN20'''. This virtual interface will connect to a internal virtual bridged network.
     
    115118 address <Your IP Address >
    116119 netmask 255.255.255.0
    117  network 192.248.4.0
    118  broadcast 192.248.4.255
    119  gateway 192.248.4.254
     120 network 192.248.6.0
     121 broadcast 192.248.6.255
     122 gateway 192.248.6.254
    120123 dns-nameservers 192.248.1.161
    121124}}}
     
    128131{{{
    129132enp0s3    Link encap:Ethernet  HWaddr 08:00:27:8c:e0:26
    130           inet addr:<your IP address>  Bcast:192.248.4.255  Mask:255.255.255.0
     133          inet addr:<your IP address>  Bcast:192.248.6.255  Mask:255.255.255.0
    131134          inet6 addr: fe80::a00:27ff:fe8c:e026/64 Scope:Link
    132135          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     
    163166 - Try ping to some known hosts and see the results.
    164167{{{
    165 ping 192.248.4.254
     168ping 192.248.6.254
    166169ping 192.248.1.161
    167170ping www.google.com
    168171}}}
    169172
    170 ==== FacAPC VM ====
     173==== Dept1PC VM ====
    171174As this is a PC inside your virtual LAN it has a private IP address. The address is already configured. You can verify whether it is correct.
    172175
    173  - Select the '''FacAPC''' VM from left panel on Virtual box, right click '''Start''' and wait till the VM starts
     176 - Select the '''Dept1PC''' VM from left panel on Virtual box, right click '''Start''' and wait till the VM starts
    174177 - login to the machine using the following user credentials
    175178{{{
     
    198201}}}
    199202
    200 ==== FacBPC VM ====
     203==== Dept2PC VM ====
    201204As this is a PC inside your virtual LAN it has a private IP address. The address is already configured. You can verify whether it is correct.
    202205
    203  - Select the '''FacBPC''' VM from left panel on Virtual box, right click '''Start''' and wait till the VM starts
     206 - Select the '''Dept2PC''' VM from left panel on Virtual box, right click '''Start''' and wait till the VM starts
    204207 - login to the machine using the following user credentials
    205208{{{
     
    235238
    236239 - First login to CampusLAN VM.
     240 - Change to root user . Enter the command '''su'''. And give the password
     241{{{
     242su
     243password : <class password>
     244}}}
    237245 - Then start up the Dynamips server on your local machine
    238246{{{
    239 sudo dynamips –H 7100 &
     247dynamips –H 7100 &
    240248}}}
    241249hypervisor will run on port 7100
    242  - You can find the topology file in '''/var/dynamips/campuslan.net'''
     250 - You can find the topology file in '''/var/dynamips/campusLAN.net'''
    243251 - Run the topology file with dynagen
    244252{{{
    245 sudo dynagen /var/dynamips/campuslan.net
     253dynagen /var/dynamips/CampusLAN.net
    246254}}}
    247255 - Now you have the network topology running. Give the following command in dynagen
     
    252260{{{
    253261Name       Type       State      Server          Console
    254 AccessRt   3725       stopped    localhost:7100  2100
     262BorderRt   3725       stopped    localhost:7100  2100
    255263CampusCore 3725       stopped    localhost:7100  2200
    256264FacACore   3725       stopped    localhost:7100  2300
    257265FacBCore   3725       stopped    localhost:7100  2400
    258 FacASw     3725       stopped    localhost:7100  2500
    259 FacBSw     3725       stopped    localhost:7100  2600
     266Dept1Sw     3725       stopped    localhost:7100  2500
     267Dept2Sw     3725       stopped    localhost:7100  2600
    260268}}}
    261269 - You can see there are 6 devices. But none of them are running. You can also see the numbers of the ports which the console port of devices are running. This will also be helpful to you in next steps
     
    266274 - This Command will be helpful to know on which interface the devices are connected to each other
    267275{{{
    268 => show device AccessRt
    269 Router AccessRt is stopped
     276=> show device BorderRt
     277Router BorderRt is stopped
    270278  Hardware is dynamips emulated Cisco 3725 with 256 MB RAM
    271279  Router's hypervisor runs on localhost:7100, console is on port 2100
     
    279287 - Now you can start the devices. To start the devices use the start command
    280288{{{
    281 => start AccessRt
     289=> start BorderRt
    282290=> start CampusCore
    283291=> start FacACore
    284292=> start FacBCore
    285 => start FacASw
    286 => start FacBSw
     293=> start Dept1Sw
     294=> start Dept2Sw
    287295}}}
    288296