Download Proposal Student Competition Enhancement

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

AppleTalk wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Server Message Block wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Remote Desktop Services wikipedia , lookup

Computer network wikipedia , lookup

Dynamic Host Configuration Protocol wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

Distributed firewall wikipedia , lookup

Network tap wikipedia , lookup

Airborne Networking wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Transcript
Module 9 Networking
Networking
1.
2.
3.
4.
5.
6.
7.
Network Concepts and Commands
Network Files
Network Services
Configure a network device
Network File-System (NFS & CIFS)
Network Communication (ssh & vnc)
Network X-clients (xming and nomachine-nx)
Network Concepts
•
•
•
•
•
•
•
tcp/ip
IP Address
MAC Address
Default Gateway
DNS & Host Name resolving
DHCP and Static IP
Firewall, ports and the services file
Network Commands
•mii-tool
•ipconfig
•nslookup & dig
•route & netstat
•ping
•nmap
Network Files
• /etc/hosts
• /etc/resolv.conf
• /etc/sysconfig/network
• /etc/sysconfig/network-scripts/ifcfg-eth0
Network Services
Controlling the Network Service:
• /etc/init.d/network
• /etc/init.d/NetworkManager
Controlling a Network Device:
• ifup and ifdown scripts
Configure a network device
• SETUP STATIC IP:
Edit /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=96:1D:56:92:C9:28
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.1.20
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
TYPE=Ethernet
Configure a network device
• SETUP DHCP
• In order to setup DHCP for the network interface card,
Edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file:
DEVICE=eth0
HWADDR=96:1D:56:92:C9:28
ONBOOT=yes
BOOTPROTO=dhcp
Linux NFS Service
• A native UNIX Network File-System to share data on the
network.
• Required package nfs-utils
• /etc/init.d/nfs
• /etc/exports
/ort *(rw,no_root_squash)
• Mount the shared nfs file-system:
# mount 192.168.10.1:/ort /public
### Can permanently go into /etc/fstab ###
Linux CIFS
• The Linux samba service can offer native windows
CIFS network file-system to both Linux and Windows
nodes.
• Requires package samba.x86_64
• /etc/samba/smb.conf is the main configuration file
• /etc/init.d/smb is the samba server service
Linux SSH
•
•
•
•
•
•
CLI client which enable us to open a remote shell.
Encrypted Communication
Can use encryption keys
By default uses port 22
main configuration directory is /etc/ssh
Under each user home directory resides a hidden
.ssh directory with the user specific files
Linux vnc
• A simple and easy way to connect remotely to a Linux
node using a network light GUI protocol.
• The user configuration files reside under a hidden
.vnc directory in the user home folder.
• The server configuration file is in:
# /etc/sysconfig/vnc
• the service is under /etc/init.d/vncserver
Linux Remote X-Clients
• xming (Open Source)
• NoMachine NX Client and Server (Proprietary, Free
for 3 users)
Exercise
1.
2.
3.
4.
5.
Document your IP Address
Document your Default Route
Document your DNS Servers
Change your hostname to [your-name-01]
Fix a permanent IP Address using the address you
got from the DHCP Server.
6. Disable selinux
7. Shutdown and disable Firewall
Exercise
8. Connect to your Linux node from the windows node
using putty and ssh protocol.
9. Set up vnc server on the Linux node and connect to
the vnc server using a vnc client from windows.
10. Set up Xming to connect to the Linux node via Xserver .
<Insert Picture Here>