Timeline for How can I share my raspberry pi 3's internet to a router's WAN port?
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 25, 2018 at 23:05 | comment | added | chx101 | @RhoPhi Yes. It's the same for any and every interface. You specify your static IP and the DNS/Gateway server. If your router doesn't give you those options then you might want to get rid of it and get a new one because it doesn't serve your best interests. Honestly, that sounds fishy and scary. It means your router has a hardwired gateway address. Or you don't know where to find that setting. | |
Nov 25, 2018 at 21:11 | comment | added | Rho Phi | @chx101 I think the culprit is this setting of gateway on the router for the WAN connection. For me the WAN configuration offers only some choice for ISP-related parameters to pick public static or dynamic IP. | |
Nov 24, 2018 at 21:36 | comment | added | chx101 |
@RhoPhi By HTTP you mean web console? Then yes. I think that's the most common way routers expose their configuration parameters.
|
|
Nov 24, 2018 at 21:34 | comment | added | chx101 | Since the router sees the RPI as the gateway, that's why I installeld DNSMASQ on it to handle address resolution and all that jazz. | |
Nov 24, 2018 at 21:33 | comment | added | chx101 | @RhoPhi I assigned the router 's WAN port interface a static IP address, and the RPI as the gateway. So, if your raspbery PIs eth0 is 192.168.1.1 then your router's WAN interface could be 192.168.1.2 and the gateway 192.168.1.1 So technically yes. | |
Nov 24, 2018 at 18:23 | comment | added | Rho Phi |
Gave router a static IP address on the same network with the Raspberry Pi as the gateway. Did you do this in the (http?) configuration of the router? Should I expect all routers to accept a setting for what to use as gateway?
|
|
Nov 24, 2018 at 18:19 | comment | added | Rho Phi | did you disable DHCP server on the Router and used one on the Raspberry Pi instead? | |
S Jan 27, 2018 at 19:25 | history | suggested | Nicholas Sideras | CC BY-SA 3.0 |
Corrected apt-get command
|
Jan 27, 2018 at 16:32 | review | Suggested edits | |||
S Jan 27, 2018 at 19:25 | |||||
Mar 18, 2017 at 11:40 | history | edited | chx101 | CC BY-SA 3.0 |
Added detailed steps.
|
Jan 17, 2017 at 21:16 | history | edited | chx101 | CC BY-SA 3.0 |
added 22 characters in body
|
Jan 10, 2017 at 2:18 | comment | added | chx101 | I've been having trouble with the latest Raspbian version (Pixel). I asked in the forums and it turns out you have to use dhcpd.conf for that. | |
Jan 10, 2017 at 2:04 | comment | added | SDsolar | Doesn't bridging do essentially that? | |
Jan 8, 2017 at 2:24 | history | edited | chx101 | CC BY-SA 3.0 |
added 12 characters in body
|
Jan 3, 2017 at 19:39 | comment | added | chx101 | Also don't forget to enable IP forwarding. | |
Jan 3, 2017 at 19:38 | history | answered | chx101 | CC BY-SA 3.0 |