You are not logged in.

#1 2018-06-29 13:13:04

vorlket
Member
Registered: 2017-09-30
Posts: 90

[SOLVED] Static IP address and internet sharing configuration

I have an archlinux computer A and a windows computer B connected with each other by ethernet cable (192.168.1.0/29), where B is wirelessly connected with the internet gateway router (192.168.0.0/29).

I want to configure networking (ip address, gateway, route, dns, and etc.) so that: A and B can ping each other; and A can connect with the internet via B using B's wifi sharing properties.

So far, I have configured ip address for ethernet interfaces of A and B following https://www.ostechnix.com/configure-sta … arch-linux. A and B are not able to ping each other yet.

Last edited by vorlket (2019-10-19 12:24:33)

Offline

#2 2018-06-29 15:28:04

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Static IP address and internet sharing configuration

You did not state which of the methods covered in your linked article you had used.  Never-the-less, on 'A', what is the output of ip addr, and on 'B' from Powershell, what is the output of ipconfig  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2018-06-29 15:52:02

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: [SOLVED] Static IP address and internet sharing configuration

I used method one.

Ping between A and B needed https://docs.microsoft.com/en-us/window … -icmp-rule.

Pointer to A connecting with the internet via B using B's window wifi sharing properties is appreciated.

Offline

#4 2018-06-29 17:39:11

progandy
Member
Registered: 2012-05-17
Posts: 5,193

Re: [SOLVED] Static IP address and internet sharing configuration

The outline should be something like this:
* Enable Connection Sharing for the WiFi on windows
* Set a static IP (No.1) without gateway for ethernet on windows
* set static IP (No. 2) to arch and IP (No.1) as gateway.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2018-06-29 17:57:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Static IP address and internet sharing configuration

ewaller wrote:

... on 'A', what is the output of ip addr, and on 'B' from Powershell, what is the output of ipconfig  ?

Last edited by ewaller (2018-06-29 17:58:35)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2018-07-01 05:42:44

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: [SOLVED] Static IP address and internet sharing configuration

Solved.

Last edited by vorlket (2018-07-01 06:03:23)

Offline

#7 2018-07-01 14:50:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Static IP address and internet sharing configuration


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2018-07-10 09:48:36

vorlket
Member
Registered: 2017-09-30
Posts: 90

Re: [SOLVED] Static IP address and internet sharing configuration

Ok. Did the following to solve:

On A:
/etc/netctl/eno1:
Interface:=eno1
Connection=ethernet
IP=static
Address=(‘192.168.1.2/29’)
Gateway=('192.168.1.1')

On B:
Wifi (192.168.0.0/29) sharing with ethernet (192.168.1.0/29)
Created an inbound rule in windows firewall defender to allow programs of A to connect with the internet via B.

Last edited by vorlket (2018-07-11 12:36:24)

Offline

Board footer

Powered by FluxBB