- #How to make a fast ethernet loopback cable how to#
- #How to make a fast ethernet loopback cable install#
- #How to make a fast ethernet loopback cable software#
- #How to make a fast ethernet loopback cable windows#
The next step is to configure the enp1s0 interface. These may be different in your computer and you would need to replace these with the values obtained by running the ip link command in the steps given below. In the rest of this tutorial we will use enp1s0 for the Ethernet network device and wlp2s0 for the WiFi for the first computer. The third device, wlp2s0 is for the Wi-Fi. The second device, enp1s0, corresponds to the ethernet NIC. In this example, the first device lo is the loopback device. Link/ether 34:17:eb:8e:16:f5 brd ff:ff:ff:ff:ff:ffģ: wlp2s0: mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 For example,ġ: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 We can find the network devices with the ip link command. For that, we need to find the network devices in the system.
#How to make a fast ethernet loopback cable install#
Install dnsmasq to serve IP addresses to the 192.168.2.0 network. # Uncomment the next line to enable packet forwarding for IPv4 To enable it, open the file /etc/nf in your favorite editor and add the line, _forward = 1. The configuration steps are,īy default, packet forwarding is disabled in Linux systems.
#How to make a fast ethernet loopback cable software#
The major software configuration is to to be done at Host A, which we are going to configure as a router for sending IP packets from the new network, 192.168.2.0 to the network 192.168.1.0. Otherwise, that is, if either or both computers do not support Auto-MDIX, a crossover cable should be used. So, to summarize, if both computers support Auto-MDIX, either a default straight cable cable or a crossover cable can be used. Also, if one computer supports Auto-MDIX and the other does not, a crossover cable gives a better connection than a straight cable.
![how to make a fast ethernet loopback cable how to make a fast ethernet loopback cable](https://docs.oracle.com/cd/E19957-01/819-2373/figures/AppendixA-20.gif)
![how to make a fast ethernet loopback cable how to make a fast ethernet loopback cable](https://img-aws.ehowcdn.com/877x500p/s3.amazonaws.com/cme_public_images/www_ehow_com/photos.demandstudios.com/123/110/fotolia_439848_XS.jpg)
And, of course, a crossover cable would always work.
![how to make a fast ethernet loopback cable how to make a fast ethernet loopback cable](http://improwis.com/projects/hw_KeychainEthernetLoopback/schema.jpg)
So, if the ports support Auto-MDIX, which is often the case these days, a straight cable would work as well. However, modern Ethernet interfaces, especially the relatively newer devices, use Auto-MDIX technology to sense whether crossover is required and do the crossover internally, if necessary. In a crossover cable, the transmitter pins of one connector are connected to the receiver pins of the connector at the other end and vice-versa.Īs mentioned before, to connect two computers as in the setup shown in the above figure, a crossover Ethernet cable would have been necessary. In case of a computer to computer connection, a crossover cable is used, where the crossing is to be done in the cable itself. Since the transmitter wires need to be connected to the receiver and vice-versa, the crossing of wires is done internally inside the router. The common Ethernet cable used for connecting a computer with a router is a straight cable, with the wires connected to the same pins of the connectors at the two ends. Connect the two hosts with an Ethernet LAN cableĮarlier, it was necessary to use a crossover cable for connecting two computers. This tutorial assumes that you have a working WiFi connectivity to the Internet in the first computer.ġ. Host A would be used as a router to route packets from network 192.168.2.0 to network 192.168.1.0 and then to the Internet via the WiFi router at 192.168.1.1. We will connect Host A with the second computer, named Host B, in a separate network 192.168.2.0. In the figure above, it is part of the network, 192.168.1.0. The first machine, running Linux, is named Host A.
#How to make a fast ethernet loopback cable windows#
The second computer could be a Linux or Windows based one.
![how to make a fast ethernet loopback cable how to make a fast ethernet loopback cable](https://erikugel.files.wordpress.com/2011/09/img_20110914_132451.jpg)
Let's assume that one of these computers, with access to the Internet, is running Linux.
#How to make a fast ethernet loopback cable how to#
The step by step instructions on how to do this are given below. It may be because we wish to transfer files between the two computers or because one of these has the Internet access and we wish to have one more access point to the Net. Quite often, we wish to connect two computers back to back using an Ethernet LAN cable.