Server and Client Connection Settings on Debian Linux 8.4 [English-Bahasa]

in #linux7 years ago (edited)
Hi friend steemian how are everything, of course my hope is all healthy and without any less.

At this Opportunity I would like to share some knowledge about basic network implementation to connect two or more computers using Debian Linux 8.4. Implementation is very very easy and very simple, but because it uses the Debian operating system then we should pay attention to writing the syntax of its IP Address address that we customize with the network subnet given on the network topology

And on the discussion how to connect the computer by using this debian linux operating system with topology and network addressing as follows:


Topology planned

Actually, when first installing Debian Linux Operating System, it is required to set the address of IP Address it, but if there is a change then we have to change the network configuration on each computer, and in this discussion assuming the operating system is installed and we just set the addressing IP Address it

The first step we need to do is login and configure its Address IP addressing, Edit /etc/ network/interfaces file using the nano as follows :


Edit File /etc/network/interfaces

The addressing configuration of the Debian Linux operating system is always in the /etc /network/interfaces file and which must be considered in setting up this configuration is the address you want to write really should pay attention to the writing, as it is very case-sensitive, lowercase, uppercase, and spacebar or other punctuation errors will result in errors resulting in malfunctioning of the Debian Linux Operating System.

And addressing the topological discussion in accordance with the above picture with address 172.168.100.64/27 , then the contents of the file /etc /network/interfaces for a computer that acts as a server is as follows:


Gives an address on PC Server

The addressing for the computer we have provided with the IP address of 172.168.100.65 with netmask 255.255.255.224, then we have to do testing of the addressing given by restarting the network service on the server computer, with the command < b>/etc/init.d/networking restart , and if it has succeeded with no error there is the following ok message of addressing test I successfully capture:



Addressing Testing Without Errors and Success

Up to this point, the configuration to connect multiple computers in a simple network has been successfully configured for the server computer, and then we provide the network address corresponding to 172.168.100.64 , and the configuration steps for the client computer are actually the same because they use the same operating system, and the following configuration results on the client computer address and addressing the test IP Address client computer


Addressing for Client PC


Testing for addressing on client computers

Up to this step, the configuration to provide addressing IP Address on the computer in the network that has been planned according to the above topology has been completed and the next step is to test the configuration to see the connection from the computer in the network .

And testing of existing computers in the network to test connections is to use theping command, and the following test capture results from the implemented network


Connection from Server to Client Computer successfully

The connection of the server computer to the client is already connected, but it needs to be checked also the connection from the client computer to the server computer, and the following test capture test results from the client computer to the server computer, as follows:


Client PC connection to PC Server Success

Finally the configuration of the server computer with the client computer has been successful, and that is the steemian friend how to connect multiple computers in a network by using linux debian operating system, we should note is writing in file /etc/network/interfaces, and type eth0 of each computer. Hopefully useful


Regards @slempase



BAHASA

Hai sahabat steemian apa kabar semuanya, tentu harapan saya semuanya sehat wal'afiat dan tanpa kurang apapun.

Pada Kesempatan ini saya ingin berbagi sedikit pengetahuan tentang implementasi jaringan dasar untuk menghubungkan dua buah komputer atau lebih dengan menggunakan Debian Linux 8.4. Implementasi ini sangat sangat mudah dan sangat sederhana, namun karena menggunakan sistem operasi Debian maka kita harus memperhatikan penulisan sintaks alamat IP Address-nya yang kita sesuaikan dengan subnet jaringan yang diberikan pada topologi jaringan

Dan pada pembahasan cara menghubungkan komputer dengan menggunakan sistem operasi linux debian ini dengan topologi dan pengalamatan jaringan sebagai berikut ini :


Topologi yang di rencanakan

Sebenarnya pada saat pertama melakukan instalasi Sistem Operasi Linux Debian, sudah diharuskan untuk mengatur pengalamatan IP Address-nya, namun jika terjadi perubahan maka harus kita mengubah konfigurasi jaringan di setiap komputer tersebut, dan pada pembahasan ini asumsinya sistem operasi sudah terinstalasi dan kita hanya mengatur pengalamatan IP Address-nya

Langkah pertama yang harus kita lakukan, adalah login kembali dan melakukan konfigurasi pengalamatan IP Address-nya, Mengedit file /etc/network/interfaces menggunakan perintah nano sebagai berikut :


Mengedit File /etc/network/interfaces

Konfigurasi pengalamatan pada sistem operasi Linux Debian selalu berada pada file /etc/network/interfaces dan yang harus diperhatikan dalam mengatur konfigurasi ini adalah alamat yang ingin dituliskan benar-benar harus memperhatikan penulisannya, karena sangat "case-sensitif" , kesalahan huruf kecil, huruf besar, dan tanda spasi ataupun tanda baca lainnya akan mengakibatkan kesalahan yang berujung kepada tidak berfungsinya pengalamatan pada Sistem Operasi Debian Linux ini.

Dan pengalamatan pada pembahasan dengan topologi sesuai dengan gambar diatas dengan pengalamatan 172.168.100.64/27, maka isi dari file /etc/network/interfaces untuk komputer yang berperan sebagai server adalah sebagai berikut :


Memberi alamat pada PC Server

Pengalamatan untuk komputer sudah kita berikan dengan alamat IP Address 172.168.100.65 dengan netmask 255.255.255.224, selanjutnya harus dilakukan pengujian terhadap pengalamatan yang diberikan dengan melakukan restart dari servis jaringan pada komputer server, dengan perintah /etc/init.d/networking restart, dan jika sudah berhasil dengan tanpa kesalahan ada pesan ok berikut ini hasil pengujian pengalamatan yang berhasil saya capture :


Pengujian Pengalamatan Tanpa Kesalahan dan Sukses

Sampai dengan langkah ini, konfigurasi untuk menghubungkan beberapa komputer dalam jaringa sederhana sudah berhasil kita konfigurasi untuk komputer server, dan selanjutnya kita berikan alamat jaringan yang sesuai dengan 172.168.100.64, dan langkah konfigurasi untuk komputer klien sebenarnya sama saja karena menggunakan sistem operasi yang sama, dan berikut ini hasil konfigurasi alamat pada komputer klien dan sekaligus pengujian pengalamatan IP Address komputer klien


Pemberian Alamat untuk PC Klien


Pengujian untuk pengalamatan pada komputer klien

Sampai dengan langkah ini, konfigurasi untuk memberikan pengalamatan IP Address pada komputer dalam jaringan yang telah direncanakan sesuai topologi diatas telah selesai dan langkah selanjutnya adalah melakukan pengujian terhadap konfigurasi tersebut untuk melihat koneksi dari komputer dalam jaringan tersebut.

Dan pengujian terhadap komputer yang ada dalam jaringan untuk menguji koneksi adalah dengan menggunakan perintah ping , dan berikut ini hasil capture pengujian dari jaringan yang diimplementasikan


Koneksi dari Server Menuju Komputer Klien berhasil

Koneksi komputer server dengan klien sudah terhubung, namun perlu diperiksa juga koneksi dari komputer klien yang menuju ke komputer server, dan berikut ini hasil capture pengujian koneksi dari komputer klien menuju komputer server, yaitu sebagai berikut :


Koneksi PC klien menuju PC Server Berhasil

Akhirnya konfigurasi komputer server dengan komputer klien sudah berhasil, dan itulah sahabat steemian bagaimana menghubungkan beberapa komputer dalam sebuah jaringan dengan menggunakan sistem operasi linux debian, yang harus kita perhatikan adalah penulisan pada file /etc/network/interfaces, dan jenis eth0 dari setiap komputer. Harapan saya semoga pembahasan yang sederhana dan mudah ini dapat bermanfaat


Salam @slempase

Sort:  

@mrainp420 has voted on behalf of @minnowpond. If you would like to recieve upvotes from minnowponds team on all your posts, simply FOLLOW @minnowpond.

        To receive an upvote send 0.25 SBD to @minnowpond with your posts url as the memo
        To receive an reSteem send 0.75 SBD to @minnowpond with your posts url as the memo
        To receive an upvote and a reSteem send 1.00SBD to @minnowpond with your posts url as the memo

@eileenbeach has voted on behalf of @minnowpond. If you would like to recieve upvotes from minnowponds team on all your posts, simply FOLLOW @minnowpond.

    To receive an upvote send 0.25 SBD to @minnowpond with your posts url as the memo
    To receive an reSteem send 0.75 SBD to @minnowpond with your posts url as the memo
    To receive an upvote and a reSteem send 1.00SBD to @minnowpond with your posts url as the memo

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.032
BTC 61645.58
ETH 3013.85
USDT 1.00
SBD 3.71