Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: Is 10.1 a valid IP address?

Is 10.1 a valid IP address? 8 years 8 months ago #25473

Hi,

Is 10.1 a valid IP address? In general is it valid even if all the 4 octets of the IP address are not specified in dotted decimal format.
I used inet_aton() and inet_addr() and both didn't complain about 10.1, assuming that it is valid.

Does it mean that 10.1 is the same as 10.0.0.1 or 10.1.0.0?

Going by this logic, does 10.1.2 the same as 10.0.1.2 or 10.1.2.0?

Thanks,
Datacom_guy
The administrator has disabled public write access.

Re: Is 10.1 a valid IP address? 8 years 8 months ago #25474

  • Chojin
  • Chojin's Avatar
  • Offline
  • Senior Member
  • Posts: 251
  • Karma: 0
10.1 will be translated towards 10.0.0.1

It is not valid, but just as IPv6 the address of 0000 can be replaced by 'nothing'
CCNA / CCNP / CCNA - Security / CCIP / Prince2 / Checkpoint CCSA
The administrator has disabled public write access.
Time to create page: 0.073 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup