How to connect two GNU/Linux computers with a cross cable
on box1
sudo ifconfig enp1s0 192.168.0.1 netmask 255.255.255.0 up
on box2
sudo ifconfig enp1s0 192.168.0.2 netmask 255.255.255.0 up
here I'm using enp1s0 as my eth0 interface name, it might just be eth0 on yours. You can check with whatever you get as LAN by the "ip a show" command
This is the cable I got, but any cross cable should do
This is the cable I got, but any cross cable should do
|  | 
![[商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。] [商品価格に関しましては、リンクが作成された時点と現時点で情報が変更されている場合がございます。]](https://hbb.afl.rakuten.co.jp/hgb/19c8de54.27c3960e.19c8de55.9bbc2590/?me_id=1208050&item_id=10064884&m=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fesupply%2Fcabinet%2Fproduct_k_4%2Fkb-t5y-02lbcn_1.jpg%3F_ex%3D80x80&pc=https%3A%2F%2Fthumbnail.image.rakuten.co.jp%2F%400_mall%2Fesupply%2Fcabinet%2Fproduct_k_4%2Fkb-t5y-02lbcn_1.jpg%3F_ex%3D240x240&s=240x240&t=picttext)
 
No comments:
Post a Comment