Professional Documents
Culture Documents
UNIX Networking
UNIS was one of the first OS to provide
access to widely distributed local networks
as well as Internet networks.
1990's: huge explosion in the use of UNIX
networks, because of UNIX networking
capabilities using a client-server paradigm.
UNIX Networking
Designed to allow different computers to
communicate easily.
provided ranges of communication and networking
capabilities:
electronic mail
file transfer
logging in on remote system
remote execution of cmds
file sharing
Networking Terminology
A computer network is a communication
system for connecting end-systems.
A host is a name used to refer to an endsystem:
can range in size
dedicated such as a file or print servers
or general purpose time-sharing systems
Types of networks
LAN: Local Area Network connects computer systems
that are close together (single-building or a few kilometers
apart)
Network Definition
Different entities in an internet must
agree on:
Protocols to communicate, (e.g., TCP/IP
protocol suite.)
Addressing scheme
Naming scheme
Routine scheme
OSI Model
protocols are often complex and are designed in layers
The OSI Reference Model:
Application
Presentation
Session
Transport
Network
Data Link
Physical
UNIX UUCP
serial-line based or dial-up networking
older than TCP/IP
point to point communication: store and
forward type networking
for many years, primary means of
networking in UNIX
provides basic networking utilities
2000 Copyrights, Dan
TCP/IP
TCP is a connection-oriented protocol that provides
a reliable, full-duplexed byte-stream for a user
process.
IP is the internet protocol that provides the packet
delivery service for TCP, UDP or ICMP. It provides
a connection-less and unreliable delivery system.
IP datagrams contain source and destination
addresses. Each can be routed and delivered
independently.
128.122.80.31
IP Naming
correlation can be assigned between a
host name and an IP address.
Mapping is kept in a file called
/etc/hosts on local host.
The r* commands
rcp :remote copy: allows you to copy files between
your local UNIX host and another remote UNIX host
scp: secure remote copy
rlogin: allows you to login on a remote UNIX host
rsh: allows you to execute a command on a remote
UNIX host. Security issue
ssh: secure shell client (remote login program )
provides secure encrypted communications between two
untrusted hosts over an insecure network .
DARPA commands
ftp: (file transfer protocol) allows you to
copy files between your local UNIX host
and any other host (possibly non-UNIX)
that support the ftp protocol.
telnet: allows you to execute on any
remote host that has a telnet server.