3
Most read
4
Most read
5
Most read
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

PDF
Lesson 2 Understanding Linux File System
PPT
Linux Networking Commands
PPTX
Network and System Administration Power Point
PPTX
Linux security
PDF
File System Hierarchy
PPT
Linux networking
PPTX
Linux Server vs Windows Server
PPTX
Ipv6 the next generation protocol
Lesson 2 Understanding Linux File System
Linux Networking Commands
Network and System Administration Power Point
Linux security
File System Hierarchy
Linux networking
Linux Server vs Windows Server
Ipv6 the next generation protocol

What's hot (20)

PPT
Network management
PPT
Introduction to SSH
PPTX
Subnetting Presentation
PDF
Linux Networking Explained
PPT
Subnetting
PDF
netconf and yang
PPTX
Ppt of routing protocols
PPTX
Linux distributions
PPT
CCNA SUMMER TRAINNING PPT
PPTX
Internet protocol (ip) ppt
PPTX
Network monitoring tools
PDF
Embedded linux network device driver development
PPT
Samba
PPT
OSI Layers
PPTX
Software management in linux
PPTX
CCNA ppt Day 1
PPTX
Application Layer
PPT
Ip addressing
PPTX
iSCSI (Internet Small Computer System Interface)
Network management
Introduction to SSH
Subnetting Presentation
Linux Networking Explained
Subnetting
netconf and yang
Ppt of routing protocols
Linux distributions
CCNA SUMMER TRAINNING PPT
Internet protocol (ip) ppt
Network monitoring tools
Embedded linux network device driver development
Samba
OSI Layers
Software management in linux
CCNA ppt Day 1
Application Layer
Ip addressing
iSCSI (Internet Small Computer System Interface)
Ad

Viewers also liked (20)

PPTX
Network and multi media environment research study of college
PDF
Hands-on ethernet driver
PPTX
Linux Ethernet device driver
PDF
Linux Network commands
PDF
MULTIMEDIA COMMUNICATION & NETWORKS
PPTX
Multimedia Streaming (Networking)
PPT
Chapter09 -- networking with unix and linux
PPTX
Ethernet and TCP optimizations
PDF
An Overview of Linux Networking Options
PDF
Computer network Report
PPT
IMS IP multimedia subsystem presentation
PPT
Multimedia networking
PDF
introduction to linux kernel tcp/ip ptocotol stack
PDF
The linux networking architecture
PPTX
The TCP/IP Stack in the Linux Kernel
PDF
Character Drivers
PDF
Network Drivers
PDF
Linux Kernel Overview
PDF
Interrupts
PPT
Introduction to multimedia
Network and multi media environment research study of college
Hands-on ethernet driver
Linux Ethernet device driver
Linux Network commands
MULTIMEDIA COMMUNICATION & NETWORKS
Multimedia Streaming (Networking)
Chapter09 -- networking with unix and linux
Ethernet and TCP optimizations
An Overview of Linux Networking Options
Computer network Report
IMS IP multimedia subsystem presentation
Multimedia networking
introduction to linux kernel tcp/ip ptocotol stack
The linux networking architecture
The TCP/IP Stack in the Linux Kernel
Character Drivers
Network Drivers
Linux Kernel Overview
Interrupts
Introduction to multimedia
Ad

Similar to Networking in linux (20)

PPTX
5 - Networking in Red Hat
PPTX
5-Networking-Red-Hat-Commands-slides.pptx
PPTX
Network configuration
DOCX
Useful Linux commands
PPTX
Linux Commands
PDF
Step 12 The task is complete when the quota can be verified. Take a.pdf
PDF
Linux networking
PPTX
14 network tools
PPTX
Linux networking
PDF
Linux network configuration
DOC
Simple network troubleshooting
PDF
Network commands
PDF
Linux network tools (Maarten Blomme)
PDF
PDF
Linux Services and Networking, Systemd vs Cron.pdf
PPTX
linux networking laboratory presentation .pptx
PDF
0407-linux-networking.pdf
PDF
linuxnet.pdf
PDF
Sharing your-internet-connection-on-linux
PPTX
Helpful Cisco Tips and Tricks for New Network Engineers
5 - Networking in Red Hat
5-Networking-Red-Hat-Commands-slides.pptx
Network configuration
Useful Linux commands
Linux Commands
Step 12 The task is complete when the quota can be verified. Take a.pdf
Linux networking
14 network tools
Linux networking
Linux network configuration
Simple network troubleshooting
Network commands
Linux network tools (Maarten Blomme)
Linux Services and Networking, Systemd vs Cron.pdf
linux networking laboratory presentation .pptx
0407-linux-networking.pdf
linuxnet.pdf
Sharing your-internet-connection-on-linux
Helpful Cisco Tips and Tricks for New Network Engineers

Recently uploaded (20)

PDF
Teacher's Day Quiz 2025
PDF
Global strategy and action plan on oral health 2023 - 2030.pdf
PDF
The 10 Most Inspiring Education Leaders to Follow in 2025.pdf
PPTX
INTRODUCTION TO PHILOSOPHY FULL SEM - COMPLETE.pptxINTRODUCTION TO PHILOSOPHY...
PPTX
MALARIA - educational ppt for students..
PPTX
CHF refers to the condition wherein heart unable to pump a sufficient amount ...
PPTX
Entrepreneurship Management and Finance - Module 1 - PPT
PPTX
Environmental Sciences and Sustainability Chapter 2
DOCX
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
PDF
Physical pharmaceutics two in b pharmacy
PDF
3-Elementary-Education-Prototype-Syllabi-Compendium.pdf
PDF
Insight into Romanian Wild-Grown Heracleum sphondylium: Development of a New ...
PDF
17649-Learning By Doing_text-tailieu.pdf
PPTX
Power of Gratitude: Honouring our teachers
PDF
Design and Evaluation of a Inonotus obliquus-AgNP-Maltodextrin Delivery Syste...
PDF
IS1343_2012...........................pdf
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PDF
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
PDF
BA-1ST(Education)-Education and Society.pdf
Teacher's Day Quiz 2025
Global strategy and action plan on oral health 2023 - 2030.pdf
The 10 Most Inspiring Education Leaders to Follow in 2025.pdf
INTRODUCTION TO PHILOSOPHY FULL SEM - COMPLETE.pptxINTRODUCTION TO PHILOSOPHY...
MALARIA - educational ppt for students..
CHF refers to the condition wherein heart unable to pump a sufficient amount ...
Entrepreneurship Management and Finance - Module 1 - PPT
Environmental Sciences and Sustainability Chapter 2
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
Physical pharmaceutics two in b pharmacy
3-Elementary-Education-Prototype-Syllabi-Compendium.pdf
Insight into Romanian Wild-Grown Heracleum sphondylium: Development of a New ...
17649-Learning By Doing_text-tailieu.pdf
Power of Gratitude: Honouring our teachers
Design and Evaluation of a Inonotus obliquus-AgNP-Maltodextrin Delivery Syste...
IS1343_2012...........................pdf
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
BA-1ST(Education)-Education and Society.pdf

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