Sunday, February 17, 2019

DHCP Simple Configuration

DHCP Protocol


-Dynamic Host Configuration Protocol or DHCP is based on client/server architecture.

-DHCP works on port 67 server side and 68 client side

-Its fundamental function is assigning IP addresses to clients and users in the same network automatically referring to pre-configured parameters in the server side itself.

-DHCP can be configured on a dedicated DHCP Server or it can be implemented virtually on a virtualised environment, on a router, firewall or even a switch, this choice will be made referring to the architecture that an enterprise is based on.

DHCP configurations on a Cisco router:

Under the privileged mode:

#service DHCP   

!--Enables the DHCP service on a router--!

#ip dhcp pool POOL1 
#network 10.0.0.0 255.255.255.0

!-- The router in this step will assign IP addresses in the network 10.0.0.1 to 10.0.0.254--!

#default-router 10.0.0.254
#lease 10

!--The gateway each machine will get automatically is 10.0.0.254 and each address will be reserved on the client for 10 days--!

#show IP DHCP binding

!-- This command displays each association between the distributed IP address and the machine that obtained it --!


This architecture describes the relation between the dhcp server existing on the Top which is going to distribute IP Addresses From 10.0.0.2 To 10.0.0.253 and is going to make a lease of 10 days to each user than we find the router who presents a bridge that redirects dhcp traffic to the local network through the switch which creates and ARP table that presents the relations between the mac addresses and the ip address assigned to the pc dynamically and each change of the address mac will be followed by a change on the ARP table of the switch



Saturday, February 16, 2019

Software Defined-Wide Area Network

 Software Defined-Wide Area Network

Overview of SD-WAN


Definition:

SD WAN* seperates a network equipement DATA Plane  from his CONTROL Plane, it is the same concept of virtualisation and likewise the main reason that lead to it`s implementation is basically to facilitate network management and operation.


Companies that use SD WAN have the ability to build high performance Extended Networks with lower costs although with this technology expenses will be reduced.


The most common technology that big companies use is MPLS* which costs companies lots and lots of money depending on the contract and the type of MPLS connection.



SD WAN combines Central Management and Redundant connection links, which influences on the bandwidth sharing accross multiple network nodes dynamically.


There are also other enhancements that include central controllers, integrated analytics and on demand circuit provisionning.

Using the cloud for network intelligence centralizes network security and policy management.


SD WAN Architecture 




* Acronym 
SD WAN = Software-Defined Networking in a Wide Area Network
MPLS = MultiProtocol Label Switching

Thursday, February 7, 2019

Cisco Trunking and switching:Router on a stick (Part2)


Router on a stick 
(Part 2)

Introduction

This is a beginner course that talks about router on a stick topology and is devided on 3 parts, each part will contain certain tasks to do, after finishing these three parts you will be able to configure a router on a stick topology using CiscoPacketTracer.


Today we are covering the second part of configurations,that will include adding  a router to our topology and assigning IP addresses to local user machines.

Task 4 - Configure static IP addresses to user machines.
Task 5 - Configure two sub-interfaces on the router.
Task 6 - Ping hosts
Please note that this lab was created with CiscoPacketTracer.


Task 4 : Configure static IP addresses to user machines

Here we added some configurations


On PC1
Click on PC1 -> select IP configuration
than add addresses as follows

IP Address: 10.10.10.10
Mask: 255.255.255.0

Gateway :10.10.10.1

On PC0
Click on PC0-> select IP configuration
than add addresses as follows

IP Address: 20.20.20.20
Mask: 255.255.255.0

Gateway:20.20.20.1

Task 5 - Configure two sub-interfaces on the router.

To configure the router these commands must be entered

interface GigabitEthernet0/0/1.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
!
interface GigabitEthernet0/0/1.20
encapsulation dot1Q 20

ip address 20.20.20.1 255.255.255.0

Then activate the port G0/0/1 by issuing

#int g0/0/1
#no shutdown (or no sh)

This is the new topology:


Task 6 - Ping hosts

On PC 1:
click on PC1-> select command prompt
than issue this command 
>ping 20.20.20.20 //Now PC1 and PC0 are communication through the router

This result will appear





That means our two PCs see each other.

In the Next Lab we'll be digging into details and issuing some troubleshooting commands.

Thank you for viewing.

Cisco Trunking and switching:Router on a stick (Part1)


Router on a stick 
(Part 1)

Introduction

This is a beginner course that talks about router on a stick architecture and is devided on 3 parts, each blog will contain certain tasks to do and after finishing the three parts you will be able to fully configure a router on a stick topology using CiscoPacketTracer.


Today we are covering a very simple task and that will be configuring vlans, access and trunk ports in a switch.

Task 1 - Create two vlans
Task 2 - Configure a port in Vlan 10 and a port on vlan 20.
Task 3 - Configure a port as a Trunk.

Please note that this lab was created with CiscoPacketTracer, also all of the mentioned configurations were issued on the same switch.

Let's jump into it !!

Task 1 : Create two Vlans 

To configure vlans 10 and 20 we need to enter these commands on configuration mode:

(config)#vlan 10
(config)#name IT

(config)#vlan 20 
(config)#name HumanResources


Task 2 - Configure a port in Vlan 10 and a port on vlan 20.

To configure a port in a specified static vlan the commands are;

Under config mode (To access this mode enter configure terminal command):

(config)#interface f0/1
(config)#switchport mode access
(config)#switchport access vlan 10

(config)#interface f0/2
(config)#switchport mode access
(config)#switchport access vlan 20


Verifying our configuration:
To do so issue the command

(config)#do show vlan or (do sh vl)




Task 3: Configure a port as a Trunk.

(config)#interface f0/24
(config)#switchport mode trunk
(config)#switchport trunk allowed vlan 10-20

Verifying our config:
We need to issue the #do sh run command and jump to the port f0/24






In the Next Lab we are going to assign IP addresses to the machines connected to the switch and add a router to our topology.

Thank you for viewing.


Cisco Identity Services Engine (ISE)

Introduction to Cisco Identity Services Engine (ISE) Cisco Identity Services Engine (ISE)  Cisco Identity Services Engine (ISE) is...