Skip to content

The rhel-network-install-setup guide provides essential information for managing networking, troubleshooting, and setting up repositories for offline installation on Red Hat Enterprise Linux (RHEL)

Notifications You must be signed in to change notification settings

panwar100/rhel-network-install-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

rhel-network-install-setup

The rhel-network-install-setup guide provides essential information for managing networking, troubleshooting, and setting up repositories for offline installation on Red Hat Enterprise Linux (RHEL)

Table of Contents

1.Network Management Commands

2.Network Troubleshooting Commands

3.Repository Setup for Offline Installation

1. Network Management Commands

Check Network Interfaces

Displays all network interfaces and their IP addresses. ip a or ifconfig

Screenshot from 2024-12-03 23-24-47

Shows statistics for network interfaces, including RX (received packets) and TX (transmitted packets).

Screenshot from 2024-12-03 23-25-43

View NetworkManager Connections

Lists all available network connections.

Screenshot from 2024-12-03 23-26-41

Displays the status of devices managed by NetworkManager.

Screenshot from 2024-12-03 23-27-15

Manage Network Connections

nmcli con up # Activates a specified connection. nmcli con down # Deactivates a specified connection. Examples:

Activates the connection named "con1".

Screenshot from 2024-12-03 23-31-42

Deactivates the connection for the "con1" interface.

Screenshot from 2024-12-03 23-33-03

Turns off networking.

Screenshot from 2024-12-03 23-34-53

Turns on networking.

Screenshot from 2024-12-03 23-35-51

Modify Connections

nmcli con add con-name 'home' type ethernet ipv4.addresses 192.168.0.111/24

Screenshot from 2024-12-03 23-37-47

Modify

Screenshot from 2024-12-03 23-39-11

Activates the "home" connection

Screenshot from 2024-12-03 23-40-07

Displays details of the "home" connection

Screenshot from 2024-12-03 23-41-15

you can modify this by above modify command

Device Information

Shows detailed information about all devices.

Screenshot from 2024-12-03 23-46-23

Displays detailed information for the "ens160" device.

Screenshot from 2024-12-03 23-47-20

you don't modify it

Disables the "ens160" device.

Screenshot from 2024-12-03 23-48-48

Enables the "ens160" device.

Screenshot from 2024-12-03 23-49-45

2. Network Troubleshooting Commands

ping

The ping command in Linux is used to test the connectivity between your system and another system (host) over a network. When you use ping with an IP address, it sends packets of data to that IP address and waits for a response. This helps you check if the target machine is reachable and measures the time it takes for the packets to travel back and forth

Screenshot from 2024-12-03 23-51-07

Traces the path to Google, showing each hop and its latency.

Screenshot from 2024-12-03 23-57-00

3. Repository Setup for Offline Installation

Mounting and Accessing the CD-ROM

Navigate to the cdrom Device

Screenshot from 2024-12-03 23-02-21

Create a Mount Point and Mount the CD-ROM

Creates a directory for mounting the CD-ROM.

Screenshot from 2024-12-03 23-05-18

Mounts the CD-ROM to the "/install" directory.

Screenshot from 2024-12-03 23-06-17

In the case,you don't find BaseOs and AppOs files then mount /dev/sr1 /install

⚠ Note: The mount is temporary and will be lost after a reboot. To persist the files:

Configure YUM Repositories

Screenshot from 2024-12-03 23-08-15

Opens a file to configure repositories.

vim redhat.repo

Add the following configuration:

Screenshot from 2024-12-03 23-09-38

Install and Manage Packages

Installs the Nginx web server.

Screenshot from 2024-12-03 23-11-21

Installs Node.js

Screenshot from 2024-12-03 23-12-31

Removes Node.js

Screenshot from 2024-12-03 23-13-40

Note:you can also use subscription method insided of offline repo setup

Screenshot from 2024-12-04 00-14-12

About

The rhel-network-install-setup guide provides essential information for managing networking, troubleshooting, and setting up repositories for offline installation on Red Hat Enterprise Linux (RHEL)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published