SlideShare a Scribd company logo
1 of 19
By : Varnnit Jain
9990888972
Networking In Linux
Introduction
 Computers are connected in a network to exchange
information or resources with each other. Two or more
computer are connected through network media
called computer media.
 There are a number of network devices or media that
are involved to form computer network.
 Computer loaded with Linux Operation System can
also be a part of network whether it is a small or large
network by multitasking and multi user natures.
 Maintaining of system and network up and running is
a task of System / Network Administrator’s job. In this
article we are going to review frequently used network
configuration and troubleshoot commands in Linux.
Network Interface Names
 The linux kernel names interface with a specific
prefix depending on the type of interface.
 For Example : all Ethernet interfaces start with
eth, regardless of the specific hardware vendor.
Following the prefix, each interface is numbered,
starting at zero.
 etho, eth1 and eth2 would refer to the first,
second and third Ethernet interfaces.
 Other interfaces include wlan0 for the first
wireless device, virbr0 for the internal bridge set
up for virtual hosts, bond0 for the first bonded
network device, and so on.
Network Configuration and
Troubleshooting
 To check IP address of the system
#ip a
#ip ad
#ip add
Network Configuration and
Troubleshooting (Cont.)
 Network and IP configuration settings
#system-config-network
#system-config-network-tui
Network Configuration and
Troubleshooting (Cont.)
 To start network manually
#service network start
 To restart network configuration
#service network restart
Network Configuration and
Troubleshooting (Cont.)
 To keep network settings on when system
restarts
#chkconfig network on
 For checking connectivity between systems.
#ping (IP address)
Network Configuration and
Troubleshooting (Cont.)
 To disable NIC card/Interface (Here eth0)
#ifdown eth0
 To enable NIC card/Interface (Here eth0)
#ifup eth0
Network Configuration and
Troubleshooting (Cont.)
 To check the hostname
#hostname
 To change the hostname
#hostname new_name
Configuration on System
 Network configuration in GUI mode.
#system-config-network
 Firewall configuration in GUI mode.
#system-config-firewall
 Date and time configuration in GUI mode.
#system-config-date
 To setup different settings of the system.
(complete setup console in GUI mode).
#setup
 To check system IP configuration
#ifconfig (same as ipconfig in windows)
Scenario
 We have two systems. One with IP 10.0.0.1 and
another with IP 10.0.0.2 . We have to setup
network between both of these systems in order
to ping them to each other.
 Step 1 : Enable the interface of the first system.
 Step 2 : Set IP 10.0.0.1 to the ethernet 0 of the
first system.
using #system-config-network
Step 3 : Select the device you want to configure.
(Here we will chose eth0).
Step 4 : Network configuration window appears on the
Fill in the required blanks
Step 5 : Set the IP 10.0.0.1
Step 6 : Enable the Interface eth0 using #ifupeth0
Check the IP configuration of the same port using #ifc
IP for the first system has been set successfully.
Repeat the steps for the second system.
Set IP 10.0.0.2
The network has been set between both the systems.
You can simply check the connectivity between the two
Use the command ping 10.0.0.2 from first PC and see t
Networking in linux

More Related Content

What's hot

Linux presentation
Linux presentationLinux presentation
Linux presentation
Nikhil Jain
 

What's hot (20)

Linux presentation
Linux presentationLinux presentation
Linux presentation
 
DHCP
DHCPDHCP
DHCP
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
CCNA ppt
CCNA pptCCNA ppt
CCNA ppt
 
Network Troubleshooting - Part 2
Network Troubleshooting - Part 2Network Troubleshooting - Part 2
Network Troubleshooting - Part 2
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Linux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell ScriptingLinux systems - Linux Commands and Shell Scripting
Linux systems - Linux Commands and Shell Scripting
 
Linux: LVM
Linux: LVMLinux: LVM
Linux: LVM
 
Access control list acl - permissions in linux
Access control list acl  - permissions in linuxAccess control list acl  - permissions in linux
Access control list acl - permissions in linux
 
IP tables and Filtering
IP tables and FilteringIP tables and Filtering
IP tables and Filtering
 
Network monitoring tools
Network monitoring toolsNetwork monitoring tools
Network monitoring tools
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
What is Ping
What is PingWhat is Ping
What is Ping
 
Server configuration
Server configurationServer configuration
Server configuration
 
Samba server
Samba serverSamba server
Samba server
 
Windows Server 2019.pptx
Windows Server 2019.pptxWindows Server 2019.pptx
Windows Server 2019.pptx
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystem
 
Presentation on samba server
Presentation on samba serverPresentation on samba server
Presentation on samba server
 
Users and groups
Users and groupsUsers and groups
Users and groups
 

Viewers also liked

Network and multi media environment research study of college
Network and multi media environment research study of collegeNetwork and multi media environment research study of college
Network and multi media environment research study of college
Yan Wang
 
Computer network Report
Computer network ReportComputer network Report
Computer network Report
Amitoj Kaur
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
hugo lu
 

Viewers also liked (20)

Network and multi media environment research study of college
Network and multi media environment research study of collegeNetwork and multi media environment research study of college
Network and multi media environment research study of college
 
Hands-on ethernet driver
Hands-on ethernet driverHands-on ethernet driver
Hands-on ethernet driver
 
Linux Ethernet device driver
Linux Ethernet device driverLinux Ethernet device driver
Linux Ethernet device driver
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
 
MULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKSMULTIMEDIA COMMUNICATION & NETWORKS
MULTIMEDIA COMMUNICATION & NETWORKS
 
Multimedia Streaming (Networking)
Multimedia Streaming (Networking)Multimedia Streaming (Networking)
Multimedia Streaming (Networking)
 
Chapter09 -- networking with unix and linux
Chapter09  -- networking with unix and linuxChapter09  -- networking with unix and linux
Chapter09 -- networking with unix and linux
 
Ethernet and TCP optimizations
Ethernet and TCP optimizationsEthernet and TCP optimizations
Ethernet and TCP optimizations
 
An Overview of Linux Networking Options
An Overview of Linux Networking OptionsAn Overview of Linux Networking Options
An Overview of Linux Networking Options
 
Computer network Report
Computer network ReportComputer network Report
Computer network Report
 
IMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationIMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentation
 
Multimedia networking
Multimedia networkingMultimedia networking
Multimedia networking
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux Kernel
 
Character Drivers
Character DriversCharacter Drivers
Character Drivers
 
Network Drivers
Network DriversNetwork Drivers
Network Drivers
 
Linux Kernel Overview
Linux Kernel OverviewLinux Kernel Overview
Linux Kernel Overview
 
Interrupts
InterruptsInterrupts
Interrupts
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 

Similar to Networking in linux

manual on networking cabling with pratical guide
manual on networking cabling with pratical guidemanual on networking cabling with pratical guide
manual on networking cabling with pratical guide
NuhuSamaila
 
ProjectPurposeThe purpose of this project is to provide an o.docx
ProjectPurposeThe purpose of this project is to provide an o.docxProjectPurposeThe purpose of this project is to provide an o.docx
ProjectPurposeThe purpose of this project is to provide an o.docx
woodruffeloisa
 
Ccna configuracion y comandos
Ccna configuracion y comandosCcna configuracion y comandos
Ccna configuracion y comandos
Alfonso Saucedo
 
adhoc network workshop
adhoc network workshopadhoc network workshop
adhoc network workshop
Ali Nezhad
 

Similar to Networking in linux (20)

Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Saad baig practical file
Saad baig practical fileSaad baig practical file
Saad baig practical file
 
Cognex In-Sight - Network Settings.pdf
Cognex In-Sight - Network Settings.pdfCognex In-Sight - Network Settings.pdf
Cognex In-Sight - Network Settings.pdf
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
iot
iotiot
iot
 
manual on networking cabling with pratical guide
manual on networking cabling with pratical guidemanual on networking cabling with pratical guide
manual on networking cabling with pratical guide
 
CCNA-lab-Manual.pdf
CCNA-lab-Manual.pdfCCNA-lab-Manual.pdf
CCNA-lab-Manual.pdf
 
Networking
NetworkingNetworking
Networking
 
Network configuration in Linux
Network configuration in LinuxNetwork configuration in Linux
Network configuration in Linux
 
111
111111
111
 
111
111111
111
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
 
ProjectPurposeThe purpose of this project is to provide an o.docx
ProjectPurposeThe purpose of this project is to provide an o.docxProjectPurposeThe purpose of this project is to provide an o.docx
ProjectPurposeThe purpose of this project is to provide an o.docx
 
Useful Linux commands
Useful Linux commandsUseful Linux commands
Useful Linux commands
 
Linux router
Linux routerLinux router
Linux router
 
Ccna configuracion y comandos
Ccna configuracion y comandosCcna configuracion y comandos
Ccna configuracion y comandos
 
03 linuxfirewall1
03 linuxfirewall103 linuxfirewall1
03 linuxfirewall1
 
C14-TCPIP.ppt
C14-TCPIP.pptC14-TCPIP.ppt
C14-TCPIP.ppt
 
adhoc network workshop
adhoc network workshopadhoc network workshop
adhoc network workshop
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Recently uploaded (20)

How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Networking in linux

  • 1. By : Varnnit Jain 9990888972 Networking In Linux
  • 2. Introduction  Computers are connected in a network to exchange information or resources with each other. Two or more computer are connected through network media called computer media.  There are a number of network devices or media that are involved to form computer network.  Computer loaded with Linux Operation System can also be a part of network whether it is a small or large network by multitasking and multi user natures.  Maintaining of system and network up and running is a task of System / Network Administrator’s job. In this article we are going to review frequently used network configuration and troubleshoot commands in Linux.
  • 3. Network Interface Names  The linux kernel names interface with a specific prefix depending on the type of interface.  For Example : all Ethernet interfaces start with eth, regardless of the specific hardware vendor. Following the prefix, each interface is numbered, starting at zero.  etho, eth1 and eth2 would refer to the first, second and third Ethernet interfaces.  Other interfaces include wlan0 for the first wireless device, virbr0 for the internal bridge set up for virtual hosts, bond0 for the first bonded network device, and so on.
  • 4. Network Configuration and Troubleshooting  To check IP address of the system #ip a #ip ad #ip add
  • 5. Network Configuration and Troubleshooting (Cont.)  Network and IP configuration settings #system-config-network #system-config-network-tui
  • 6. Network Configuration and Troubleshooting (Cont.)  To start network manually #service network start  To restart network configuration #service network restart
  • 7. Network Configuration and Troubleshooting (Cont.)  To keep network settings on when system restarts #chkconfig network on  For checking connectivity between systems. #ping (IP address)
  • 8. Network Configuration and Troubleshooting (Cont.)  To disable NIC card/Interface (Here eth0) #ifdown eth0  To enable NIC card/Interface (Here eth0) #ifup eth0
  • 9. Network Configuration and Troubleshooting (Cont.)  To check the hostname #hostname  To change the hostname #hostname new_name
  • 10. Configuration on System  Network configuration in GUI mode. #system-config-network  Firewall configuration in GUI mode. #system-config-firewall  Date and time configuration in GUI mode. #system-config-date  To setup different settings of the system. (complete setup console in GUI mode). #setup  To check system IP configuration #ifconfig (same as ipconfig in windows)
  • 11. Scenario  We have two systems. One with IP 10.0.0.1 and another with IP 10.0.0.2 . We have to setup network between both of these systems in order to ping them to each other.  Step 1 : Enable the interface of the first system.
  • 12.  Step 2 : Set IP 10.0.0.1 to the ethernet 0 of the first system. using #system-config-network
  • 13. Step 3 : Select the device you want to configure. (Here we will chose eth0).
  • 14. Step 4 : Network configuration window appears on the Fill in the required blanks
  • 15. Step 5 : Set the IP 10.0.0.1
  • 16. Step 6 : Enable the Interface eth0 using #ifupeth0 Check the IP configuration of the same port using #ifc IP for the first system has been set successfully.
  • 17. Repeat the steps for the second system. Set IP 10.0.0.2
  • 18. The network has been set between both the systems. You can simply check the connectivity between the two Use the command ping 10.0.0.2 from first PC and see t