Search This Blog

Wednesday, 7 September 2022

VLAN Implementation Methods

 VLAN Implementation Methods

Frame Filtering:  It is a VLAN implementation technique a unique identifier is placed in the header of each frame. It learns which host belongs to which VLAN by exchanging the switching tables. In a network where we have many VLANs will consume a large CPU and memory because the switch needs to process long switching tables which slows down the performance of the network.

Here we have multiple PCs connected to these switches through VLAN 1 and VLAN 2, The VLANs have been mapped against the MAC address which shows which MAC address belongs to which VLAN.

Frame Tagging VLAN

This is considered the method for VLAN configuration and is widely used, where a VLAN tag is added to a frame to identify which frame belongs to which network. The VLAN tag is added to the frame when the frames reach a switch through an access port and when this frame is going out of a trunk link, the frame tag is removed, and the frame is then delivered to the desired destination.

 

The port whose frames are tagged with a specific VLAN ID becomes a member of the same VLAN and the frame processing for all the frames entering from them is the same.

 

VLAN as Mechanism for Security

Network segmentation with VLAN break big networks into small network with their own broadcast domains and every user gets connected to its own network. The VLANs only communicate with the host within the same VLAN and can not communicate with the host in other networks. This feature introduces security in the network.

Apart from this, we can also use layer-II security features like port security features to enhance protection in the network.

VLAN Membership Static/Dynamic

VLANs can be configured as both dynamic and static.

Static VLANs:  In static VLAN a device is connected to a configured port of the switch to join a virtual LAN and become a member of the network.

·         Here the ports to VLAN are manually configured.

·         Users can connect from anywhere through a member port.

·         Time-consuming while identifying member ports in closets.

Dynamic VLANs:   Based on the MAC address of the connected device switchport assigns VLAN if the device MAC has been configured with the VLAN.

·         Making and maintaining the MAC address database can be difficult.

·         Less effort is required to connect the device to the network in closets.

·         Central notification when unknown devices are connected.

Dynamic VLANs are more susceptible to security risks as MAC Addresses can be spoofed easily but static VLANs are more secure and greater security can be added by configuring port security also.

 

Link State VS Distance Vector Protocols and Routing Metrics

 Compare and Contrast Link State and Distance Vector Protocols.

Link State Protocols: Link state protocols are those protocols in which every router knows the topology of the network and the cost of every link. This information is transmitted to one router from its neighboring routers via broadcasting the link state packets. Link state packet contains the information of link cost and identities of every directly connected network.

After gathering all the network information every router executes an algorithm called the Dijkstra Algorithm to find the shortest path to every network considering the link cost from the source to the destination network.

Distance Vector Protocols: These are the protocols that receive information from its directly connected neighboring routers only. Thus, they have a local view they do not know about the network topology but rather depend on the information received from their neighboring routers. The distance vector routers share their whole routing table periodically every 30 mins. When a router receives different information from the previous information it recalculates its routing table again.

Advantages and Disadvantages of Link state and Distance Vector Protocols

Link State Routing Protocols

Link State Protocols

Advantages

Dis-Advantages

Best suited for large networks due to good scalability

Link-state has smaller routing tables

and lower convergence time makes without routing loops due to the availability of a global view.

Do not share updates until any change in the network

Link state databases can be minimized by diving the network into different areas.

for a fluctuating network, updates are shared continuously which even chokes the network

Link state packets are well sequenced and show the age of the last update also.

Needs good network knowledge to implement link state routing protocols.

 

Distance Vector Protocols

Distance Vector Protocols

Advantages

Dis-Advantages

Less expertise is required for implementation

Slow convergence time, routing updates are shared after every 30 s.

Less resource consumption like low CPU and memory is required

Not suited for large networks due to slow convergence and limit to 15 hops only

Suited for small networks as less bandwidth is required to send routing updates as the size of packets is small

Routing loops can occur due to slow convergence during a network change.

 

Routing Loop

The routing loop is one of the major issues that may occur in a network. In a routing loop, a packet is continuously routed through the network without delivering it to a destination. Thus, the packet routes in a circle endlessly and can prove damaging for the network by consuming network bandwidth unnecessarily.

If a packet enters a network with loops and loops are already consuming a good part of the bandwidth, then the new packet to a different network will also face delays and high latency. If the packet belongs to the already looped network, then the packet will route in a loop contributing to destroying the network performance.

We have a few methods to avoid routing loops, as mentioned below.

·         Maximum Hop Count

·         Spilt Horizon

·         Route poisoning

·         Hold down timers.

These technologies are already existing in the protocols are we can fine-tune a few parameters like manipulating the hold-down timer etc. to avoid routing loops. 

Routing Protocol Path Selection.

 Every protocol has a different metric for the best path selection and a metric is a value that every protocol assigns to every path depending upon its usefulness.

The routing protocol RIP has a metric of Hop count which means that it does not check the quality of a link, it just checks the least number of routers between the source and destination networks.

In the case of OSPF routing protocol, it must do nothing with a number of hops, it checks the bandwidth and delays on a link, or called the cost of a link. It selects the path with the least cost.

Therefore, the metric of protocols is not comparable and under the same conditions, they select different paths.

DESIGN & IMPLEMENTATION OF A DATA CENTER NETWORK

1.      Introduction

 This task is a data center network design for “Future Technologies” an imaginary company. The company is having three offices located in three different regions of the country. The regions are named North, and South Regions, and the Head Quarter. The company is providing different IT services to its clients; therefore, they have deployed different servers like cloud hosting servers, Storage Servers, FTP Servers, Email Servers, DNS, and Application Servers.

The data centers have been deployed in different regions to provide high-speed and high-capacity services to their customers at very low latency. Meanwhile, it is a challenge for the company to deploy expert resources in all regions. Therefore, the company has got services of an ISP to connect the data centers with their Head Quarter for centralized Management.       

Different technologies and media have been used to make the data center a reliable network that clients can trust and buy services of this company. We have designed a highly scalable and reliable network to maximize the network availability 100%.

 Network Topology Diagram

 The network has been designed to provide services to clients at a very fast pace and up to customer satisfaction. High-speed interfaces and physical media have been used to minimize the limits of bandwidth and latency.


All connections with ISP are based on optical fibers and the theoretical capacity of fiber is unlimited so we have a very good benefit even when the traffic increases in the future. We need to enhance the capacity of a few pieces of equipment, but we don’t need to change the ISP connection when expansion is required.

We have paid special attention to the security and network surveillance in the data center to record all activities and ensure security. Therefore, CCTV Cameras have been installed, all doors are access control system managed, and only authorized people can enter the data center.  Fans and lights are also integrated with the IoT server for centralized management.    

This reduction is highly reliable, secure, and low cost due to the control of temperature lights, etc.  Another feature involves high redundancies and scalability.   

3.1 North Data Center Network       

Below is the network designed for the North region data center where we can see multiple servers installed. These are the Web server, DNS Server, Email Server, and application server. We have connected the end servers with two uplink interfaces for high availability. If one of the paths gets down the network will remain working, and no outage can be observed.      

The IoT devices are connected through Wi-Fi links over a separate VLAN. An access point has been connected to provide an SSID/Password to get the device connectivity.  


3.2 South Data Center Network     

The south Data center is also a robust design with some other servers that are IOT Server, Storage Server, FTP Server, and Cloud Server. These Servers are used to provide services to company clients. All the management IoT devices are being managed devices through the centralized IoT Server.       


  3.3 Head Quarter Network Design-1

The company is having different department at the head Quarter for management of the company resources and the IT department looks at overall networks. Below are the departments located on one floor in the headquarters.

       

  3.4. Head Quarter Network Design-2

This is the design for H/Q floor-2 showing the three departments and the IoT device connecting to provide automation services to the staff and company.


4 Network Design Features

5 IP Address Planning

IP address planning is one of the most important steps of a good network design. We have used private IP addresses for all the internal networks and all the connectivity with the ISP are public IP addresses. 

All the subnets for different departments are class “C” /24 network that is aimed for future expansion support. Below are the different.

VLAN Name

VLAN ID

IP Subnet

IOT_NDC

VLAN 10

192.168.10.0/24

Servers_N

VLAN 20

192.168.20.0/24

 IOT_SDC

VLAN 30

192.168.30.0/24

Server_S

VLAN 40

192.168.40.0/24

IT_Admin

VLAN 50

192.168.50.0/24

Marketing

VLAN 60

192.168.60.0/24

Sales

VLAN 70

192.168.70.0/24

 IOT_H/Q

VLAN 80

192.168.80.0/24

Accounts

VLAN 90

192.168.90.0/24

HR

VLAN 100

192.168.100.0/24

Management

VLAN 110

192.168.110.0/24

Point to Point

Router-MLS interfaces

10.10.10.0/28

Point to Point

Router-ISP

182.182.0.0/28













Each VLAN represents a different network and all the IP addresses from that network will be having same network IP and different host IPs. The above-designed network is a highly flexible network where we are using two different IP addressing schemes. Routers have been configured as the DHCP server to provide the dynamic IP addresses to the H/Q network. All the servers have been assigned static IP addresses.

Network Technologies

The network technologies that have been used in the topology are listed below. The selection of these technologies and protocols has been made according to the requirement of this network design.

  • ·         Basic Device Hardening.
  • ·         Layer-II Port Security.
  • ·         VTP Protocol Configuration
  • ·         VLAN Configuration
  • ·         Layer-III IP Routing
  • ·         Switchport Trunking
  • ·         DHCP Configuration on Layer-III Switches.
  • ·         Ether Channel Configuration.
  • ·         HSRP Protocol Configuration.
  • ·         OSPF Routing Protocol Configuration
  • ·         Telnet Configuration for Remote Management.
  • ·         WLAN IoT Device Configuration.
  • ·         IOT Server Configuration
  • ·         Web Server Configuration
  • ·         DHCP Server Configuration
  • ·         Email Server Configuration

6.1 Basic Device Hardening

Device hardening is referred to the basic security parameters of network devices to establish security against unattended access and damaging network integrity. We have secured all lines to access a switch or router and the configuration is done as below.


The above configuration has been copied to all switches and routers which shows that we have configured Banner, enable password, line console password, line vty password, and remote accesses over telnet.

6.2 Layer-II Port Security.

Port security is configured on the layer II switches to protect network access from unauthorized devices. We have allowed only the currently connected devices any other devices than this will not be allowed to connect with a switch and the administrator will be alerted regarding the activity.

6.3 VTP Protocol Configuration

VTP is a VLAN Trunking protocol for making the VLAN configuration process fast by making one of the switches as a server and the other switches' clients. Any VLAN configured on the server will also be created on the clients automatically.

VTP Server 


VTP Client

6.4 VLAN Configuration

VLANs have been configured in the network to divide the network into segments that introduce many benefits in terms of security, scalability, and resiliency. Below VLANs have been configured on the switches.


6.5 Layer-III IP Routing

The layer-III Ip routing has been enabled on the multi-layer switches for enabling inter-VLAN communication. Below is the configuration done for this purpose.


6.6 DHCP Configuration

We have configured DHCP on the multi-layer switches to provide redundancy at the first hop. The configuration has been done as below. All IPs that we don’t want the DHCP server to assign have been excluded.



6.7 Ether Channel Configuration.

Ether channels have been configured to enhance bandwidth and redundancy. Configuration has been done as below. 

6.8 HSRP Protocol Configuration.

We configure HSRP for providing redundancy at the first hop by configuring the Host standby routing protocol (HSRP). Configuration for this has been done at the multi-layer switches. One of the switches is working as the Active switch and the other switch is acting as the Back-Up switch.


6.9 OSPF Routing Protocol Configuration

OSPF is the most loved enterprise network protocol, we have configured OSPF on all routers to advertise the connected routes of the routers. The configuration has been done as below.


6.10 Telnet Configuration for Remote Management.

Telnet is used for remote management of network devices. We have created a local user and allowed it on the VTY lines for remote access. Devices can be accessed over telnet as below.



6.11 WLAN IoT Device Configuration.

For the IoT devices, we need to configure them by adding the server IP to each device so that the server would be able to manage devices. Below WLAN & Server related configuration is done on the IoT devices.


7 Service & Connectivity Test

In this section, we will verify the connectivity test and verification of the configured services on the network.

IT_Admin_PC  to North  Servers Ping  

The ping is successful for all the servers of North Data Center.


Accounts PC- North Datacenter

All servers from this region are also accessible from the headquarter.



*****************************************************************************

                    Packet Tracer file will be provided upon request

*****************************************************************************











OSPF Operation and Route Selection - A detailed discussion

  OSPF Routing Protocol   Abstract:               The report discusses the OSPF Routing protocol and its implementation in networks. T...