How to connect ubuntu to windows with a crossover cable

Written by andrea helaine
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to connect ubuntu to windows with a crossover cable
A crossover cable allows two computers to comminicate without the need of a hub or switch. (network cable image by Leonid Nyshko from

A crossover cable is used to connect two network cards directly without the need to use a hub or switch. Ubuntu is a Linux distribution; its ease of use and good support make it popular with beginners and power users alike. You can use a crossover cable to use the Ubuntu as a server for testing networking software on your Ubuntu server. You will have to configure the IP address manually in order for the two computers to communicate with each other.

Skill level:


  1. 1

    Connect the crossover cable to the network port of both the Ubuntu and the Windows computers.

  2. 2

    Go to the "Start" menu and type "netcpl.cpl" in the "Run" or "search programs and files" field and press "Enter."

  3. 3

    Right-click on "Local Network connection" and select "Properties."

  4. 4

    Select "TCP/IP V4" and click "Properties."

  5. 5

    Select "Use the following IP address" and enter in the "IP address" field.

  6. 6

    Click on the "Subnet mask" field to fill it automatically. Click "OK."

  1. 1

    Press "CTRL + ALT + F1" to open a terminal.

  2. 2

    Type "sudo ifconfig eth 0 netmask up" and press "Enter."

  3. 3

    Type your password and press "Enter."

  4. 4

    Press "CTRL + ALT + F7" to go back to the graphical interface.

Tips and warnings

  • The command line in Ubuntu does not depend on your window manager and will work with Kubuntu, Ubuntu and other Ubuntu derivatives.
  • You do not need to configure the gateway or the DNS to connect two computers using a crossover cable.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.