The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parsing subnet
2016-10-18, 15:44
Post: #1
Parsing subnet
Hi,

I have a query. I want to get the first three numbers from the subnet mask.

For example

Net0/netmask = 192.169.168.34

But i need to get first 3 digits, my output should be like 192.169.168

Thanks in advance
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Parsing subnet - Yeswanth - 2016-10-18 15:44
RE: Parsing subnet - NiKiZe - 2016-10-18, 18:18
RE: Parsing subnet - Yeswanth - 2016-10-19, 03:10
RE: Parsing subnet - NiKiZe - 2016-10-19, 07:15



User(s) browsing this thread: 1 Guest(s)