From 5f17361a60cc281378207986d586ca116b72ea47 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Tue, 9 May 2023 19:28:22 +0530 Subject: [PATCH 1/3] Create Connection-modify --- docs/07-Networking/Connection-modify | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/07-Networking/Connection-modify diff --git a/docs/07-Networking/Connection-modify b/docs/07-Networking/Connection-modify new file mode 100644 index 0000000..c61aaa9 --- /dev/null +++ b/docs/07-Networking/Connection-modify @@ -0,0 +1,28 @@ +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 : saminfo.local +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: set hostname to saminfo.local + `# hostnamectl` + `# hostnamectl set-hostname saminfo.local` + `# hostname` + + +##Done + + From 9b29429ae305267fc99ee5004af9c5ef2bbdd037 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Tue, 9 May 2023 19:31:34 +0530 Subject: [PATCH 2/3] Delete Connection-modify --- docs/07-Networking/Connection-modify | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 docs/07-Networking/Connection-modify diff --git a/docs/07-Networking/Connection-modify b/docs/07-Networking/Connection-modify deleted file mode 100644 index c61aaa9..0000000 --- a/docs/07-Networking/Connection-modify +++ /dev/null @@ -1,28 +0,0 @@ -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 : saminfo.local -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: set hostname to saminfo.local - `# hostnamectl` - `# hostnamectl set-hostname saminfo.local` - `# hostname` - - -##Done - - From 12e46aac9180488f5796333694c671db7527fdb3 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Tue, 9 May 2023 19:32:03 +0530 Subject: [PATCH 3/3] Create Connection-modify.md --- docs/07-Networking/Connection-modify.md | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/07-Networking/Connection-modify.md diff --git a/docs/07-Networking/Connection-modify.md b/docs/07-Networking/Connection-modify.md new file mode 100644 index 0000000..7273797 --- /dev/null +++ b/docs/07-Networking/Connection-modify.md @@ -0,0 +1,27 @@ +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 : saminfo.local +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: set hostname to saminfo.local + `# hostnamectl` + `# hostnamectl set-hostname saminfo.local` + `# hostname` + + +##Done +