Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Problems with au ADSL/network setup



On 2013-12-10 at 11:33:33 Simon Cozens wrote:
> $ ping 134744072
> PING 134744072 (8.8.8.8): 56 data bytes
> 64 bytes from 8.8.8.8: icmp_seq=0 ttl=44 time=53.632 ms

Let's play around with this a bit more:

Will it accept hex?

$ ping 0x8.0x8.0x8.0x8
PING 0x8.0x8.0x8.0x8 (8.8.8.8) 56(84) bytes of data.

How about if we mix-n-match hex and decimal?

$ ping 0x8.8.0x8.8
PING 0x8.8.0x8.8 (8.8.8.8) 56(84) bytes of data.

How about octal and decimal?

$ ping 010.8.010.8
PING 010.8.010.8 (8.8.8.8) 56(84) bytes of data.

Octal and hex?

$ ping 010.0x8.010.0x8
PING 010.0x8.010.0x8 (8.8.8.8) 56(84) bytes of data.

Octal, hex, and decimal?

$ ping 010.0x8.8.0x8
PING 010.0x8.8.0x8 (8.8.8.8) 56(84) bytes of data.

Just as a sanity check, how about with numbers that are 2 digits in some 
of the bases?

$ ping 0xa.10.012.10
PING 0xa.10.012.10 (10.10.10.10) 56(84) bytes of data.

$ ping 0xaa.170.0252.170
PING 0xaa.170.0252.170 (170.170.170.170) 56(84) bytes of data.

Looks pretty flexible to me.

__
Daniel A. Ramaley
Network Engineer 2

Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.ramaley@example.com



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links