TCP/IP & BASIS License Manager
TCP/IP & BASIS License Manager
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
When Is The BLM Needed
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
BBj & BASIS License Manager
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
BLM Install Checklist
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
TCP/IP Four-Layer Model
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Application Layer
• Window Socket Applications:
Use port number and an address • Netbios applications
to which it will send and receive • Netbios over TCP/IP
data; type of socket (stream or
datagram); and an interface to • For example, many NT
which it is bound (protocol) services run Netbios over
• Sockets: part of interprocess
communication in which two
TCP/IP, such as the
processes, either local or ‘server’ service (browsing,
remote, exchange data making or connecting to a
• Applications like the PRO/5 Data network share)
Server or the BLM
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Services Applet in Control Panel
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Transport Layer
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
TCP
• Stream connection
• Reliable and sequenced
• Ongoing connection
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
UDP
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Internet Layer
• IP (Internet Protocol)
• ARP (Address Resolution Protocol)
• ICMP (Internet Control Message Protocol)
• IGMP (Internet Group Management Protocol)
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
IP (Internet Protocol)
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
ARP (Address Resolution
Protocol)
• Obtains hardware addresses of hosts located on
the same physical network
• Once the hostname is resolved to the IP address,
ARP maps the host IP address to the MAC
address of the network card
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
ICMP (Internet Control Message
Protocol)
• Sends messages and reports errors regarding
the delivery of the packets
• It is useful to think of ICMP as one IP package
talking to another host's IP package, in terms of
echo request and reply, destination and source,
time-stamping, time-to-live, etc.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
IGMP (Internet Group
Management Protocol)
• Used by IP hosts to report host group
memberships to local multicast routers
• Similar to ICMP, but the messages sent are
referred to groups of nodes instead of individual
nodes. Routers use IGMP to multicast out
messages to multiple nodes.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Network Layer
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
TCP/IP Hostname Resolution
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
TCP/IP Hostname Resolution
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Local Cache Uses ARP
• To minimize the number of broadcasts over the network, ARP
maintains address mappings for future use.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Hosts Files in UNIX & Windows
• In ASCII Format
• Simplest method, using a lookup table
• Hosts files list IP addresses, each followed by one or
more hostnames (separated by spaces or tabs) to act
as aliases
• Windows 95/98: file is located in /windows/ directory
• Windows NT: file is located in /winnt/system32/drivers/etc/
directory
• Unix: File is located at root in the /etc/ directory
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Host File Example
• #Host Files
• #end file
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Host File Example
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Domain Name Service (DNS)
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
UNIX DNS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
UNIX DNS Uses Configuration Files
zone "basis.com" in {
type master;
file "db.basis";
check-names warn;
zone "1.168.192.in-addr.arpa" in {
type master;
file "db.192.168.1";
check-names warn;
• Resolv.conf
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
db.cache file
#db.cache file
\par kazoo2:/usr/lib/named$ more db.cache
\par ;
\par ; Cache file for the Internal DNS domain for basis.com.
\par ; Each non-internet connected name server for basis.com
should load this.
\par ;
\par ; don't use this on our internet connected host!.
\par ;
\par . 99999999 IN NS kazoo2.basis.com.
\par . 99999999 IN NS dino.basis.com.
\par kazoo2.basis.com. 99999999 IN A 192.168.1.21
\par dino.basis.com. 99999999 IN A 192.168.1.140
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
db.basis file
• Provides Name to Address Mapping for Basis.Com
; The origin "basis.com" is added to all names not ending with a dot.
;
@ IN SOA dino.basis.com. root.dino.basis.com. (
434 ; Serial
300 ; Refresh after 5 minutes
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers ( the name '@' is implied )
;
IN NS kazoo2.basis.com.
IN NS dino.basis.com.
IN MX 0 mail.basis.com.
;
; Address for canonical names on external network
;
;basis IN A 204.52.207.1
;elroy IN A 204.52.207.4
; Address for canonical names on internal network
;
;basis.com. IN A 192.168.1.140
abu IN A 192.168.1.147
addon IN A 192.168.1.52
addon2 IN A 192.168.1.91
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
db.192.168.1 file
•Address to Name Mapping for Basis.Com
kazoo2:/usr/lib/named$ more db.192.168.1
;
; Address-to=Name mapping for basis.com.
;
; The origin "1.168.192.in-addr.arpa" is added to all names not ending with a dot.
;
@ IN SOA kazoo2.basis.com. root.kazoo2.basis.com. (
434 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ) ; Minimum TTL of 1 day
;
; Name servers ( the name '@' is implied )
;
IN NS kazoo2.basis.com.
IN NS dino.basis.com.
Addresses point to canonical names
;
1 IN PTR portsvr.basis.com.
2 IN PTR ernestine.basis.com.
3 IN PTR pristine.basis.com.
4 IN PTR basis.basis.com.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Combining Approaches
To DNS & Hosts Files
• Some systems allow the systems administrator to use
DNS and hosts files. Then you can specify the order in
which they are consulted.
• Depending on the UNIX flavor, an entry would be made
in hosts.conf or resolv.conf file.
• A typical entry would be: order hosts, bind
• With this entry, the hosts file is parsed first, if no entry
is found, then the DNS server is consulted.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
UNIX Client Configuration for DNS
$ cd /etc/
$ more resolv.conf
domain basis.com
nameserver 192.168.1.21 # kazzoo2
nameserver 192.168.1.140 # dino
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Windows NT DNS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Windows NT Server 4.0
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Configuring NT Server
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Windows Client Configuration
for DNS
• First select the protocol tabs in the network
control panel
• Highlight TCPIP, select properties and select the
dns tab. Here you specify the client hostname,
domain, DNS server IP address and search
order, if more than one
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
DNS Client Configuration
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
DNS DATABASE
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
DNS & Windows Internet Name
Service (WINS)
• If DNS is unavailable, it can optionally access a
WINS server to resolve the name as a Netbios
name
• To do this, select properties in the DNS menu in
the DNS manager
• Select the WINS Lookup tab and select ‘Use
Wins Resolution’ option
• Add at least one WINS server to the list
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Netbios Hostname Resolution
• WINS server
• B-node broadcast
• Lmhosts files
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
WINS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Here You Can View What
NetBios Is Bound To
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Installing WINS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Configuring WINS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
B-Node Broadcasting
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Lmhosts Files (Windows Only)
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Lmhosts Uses IP Address &
Netbios Names
• Sample:
168.192.150.1 SYSTEM1
168.192.150.2 SYSTEM2 #PRE #SEE BELOW
168.192.150.10 ORION #DOM: BASIS
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Hostname Utility
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
PING: A Diagnostic Utility
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
PING Example
C:\>ping server
Pinging server.basis.com
[192.168.1.189] with 32 bytes of
data:
Reply from 192.168.1.189:
bytes=32 time<10ms TTL=128
Reply from 192.168.1.189:
bytes=32 time<10ms TTL=128
Reply from 192.168.1.189:
bytes=32 time<10ms TTL=128
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Troubleshooting DNS With
Nslookup
• A diagnostic utility for DNS that allows you to
display resource records on the DNS server
• You can use Nslookup with Windows or UNIX
DNS implementation
• From a DOS or UNIX prompt type: Nslookup
Hostx, where Hostx is a host in your domain. This
will return the IP address as stored in the DNS
database.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Nslookup Utility (UNIX or
Windows)
$ nslookup leghorn
Name Server: kazoo2.basis.com
Address: 192.168.1.21
Name: leghorn.basis.com
Address: 192.168.1.150
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
NETSTAT Command for UNIX
$ netstat -f inet -a
This output returns information on
what ports have connections and
where they are, as well as the
status of the connections, i.e.
ESTABLISHED, TIME_WAIT, or
LISTEN.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
NETSTAT Utility
$ netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address
(state)
tcp 0 0 leghorn.1113 kazoo2.domain
TIME_WAIT
tcp 0 105 leghorn.telnet ozy.3072
ESTABLISHED
tcp 0 0 leghorn.netbios- bugsbunny.1074
ESTABLISHED
tcp 147 0 leghorn.1111 heckle.26916
ESTABLISHED
tcp 0 0 leghorn.1109 kazoo2.1300
ESTABLISHED
tcp 147 0 leghorn.1108 heckle.26916
ESTABLISHED
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
IFCONFIG (UNIX)
$/etc/ifconfig -a
This information will tell what
network cards are UP,
BROADCASTING and
RUNNING along with the IP
address and MAC address.
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
IPCONFIG Utility (Windows)
C:\>ipconfig /all
Windows NT IP Configuration
Host Name . . . . . . . . . : ozy.basis.com
DNS Servers . . . . . . . . : 192.168.1.21
192.168.1.140
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : No
Ethernet adapter El90x1: This can be
Description . . . . . . . . : 3Com 3C90x Ethernet Adapter
Physical Address. . . . . . : 00-10-5A-00-30-DF
useful when
DHCP Enabled. . . . . . . . : No verifying a mac
IP Address. . . . . . . . . : 192.168.1.136 address of a
Subnet Mask . . . . . . . . : 255.255.255.0
network card
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Traceroute (UNIX) or Tracert (NT)
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Sample Traceroute Command
basis:~$ traceroute 205.189.200.27
traceroute to 205.189.200.27 (205.189.200.27),
30 hops max, 40 byte packets
1 gw.basis.com (209.150.89.222) 2.218 ms
1.996 ms 3.899 ms
2 209.150.88.105 (209.150.88.105) 25.458 ms
22.03 ms 17.476 ms
3 sl-gw8-ana-9-0-T3.sprintlink.net
(144.228.170.21) 109.54 ms 100.34 ms
4 14 spc-tor-7-POS5-0-0.Sprint-
Canada.Net (204.50.128.14) 235.993 ms
5 18 spc-tor-7-5-0-0.descore.descore.com
(205.189.200.27) 252.472 ms 239.776 ms
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com
Resources
• Books
• Unix System Administration by O’Reilly
• Windows NT Server Networking Guide by MS Press
• Windows NT Technical Support by MS Press
• MCSE in a Nutshell by O’Reilly
• MS TCP/IP Training Guide by MS Press
• TCP/IP by Parker
• BASIS Technical Support
• Web sites:
• http://www.isi.edu/in-notes/iana/assignments/port-numbers
• http://www.private/org.il/mini-faq.html
©1985-2002 BASIS International Ltd. All rights reserved. Sales: 505.938.6101 Tech Support: 505.345.5021 E-mail: [email protected] www.basis.com