Changes between Version 16 and Version 17 of Cnbp2019/Agenda/NetworkSetup


Ignore:
Timestamp:
Feb 26, 2019, 5:22:22 PM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Cnbp2019/Agenda/NetworkSetup

    v16 v17  
    136136You can now start making configurations.
    137137
    138  - The first thing you have to add is the hostname of the device. The hostname is the device's identification. In this Lab device name or the hostname is automatically configured based on the GUI edits we did previously. If you want to change it you may use
     138 - The first thing you have to add is the hostname of the device. The hostname is the device's identification. In this Lab, device name or the hostname is automatically configured based on the GUI edits we did previously. If you want to change it you may use
    139139{{{
    140140hostname <device name>
    141141}}}
    142142
    143  - Then let's give a enable secret. Which is a password you set when you go to the privileged mode from the user mode? We will use the '''class password''' as the enable secret
     143 - Then let's give a enable secret. Which is a password you set when you go to the privileged mode from the user mode? We will use the '''<class password>''' as the enable secret
    144144{{{
    145145enable secret <class password>
     
    172172}}}
    173173 - Finally let's enable ssh (version 2) in the device. Type '''exit''' to go back to previous mode (config mode) from line console config mode
    174     * Configure a domain name. Use '''instXY.learn.ac.lk''' for this lab where XY is your group id.
    175 {{{
    176 ip domain name instXY.learn.ac.lk
     174    * Configure a domain name. Use '''instXY.ac.lk''' for this lab where XY is your group id.
     175{{{
     176ip domain name instXY.ac.lk
    177177}}}
    178178    * Create an ssh user with a password. In here we will use the username admin with the class password
     
    226226
    227227
    228 - On switch FAC2 we have only one routed port. Get the IP from the [#point1 table]
    229 
     228* On switch FAC2 we have only one routed port. Get the IP from the [#point1 table]
    230229   * Link to FAC1
    231230
     
    242241    * On FAC1, Define OSPF process and Process ID. In this lab use process ID as 1
    243242{{{
     243FAC1(config)#ip routing
    244244FAC1(config)#router ospf 1
    245245}}}
     
    248248FAC1(config-router)#router-id 10.XY.2.1
    249249}}}
    250     * You are announcing to the whole core network (10.XY.0.0/24) in area 2. Use this command for this
    251 {{{
    252 FAC1config-router)#network 10.XY.0.0 0.0.0.255 area 2
     250    * You are announcing to the default route via FAC1. Use this command for this
     251{{{
     252FAC1config-router)#default-information originate
    253253FAC1(config-router)#exit
    254254}}}
     
    267267    * Give the router ID, this will be the same as ipv4 ospf router ID for simplicity
    268268{{{
    269 FAC1(config-rtr)#router-id 10.0.2.1
    270 }}}
    271     * You are going to announce the subnets which are directly connects to you. Use this command for that,
    272 {{{
    273 FAC1(config-rtr)#redistribute connected
     269FAC1(config-rtr)#router-id 10.XY.2.1
     270}}}
     271    * You are going to originate the default route too. Use this command for that,
     272{{{
     273FAC1(config-rtr)#default-information originate
    274274FAC1(config-rtr)#exit
    275275}}}
     
    278278FAC1(config)ipv6 route ::/0 2401:DD00:20XY:1::FFFF
    279279}}}
    280 
    281  - Follow the same steps in FAC2
    282    
    283 {{{
     280   * Assign ospf to Ports on FAC1
     281{{{
     282FAC1(config)#int fa 0/0
     283FAC1(config-if)#ip ospf 1 area 2
     284FAC1(config-if)#ipv6 ospf 1 area 2
     285FAC1(config-if)#exit
     286}}}
     287   * Configure routing on FAC2   
     288{{{
     289FAC2(config)#ip routing
    284290FAC2(config)#router ospf 1
    285291FAC2(config-router)#router-id 10.XY.3.1
    286 FAC2(config-router)#network 10.XY.0.0 0.0.0.255 area 2
    287292FAC2(config-router)#exit
    288293FAC2(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.6
    289294FAC1(config)# ipv6 unicast-routing
    290295FAC1(config)#ipv6 router ospf 1
    291 FAC2(config-rtr)#router-id 10.0.3.1
    292 FAC2(config-rtr)#redistribute connected
     296FAC2(config-rtr)#router-id 10.XY.3.1
    293297FAC2(config-rtr)#exit
    294 FAC1(config)ipv6 route ::/0 2401:DD00:20XY:2::FFFF
     298FAC2(config)#int fa 0/1
     299FAC2(config-if)#ip ospf 1 area 2
     300FAC2(config-if)#ipv6 ospf 1 area 2
     301FAC2(config-if)#exit
    295302}}}
    296303