Custom Search
www.rocket99.com : Technical Guides Sybase Oracle UNIX Javascript


Technical Guides
Sybase
Oracle
UNIX
Javascript




Of Interest

Be responsible for your future
Enter the USA legally!

Visa, Green Card, Citizenship, Passport
Consultation Services








Sybase » UNIX » Commands »

Interface Files, IP and Port Translation

     




SUN installations have interface file entries that appear cryptic - see below
for a dissection of a typical entry.



Interfaces file fragment:

\x0002 08fc a825d0b5 0000000000000000


Breakdown appears below:

168.37.208.181,2300

a8 168
25 37
d0 208
b5 181



Explained:


0002
Denotes that this entry is a TLI "address family". This is always at
the start of a TLI address. TCP/IP is family 2. Depending on the
network vendor and the byte order of the machine, this works out as a
hexadecimal "0002" (most common) or "0200" (the format is
dependent on whether the machine is "little endian" or "big endian").
Take a look at how your current interfaces file is structured to
confirm your address family number format, and make a change to
the variable ADDRESS_FAMILY in tli_mapper accordingly.

1E6C
This is the hexadecimal equivalent of the port number. In this
example, the hexadecimal address 1E6C translates to the decimal
address 7788.

9D0E7D24
This 8-digit hexadecimal address is the translation of the decimal IP
address equivalent. The address is formed by translating each decimal
portion of the IP address, separated by the period, to its hexidecimal
equivalent(minus the periods). Single digits are entered with a leading
zero.
9D 157
0E 14
7D 125
24 36












Sybase : Related Topics

Sybase : UNIX : Starting the Sybase process
Sybase : UNIX : Running SQL within a script
Sybase : UNIX : BCP data to/from a flat file
Sybase : UNIX : Shared memory setting

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site



Get the latest Rocket99 news and tech tips via






Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site




Copyright © 2019 Stoltenbar Inc All Rights Reserved.