Jump to content

how to Calculate Network address from IP address?

buklu

for example ip address 172.19.24.5

Network address:

172.19.16.0        how do i find the network address?

 

Link to comment
Share on other sites

Link to post
Share on other sites

Without knowing the subnet mask it's really difficult. If they default gateway starts at .1 then you can maybe figure it out but if it's not the first IP in the subnet then it's going to be hard to do anything other than guess.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

If you knew the subnet mask, I'm assuming its 255.255.0.0 then that lets you know where the network address is compared to the host address.

Link to comment
Share on other sites

Link to post
Share on other sites

17 minutes ago, Lurick said:

Without knowing the subnet mask it's really difficult. If they default gateway starts at .1 then you can maybe figure it out but if it's not the first IP in the subnet then it's going to be hard to do anything other than guess.

subnet mask 255.255.240.0

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, buklu said:

subnet mask 255.255.240.0

That would be a /20

CPU: AMD Ryzen 5 5600X | CPU Cooler: Stock AMD Cooler | Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI) | RAM: Corsair Vengeance LPX 16 GB (2 x 8 GB) DDR4-3000 CL16 | GPU: Nvidia GTX 1060 6GB Zotac Mini | Case: K280 Case | PSU: Cooler Master B600 Power supply | SSD: 1TB  | HDDs: 1x 250GB & 1x 1TB WD Blue | Monitors: 24" Acer S240HLBID + 24" Samsung  | OS: Win 10 Pro

 

Audio: Behringer Q802USB Xenyx 8 Input Mixer |  U-PHORIA UMC204HD | Behringer XM8500 Dynamic Cardioid Vocal Microphone | Sound Blaster Audigy Fx PCI-E card.

 

Home Lab:  Lenovo ThinkCenter M82 ESXi 6.7 | Lenovo M93 Tiny Exchange 2019 | TP-LINK TL-SG1024D 24-Port Gigabit | Cisco ASA 5506 firewall  | Cisco Catalyst 3750 Gigabit Switch | Cisco 2960C-LL | HP MicroServer G8 NAS | Custom built SCCM Server.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Abdul201588 said:

That would be a /20

yeah,i know /20,but i don't know how to find out the network address

Link to comment
Share on other sites

Link to post
Share on other sites

The network address is the 1st address within the subnet, do not confuse this with the first usable host address.

So for 172.19.24.5/20 172.16.0.0 is the network address and 172.31.255.255 is the broadcast.

 

The main assumption is that if you break down a network into smaller subnets, let's say by creating a 10.x.y.z/24 network, you don't stamp on neighbouring address spaces by making z, in this case, anything other than 0. If you were going to create a /25 network you wouldn't make z anything other than 0 or 128.

So back on topic, if I have a nic with an ip of 192.168.1.253/30 the network address is 192.168.1.252 (1st address in the subnet) and the broadcast is 192.168.1.255 (last address in the subnet). Lots of people ignore the the first and last addresses, until they start doing things with inter network routing or broadcast.

Link to comment
Share on other sites

Link to post
Share on other sites

Quote

The network address is the 1st address within the subnet, do not confuse this with the first usable host address.

So for 172.19.24.5/20 172.16.0.0 is the network address and 172.31.255.255 is the broadcast.

That's not correct. For 172.19.24.5/20 your first IP would be 172.19.16.1 (technically .0, but that's bad practice as it's usually used as an identifier) and the broadcast would be 172.19.31.255, leaving 172.19.31.254 as your last usable IP. Here's an easy to use subnet calculator.

 

To answer OP's question, your network would be 172.19.16.0/20.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×