Network Configuration: VLANs, Port Channels, and Spanning Tree
VLAN 10 – PATATA1
Port Configuration
Access Ports
- Interface Range: F0/1-7
Switchport Mode: Access
VLAN: 10 - Interface Range: F0/8-16
Switchport Mode: Access
VLAN: 20 - Interface Range: F0/17-22
Switchport Mode: Access
VLAN: 30 - Interface Range: Gig1/0/5-6
Switchport Mode: Access
VLAN: 99
Trunk Ports
- Interface Range: F0/23-24
Channel Group: 1
Mode: Active - Interface Port-Channel 1:
Switchport Mode: Trunk
Native VLAN: 99
Allowed VLANs: All - Interface Range: G0/1-2
Channel Group: 2
Mode: Active - Interface Port-Channel 2:
Switchport
C++ Template Functions and Linked Lists
C++: Template Functions and Linked Lists
Bag Class Implementation
Constructors and Destructor
bag::bag()
Initializes an empty bag.
bag::bag(const bag& source)
Copy constructor for the bag class.
bag::~bag()
Destructor for the bag class. Clears the linked list and sets the node count to 0.
Member Functions
bag::size_type bag::count(const value_type& target) const
Counts the occurrences of a given value in the bag.
bag::size_type bag::erase(const value_type& target)
Removes all occurrences of a given
Read MoreEssential Data Structures & Algorithms: A Comprehensive Guide
Data Structure Fundamentals
Deque vs. Circular Queue
A deque (double-ended queue) offers efficient insertion and deletion from both ends, making it suitable for scenarios like sliding window problems. Circular queues, on the other hand, restrict operations to specific ends (rear for enqueue, front for dequeue).
Big O Notation
Big O notation describes an algorithm’s upper bound running time, classifying algorithms by their worst-case behavior. This allows for time complexity comparisons irrespective
Read MoreQuality Assurance and Management: Concepts and Principles
Quality Assurance and Management
Q. Definition:
- Comparative Sense (Degree of Excellence): On a relative basis, products can be ranked or referred to by “grade”.
- Quantitative Sense (Used in Manufacturing/Production Release/Technical Evaluation): Refers to quality level.
- Fitness for Purpose Sense: Evaluation of a product’s or service’s ability to satisfy a given need.
Gap Between Perception & Expectation
Expected Service = Word of Mouth + Personal Needs + Past Experience (manufacturer -> specification
Read MoreNetwork Fundamentals: Delays, Switching, Protocols, and DNS
1G = 109, 1M = 106, 1K = 103, 1B = 1 Byte = 8 bits, 1b = 1 bit. Msec is millisec which is 0.001.
Delays
Types of delays: processing, queue, transmission, propagation.
dnodal = dproc + dqueue + dtrans + dprop
Dial-up networks have high transmission delays, while satellite connections have high propagation delays.
Processing Delay
Time it takes for a device to process a packet header to determine where to forward it (caused by CPU cycles).
Queue Delay
Time a packet waits in a system queue before processing,
Read MoreConfigure Network Interfaces as a Bridge in Debian
Debian Linux: Configure Network Interfaces as a Bridge/Network Switch
My server has five Ethernet ports and one ADSL port. How do I set up an IPv4 software bridge using Debian Linux so that the five ports act as a network switch?
You need to use the brctl command to bridge network connections under Debian Linux. This is useful for:
- Sharing your internet connection between multiple devices.
- Increasing your ethernet jacks capacity without purchasing a dedicated network switch.
- Setting up Debian as an access
