A
A
Alexey Kos2016-02-28 00:29:35
linux
Alexey Kos, 2016-02-28 00:29:35

How to connect internet via Win PC to Linux PC?

I decided to connect 2 computers, 1 on Windows 8.1, the other on Linux CentOS 6.
I managed to connect the network via LAN, but as I did not try to connect the Internet to a Linux computer, I can’t. There is no router, so I'm trying to connect the Internet through a Windows PC.
To connect I use

ifconfig eth0 192.168.8.103 netmask 255.255.255.0 up

How to connect internet via Win PC to Linux PC?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Nerwin, 2016-02-28
@djalexsey

On a PC with win8 2 network cards? How do you get Internet access, pppoe, l2tp, ipoe?

A
Anton Ulanov, 2016-02-28
@antonsr98

who is the gateway?

N
Nazar Mokrinsky, 2016-02-28
@nazarpc

What else ifconfig? There are also graphic settings, an icon on the panel, why change it manually every time ?.
When you connect the cable, a connection will appear, go to the settings, specify the machine as the Windows IP gateway, set some IP from the same subnet and prescribe Google's DNS. Everything.
There is a suspicion that it can work with automatic settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question