Wednesday, 24 January 2018

VLAN (Virtual Local Area Network)



Collision vs. Broadcast Domains

A collision domain is simply defined as any physical segment where a collision can occur. Hubs can only operate at half-duplex, and thus all ports on a hub belong to the same collision domain. Layer-2 switches can operate at full duplex. Each individual port on a switch belongs to its own collision domain. Thus, Layer-2 switches create more collision domains, which results in fewer collisions. Like hubs though, Layer-2 switches belong to only one broadcast domain. A Layer-2 switch will forward both broadcasts and multi-casts out every port but the originating port. Only Layer-3 devices separate broadcast domains.




VLAN (Virtual Local Area Network)

A virtual LAN (VLAN) abstracts the idea of the LAN. A VLAN might comprise a subset of the ports on a single switch or subsets of ports on multiple switches. By default, systems on one VLAN don't see the traffic associated with systems on other VLANs on the same network.
VLANs allow network administrators to partition their networks to match the functional and security requirements of their systems without having to run new cables or make major changes in their current network infrastructure. IEEE 802.1Q is the standard defining VLANs; the VLAN identifier or tag consists of 12 bits in the Ethernet frame, creating an inherent limit of 4,096 VLANs on a LAN.




Advantages of VLANs

Broadcast Control – eliminates unnecessary broadcast traffic, improving network performance and scale-ability.
Security – logically separates users and departments, allowing administrators to implement access-lists to control traffic between VLANs.
Flexibility – removes the physical boundaries of a network, allowing a user or device to exist anywhere.


Access & trunk ports

Each port on a switch can be configured as either an access or a trunk port. An access port is a port that can be assigned to a single VLAN. This type of interface is configured on switch ports that are connected to devices with a normal network card, for example a host on a network. A trunk interface is an interface that is connected to another switch. This type of interface can carry traffic of multiple VLANs.

Range of VLANs

Standard range – VLANs number is 1 – 1005
Extended range – VLANs number is 1006 – 4094

Standard VLAN Vs Extended VLAN

VLANs numbered from 1 to 1005 are considered as Standard VLANs and the VLANs range from 1006 to 4094 are considered as Extended VLANs. Extended VLANs are not stored in the vlan.dat file they are stored in running config.
Secondly, if you create extended VLANs in Version 1 & 2, then your switch must be in transparent mode as these VLANs cannot be sent in VTP updates.
VLAN 0 is reserved and not available for use
The VLAN 0 is used when a device needs to send priority tagged frames but does not know in which particular VLAN it resides.
VLAN 1 is reserved and not available for use
VLAN 2 to 1001 Normal range VLANs (Standard VLANs)
VLAN 1002 to 1005 are used for FDDI and TR (Token Ring) translational bridging and shouldn’t be used for anything other than these purposes, they are not advertised by VTP
VLAN 1006 to 4094 are extended VLANs which can’t be advertised by VTP and the switch must be configured in VTP transparent mode, epically if you using VTP version 1 & 2.
It’s also important to know that when a switch starts up it checks the VTP mode and domain name from the startup and vlan.dat file; if they are different it ignores the startup config and uses the vlan.dat file.



Switching

Monday, 22 January 2018

RIP



What does Routing Information Protocol (RIP) mean?
Routing Information Protocol (RIP) is a dynamic protocol used to find the best route or path from end-to-end (source to destination) over a network by using a routing metric/hop count algorithm. This algorithm is used to determine the shortest path from the source to destination, which allows the data to be delivered at high speed in the shortest time.
For avoiding routing Loops in (RIP):

Maximum Hop Count: RIP permits a hop count of up to 15, so anything that requires 16 hops is deemed unreachable.
Split Horizon : This reduces incorrect routing information and routing overhead in a distance-vector network by enforcing the rule that routing information cannot be sent back in the direction from which it was received.
Route Poisoning : When Network goes down, Router initiates route poisoning by advertising Network as 16, or unreachable.
Hold-Down Timers : Prevents RIP from accepting any new updates foroutes in a hold-down state, until the hold-down timer expires. If Router Asends an update to Router B with a higher metric than what is currently in Router B’s routing table, that route will be placed in a hold-down state.(Router A’s metric for the 172.18.0.0 network is 1; while Router B’s metricis 0).

RIP Timers

Route update timer                                                   
Sets the interval (typically 30 seconds) between periodic routing updates in which the router sends a complete copy of its routing table out to all neighbors.

Route invalid timer
determines the length of time that must elapse (180 seconds) before a router determines that a route has become invalid. It will come to this conclusion if it hasn’t heard any updates about a particular route for that period. When that happens, the router will send out updates to all its neighbors letting them know that the route is invalid.

Hold-down timer
this sets the amount of time during which routing information is suppressed. Routes will enter into the hold-down state when an update packet is received that indicated the route is unreachable. This continues either until an update packet is received with a better metric or until the hold-down timer expires. The default is 180 seconds.

Route flush timer
sets the time between a route becoming invalid and its removal from the routing table (240 seconds). Before it’s removed from the table, the router notifies its neighbors of that route’s impending demise. The value of the route invalid timer must be less than that of the route flush timer. This gives the router enough time to tell its neighbors about the invalid route before the local routing table is updated. 






Routing

Ad (728x90)

 

Copyright © Technical Agenda™ is a registered trademark.
Designed by Templateism | Distributed by Templatelib