Internet Connection Sharing from Windows to Linux and Static IP

Hello,

I have a Windows laptop, that is connected via Ethernet to my Raspberry Pi. The laptop is also connected to my office internet via Ethernet.

Ideally I want to set a static IP to the Pi. However, what bothers me is in 'dhcpcd.conf' I would need to specify a static router. When I do 'ip r' in the Pi, it shows the same IP as was dynamically assigned to my eth0 interface on the Pi.

Sorry I am crappy at explaining technical stuff...

TLDR: With ICS, what should I set the static router IP to in dhcpcd.conf?

Posted Feb 25, 2025, 12:28 PM UTC

00

Comments aren't archived yet

Comments for this period haven't been loaded into the archive yet.