Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Computer Networking/Conection-modify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Supose you want to make some changens in available network profile with the following parameter:
Configure your Host Name, IP Address, Gateway and DNS.

Host name : linux.local.server
hostname : abc.com
IP Address : 172.168.130.38
Subnet : 255.255.255.0
Gateway : 172.168.130.1
DNS : 172.168.130.1

## Follow this steps
##### Step 1: check all devices status first.
`# nmcli dev status`
##### Step 2: select any connection profile that you want to modify. and make changes for IP addresses and Gateway(e.g "static" as a profile name for this practical)
`# nmcli con mod static ipv4.addresses 172.168.130.38/24 ipv4.gateway 172.168.130.1 ipvr.method manual `
##### Step 3: Add DNS Configuration
`# nmcli con mod static ipv4.dns 172.168.130.1`
##### Step 4: replicate all changes on the network.
`# nmcli con up static`
##### Step 5: check the current hostname.
`# hostnamectl`
##### Step 6: set hostname to linux.local.server .
`# hostnamectl set-hostname linux.local.server`
##### Step 7: verify that the hostname has been set.
`# hostname`


##Done

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# Devops-simplified
### Hi there, 👋
# Welcome........!
### to the world of DevOps
there will be some notes about networking basics as well as linux basic commands.
And Some awesome files

## Steps to get All Notes.
##### Step 1: Clone Project to your PC
`$ git clone https://github.com/fykaa/Devops-simplified.git`