Changes between Version 20 and Version 21 of ipv6v4config


Ignore:
Timestamp:
May 14, 2017, 2:53:25 PM (8 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ipv6v4config

    v20 v21  
    5858Router(config)#
    5959}}}
     60'''note:''' If you get following error on !BorderRt,
     61{{{
     62%Error opening tftp://255.255.255.255/AccessRt-confg (Timed out)
     63}}}
     64Give the following command in the config mode
     65{{{
     66no service config
     67}}}
    6068
    6169You can now start making configurations.
    62  - First thing you have to add is the hostname of the device. Hostname is the device's identification. In this Lab device name is the same as host name. (Eg. CampusCore switch's hostname is CampusCore). Use the following command
     70 - First thing you have to add is the hostname of the device. Hostname is the device's identification. In this Lab device name is the same as host name. (Eg. !CampusCore switch's hostname is !CampusCore). Use the following command
    6371{{{
    6472hostname <device name>
     
    327335==== Core Network Layer====
    328336
    329 Let's start Configuring the connectivity between core network (!CampusCore, FacACore and FacBCore). We will start from CampusCore.
    330 
    331  - Login to CampusCore device. Give your console port password (class password)
     337Let's start Configuring the connectivity between core network (!CampusCore, FacACore and FacBCore). We will start from !CampusCore.
     338
     339 - Login to !CampusCore device. Give your console port password (class password)
    332340 - Go to config mode from user mode. Give your enable password (class password)
    333341 - Core network runs on VLAN 2. Create VLAN 2 and name it '''Core'''
     
    367375}}}
    368376
    369  - You have successfully configured the CampusCore device for you core networks connectivity. Let's move on to FacACore device.
     377 - You have successfully configured the !CampusCore device for you core networks connectivity. Let's move on to FacACore device.
    370378{{{
    371379FacACore(config)# vlan 2
     
    399407 - Finally Verify the connectivity
    400408   * Go to FacACore device
    401    * Go to privileged mode and ping CampusCore and FacBCore
     409   * Go to privileged mode and ping !CampusCore and FacBCore
    402410{{{
    403411ping 10.0.2.1
     
    501509==== Connecting LAN to the Router ====
    502510
    503 Your Campus LAN is connecting to the outside through a border router. Your CampusCore switch connects to this border router. In this link router's fast ethernet interface IP connects with the Core switch's vlan interface IP. Let's start configuring this link starting from the CampusCore.
    504 
    505  - Login to CampusCore switch and switch to config mode
     511Your Campus LAN is connecting to the outside through a border router. Your !CampusCore switch connects to this border router. In this link router's fast ethernet interface IP connects with the Core switch's vlan interface IP. Let's start configuring this link starting from the !CampusCore.
     512
     513 - Login to !CampusCore switch and switch to config mode
    506514 - Create VLAN 255 and name it Public
    507515{{{
     
    524532CampusCore(config-if)#exit
    525533}}}
    526  - Now you have done CampusCore configuration. Let's start routers Configuration.
    527  - Login to BorderRt Router and switch to config mode
     534 - Now you have done !CampusCore configuration. Let's start routers Configuration.
     535 - Login to !BorderRt Router and switch to config mode
    528536 - Router's IP allocation is as follows. You can get your Router's IP address from here
    529537||= Interface Name =||= IP Address =||
     
    546554BorderRt(config-if)#exit
    547555}}}
    548  - You have successfully finished connecting CampusCore to the BorderRt router. Let's verify the connectivity using the ping command.
    549  - Go to BorderRt and ping to CampusCore switch's VLAN 255 Interface IP
     556 - You have successfully finished connecting !CampusCore to the !BorderRt router. Let's verify the connectivity using the ping command.
     557 - Go to !BorderRt and ping to !CampusCore switch's VLAN 255 Interface IP
    550558{{{
    551559ping 10.0.255.253
     
    558566
    559567==== Routing ====
    560 If You go to the Dept1PC and try a Ping to Dept2PC (10.0.20.1) and BorderRt router LAN port(10.0.255.254), you will not get a reply. That is because your LAN has no routing in it. In this Lab we will enable OSPF in all the core switches and we will add default routes in all core devices and the router.
     568If You go to the Dept1PC and try a Ping to Dept2PC (10.0.20.1) and !BorderRt router LAN port(10.0.255.254), you will not get a reply. That is because your LAN has no routing in it. In this Lab we will enable OSPF in all the core switches and we will add default routes in all core devices and the router.
    561569
    562570 - Following are the default routes of the devices
    563571||= Device =||= Default Route IP =||= Description =||
    564 || BorderRt || 192.248.6.254 || This is Configured in the router in the Lab ||
    565 || CampusCore || 10.0.255.254 || BorderRt routers LAN interface IP ||
    566 || FacACore || 10.0.2.1 || CampusCore Switches VLAN2 Interface IP ||
    567 || FacBCore || 10.0.2.1 || CampusCore Switches VLAN2 Interface IP ||
     572|| !BorderRt || 192.248.6.254 || This is Configured in the router in the Lab ||
     573|| !CampusCore || 10.0.255.254 || !BorderRt routers LAN interface IP ||
     574|| FacACore || 10.0.2.1 || !CampusCore Switches VLAN2 Interface IP ||
     575|| FacBCore || 10.0.2.1 || !CampusCore Switches VLAN2 Interface IP ||
    568576|| Dept1PC || none || This is a L2 device ||
    569577|| Dept2PC || none || This is a L2 device ||
    570578|| Dept1PC || 10.0.10.254 || FacACore Switches VLAN10 Interface IP ||
    571579|| Dept2PC || 10.0.20.254 || FacBCore Switches VLAN20 Interface IP ||
    572  - Now let's enable OSPF on Core devices. Starting from CampusCore
    573     * Login to CampusCore switch and switch to config mode
     580 - Now let's enable OSPF on Core devices. Starting from !CampusCore
     581    * Login to !CampusCore switch and switch to config mode
    574582    * Define OSPF process and Process ID. In this lab use process ID as 1
    575583{{{
     
    595603CampusCore(config-if)# exit
    596604}}}
    597     * Now you have enable OSPF on CampusCore Switch. Now lets add the default Route.
     605    * Now you have enable OSPF on !CampusCore Switch. Now lets add the default Route.
    598606{{{
    599607CampusCore(config)# ip route 0.0.0.0 0.0.0.0 10.0.255.254
     
    634642}}}
    635643   * Both should give you a reply
    636  - add the BorderRt Routers default gateway
    637     * Go to BorderRt and switch to config mode
     644 - add the !BorderRt Routers default gateway
     645    * Go to !BorderRt and switch to config mode
    638646    * Add the default route
    639647{{{
    640648CampusCore(config)# ip route 0.0.0.0 0.0.0.0 192.248.6.254
    641649}}}
    642     * Verify the route by ping a known host from the BorderRt router
     650    * Verify the route by ping a known host from the !BorderRt router
    643651{{{
    644652ping 192.248.1.161
     
    648656
    649657==== Router Configuration ====
    650 Now you have complete most of the IPv4 Configurations. Go to DeptPC1 and try a ping to the DNS server (192.248.1.161). You will not get a reply. That is because your PC have a private IP. There must be a method to connect to the outside using a private IP. What we use here is adding a NAT in BorderRt router. There are different NAT types what we use here is the method called NAT overload. In this method we can assign set of local(private) IP's and overload it to a interface with a global(public) IP. So the outside the network will see the traffic coming from local IP's as traffic coming from the global IP. Let's add this configuration to your router.
    651  - Login to BorderRt Router and switch to config mode
     658Now you have complete most of the IPv4 Configurations. Go to DeptPC1 and try a ping to the DNS server (192.248.1.161). You will not get a reply. That is because your PC have a private IP. There must be a method to connect to the outside using a private IP. What we use here is adding a NAT in !BorderRt router. There are different NAT types what we use here is the method called NAT overload. In this method we can assign set of local(private) IP's and overload it to a interface with a global(public) IP. So the outside the network will see the traffic coming from local IP's as traffic coming from the global IP. Let's add this configuration to your router.
     659 - Login to !BorderRt Router and switch to config mode
    652660 - Let's define the local IP set in a ACL.
    653661{{{
    654662BorderRt(config)#access-list 1 permit 10.0.0.0 0.0.255.255
    655663}}}
    656  - Then dd the NAT entry. In your router public IP is assign to FastEthernet 0/1 interface
     664 - Then dd the NAT entry. In your router public IP is assign to !FastEthernet 0/1 interface
    657665{{{
    658666BorderRt(config)#ip nat inside source list 1 interface FastEthernet0/1 overload
     
    667675BorderRt(config-if)#exit
    668676}}}
    669  - Finally add a static route in the router so that the traffic coming to our defined network will redirect to CampusCore switch
     677 - Finally add a static route in the router so that the traffic coming to our defined network will redirect to !CampusCore switch
    670678{{{
    671679BorderRt(config)#ip route 10.0.0.0 255.255.0.0 10.0.255.253