AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

What is IP Addressing? from AutomationDirect



To learn more: https://www.AutomationDirect.com/communications?utm_source=WM_1oAAVdq0&utm_medium=VideoTeamDescription

(VID-OT-0056)

Explore the ins and outs of IP Addressing with AutomationDirect.

Online Support Page: https://community.automationdirect.com/s/contactsupport?utm_source=WM_1oAAVdq0&utm_medium=VideoTeamDescription

*Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

AutomationDirect.com presents What is an IP Address? Pets have names. Houses have addresses. Banks have routing numbers. 1970’s truckers had CB handles. In order to receive communications, everything needs to have some designator that allows messages to be directed its way. In Ethernet-based electronic networks, that designator is an IP address. Every device on a network must have an IP address, and each address in the network has to be unique. An IPv4 IP address is a 32-bit binary number that by convention is broken into 4 8-bit “octets.” Usually, we see this displayed in a decimal format, which gives us the familiar grouping of 4 numbers, each between 0 and 255. There is also IPv6 Ethernet addressing, which uses 128 bits – allowing for a truly staggering number of networking configurations. IPv4 is by far the more common scheme for PLC and control networks and is what we’ll concentrate on here. Here’s a typical IPv4 IP Address for a smaller network: 192.168.1.32. This is the way we humans like to look at it, but let’s go back to the way a digital device is going to look at it. These 32 bits hold 2 primary chunks of information that together identify a specific device. The left group of bits is the Network ID, and the right is the Host ID. It identifies the specific device within that network. The number of bits in each section is the crucial third piece of information here, and we’ll come back to that but for right now let's say that in our example, the network identification comprises the first 24 bits, leaving the rightmost 8 bits to identify the host. With 8 bits, we can represent any number from 0 to 255, which gives us a subnet address range of 256 unique device addresses. However, in the possible address range of any subnet, 2 addresses are reserved. The lowest address in the range is the Network Address and cannot be assigned to a host. The highest address in the range is the Broadcast Address used to send data to all network destinations and likewise cannot be assigned to a host. This gives us 254 possible addresses in an 8-bit Host ID. All the hosts in the network will share the same Network ID (24 bits in our example) but each will have a unique Host ID. But what if we need our network to handle more than 254 hosts? We mentioned earlier that there’s a third variable, which is the number of bits allocated to each part of the IP address. We may have an IP address in which the Network ID is 16 bits, leaving 16 bits for the Host ID. Instead of 256 minus highest and lowest for 254 total possible addresses, now we are looking at 65536 addresses – but again, the highest and lowest of those can’t be assigned to hosts, so 65534 possible addresses. But all IP addresses look the same to a router or device that is trying to decipher to which network and which ID it should route a particular message. How does it decide how many bits are intended to be in the Network ID and how many in the Host ID? This third crucial element of network addressing we mentioned is called a subnet mask. Like the IP address itself, it is a 32-bit binary number and it acts as a logical AND mask to separate the 2 components of the IP address. Starting from the most significant bit, on the far left side of the subnet mask, all the bits that are to be included in the Network ID are assigned a 1, and the others a 0. So in our first example with the 8-bit Host ID, (192.168.1.32) our subnet mask will look like this: If we logically AND that with the IP address, we get: We’ve masked out the Host ID, leaving just the Network ID for the router to start with. So, looking at the binary mask in our familiar group of 4 8-bit numbers in decimal format, we get 255.255.255.0. For smaller networks, this is the most common subnet mask that we’ll see. Often, you’ll see an address that is notated as the IP address 192.168.1.32, with the subnet mask labeled separately in the same format. There is also a simpler notation that network-savvy people might use, which is called Classless Inter-Domain Routing notation or Slash notation. It consists of the IP address in the standard format with the number of Network ID bits appended onto the end after a slash. So the IP Address contains all the information a router needs to deliver data, but the router needs a key to decipher the information, and that is the subnet mask. With these elements, we can successfully route messages to the correct devices. To learn more industry fundamentals, check out our What Is series of videos by clicking here. Click here to subscribe to our YouTube channel.



No data returned!
An error has occurred! Please contact support
Videos Home > What is IP Addressing? from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info