Posts

Showing posts with the label Networking

Networking in Linux with Practical Examples and Commands

Image
  • Computer Networking refers to interconnected computing devices that can exchange date and share resource with each other. Hardware Requirements    • Etherent Card, NIC, Interface, Lan Card  • Cables (wireless/wired)  • Networking Devices (HUB/Switch/Router)  Logical Terms   • IP Address (Public,Private,static,Dynamic,Virtual)   • Mac Address   • Source & Destination Address   • Ports, Sockets  • Network Address, Broadcast Address Mac address:- Mac address is the physical address , which uniqualy identifies each devices on a given network. It’s persistent.  IP address:- IP address stand for “Internet Protocol Address”. The inetenet protocol is a set of rule for communication over the internet. • Type of IP addres   1. IPv4 (Internet Protocol Version 4)   2. IPv6 (Internet Protocol Version 6)  IPv4 = 32 bit   IPv6 = 128 bit Bit = 0,1   *IPv4 = 32 bit 4 octats...

What is Public Subnet in AWS? Step-by-Step Explanation with Example

Image
  VPC:-   A VPC (Virtual Private Cloud) in AWS is a private, isolated network you create in the AWS cloud to launch and manage your resources like EC2 instances, databases, etc.  Think of it as your own private data center inside AWS, where you have full control over:   • IP address ranges (CIDR blocks)  • Subnets (public & private)   • Routing (via route tables)  • Internet access (via Internet Gateway or NAT Gateway)   • Security (via security groups & network ACLs) Example    • Suppose you rent a building (AWS Cloud).   • Inside it, you design your own office layout (VPC).   • You decide rooms (subnets), doors (gateways), and locks (security groups). Key Features of VPC    1. Isolated Environment – Your VPC is separated from other AWS users’ networks.  2. Customizable IP Range – You choose IPv4/IPv6 address range.  3. Multiple Subnets – Create public and private subnets. ...