Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 8863  / 2 Years ago, fri, september 30, 2022, 6:23:41

Hi i am trying to connect 2 ubuntu computers as a LAN.



In my current setup I have:



One machine running ubuntu 11.10 with Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller



While the other machine is running Ubuntu 12.04 with an Atheros Communications Inc AR8152 v1.1 Fast Ethernet



The two machines are connected via a switch (Edimax ES-3205P).



Unfortunately I still cannot connect the two machines together. Can somebody please show me what to do and how to go about solving this issue?



Thank you



ANSWERED



All I had to do was set up both ip's maually, subnet mask to 255.255.255.0 and left blank both gateway and DNS.


More From » networking

 Answers
6

Just set the IPs manually using the 'network connection' GUI to, say, 192.168.1.1 on ubuntu 11.04 machine and 192.168.1.2 on ubuntu 12.04 machine. Set the netmask to 255.255.255.0 on both of them. Leave the dns and gateway fields blank (I am assuming you only want each other to talk with no internet). This will work. If you wish to connect just these 2 machines, then there is no need of a switch - directly connect each other with the ethernet cable.

(I assume you know how to create a new connection in ubuntu and set the ip manually.)


[#37541] Friday, September 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rryble

Total Points: 489
Total Questions: 121
Total Answers: 119

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
;