Connect Ubuntu Server 16.04 to Windows 10 using Ethernet cable

EDIT:

ipconfig on Windows:

Ethernet adapter Ethernet: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::49d7:ec19:199f:b968%13 Autoconfiguration IPv4 Address. . : 169.254.185.104 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . :

SITUATION:

I was using Ubuntu Desktop 16.04 as my PC's OS for a long time. And there were no problems with Ethernet connection with my server that is running on Ubuntu Server 16.04.

But now I have to use Windows 10 as my OS. I didn't change settings on my server:

sudo nano /etc/natwork/intrfaces:

# The loopback network interfaces
auto lo
iface lo inet loopback
# The primary network interfaces
auto enp4s0f0
iface enp4s0f0 inet static
address 192.168.10.2
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255

PROBLEM:

When I run ping 192.168.10.2 -t in CMD on my PC I get:

Pinging 192.168.10.2 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
Ping statistics for 192.168.10.2: Packets: Sent = 5, Received = 0, Lost = 5 (100% loss),

So there is no connection, hovewer the Ethernet cable is working:

enter image description here

QUESTION:

How to solve this ploblem and why I'm getting this error?

Thanks for helping

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like