1 / 17

Module 9 - Networking

Module 9 - Networking. Networking. 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

herve
Download Presentation

Module 9 - Networking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module 9 - Networking

  2. Networking • 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)

  3. Network Concepts • tcp/ip • IP Address • MAC Address • Default Gateway • DNS & Host Name resolving • DHCP and Static IP • Firewall, ports and the services file

  4. Network Commands • mii-tool • ipconfig • nslookup & dig • route & netstat • ping • nmap

  5. Network Files • /etc/hosts • /etc/resolv.conf • /etc/sysconfig/network • /etc/sysconfig/network-scripts/ifcfg-eth0

  6. Network Services Controlling the Network Service: • /etc/init.d/network • /etc/init.d/NetworkManager Controlling a Network Device: • ifup and ifdown scripts

  7. Configure a network device • SETUP STATIC IP: Edit /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0HWADDR=96:1D:56:92:C9:28 ONBOOT=yesBOOTPROTO=noneIPADDR=192.168.1.20NETMASK=255.255.255.0GATEWAY=192.168.1.1TYPE=Ethernet

  8. 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=eth0HWADDR=96:1D:56:92:C9:28 ONBOOT=yesBOOTPROTO=dhcp

  9. 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 ###

  10. 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.confis the main configuration file • /etc/init.d/smb is the samba server service

  11. 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

  12. 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

  13. Linux Remote X-Clients • xming (Open Source) • NoMachine NX Client and Server (Proprietary, Free for 3 users)

  14. Exercise • 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. • Disable selinux • Shutdown and disable Firewall

  15. Exercise 8. Connect to your Linux node from the windows nodeusing 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 X-server .

  16. <Insert Picture Here>

More Related