Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 2:30 pm

AS A STARTING NOTE; I HAVE NO IDEA WHAT I AM TALKING ABOUT I AM NEW

Basically what I believe the issue is, is that my Raspberry Pi [RP] won't generate a normal 192.xxx.xxx.xxx ip address.
Instead, it generates a 10.0.0.85 ip. I have spent many hours trying methods, from "ifconfig" to "localhost -I".

I need the ip so that I can remote desktop connect from my windows PC via xrdp. I got it working using the 10.0.0.85 ip and then rebooted the RP. It wont work anymore. My remote desktop cant connect at all to the xrdp service. I am desperate for help and am on my last legs :cry: . Willing to try any damn method!

Cheers!

mattmiller
Posts: 1801
Joined: Thu Feb 05, 2015 11:25 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 4:32 pm

Hi and welcome to the forum

1. Tell us what model Pi you have got, how are you connecting to your router (LAN cable or WiFi)

2. Start gain with a clean full Raspbian image

3. Don't try and use xrdp - Pi uses VNC as main remote desktop software -xrdp can be used but wait until you've got some experience with your Pi before going down that route

ericcooper
Posts: 89
Joined: Sat Apr 08, 2017 6:23 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 5:40 pm

Both 192.168.0.0/16 and 10.0.0.0/24 are reserved IP address ranges commonly used in LANs. So the router in your network is probably handing out an address in that range to your Pi, in response to its DHCP request.

pcmanbob
Posts: 3672
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 8:21 pm

presuming you windows pc is working correctly you can find out what address range is being used by your routers DHCP like this.

ON WINDOWS PC

press windows key + r( or find Run via the start button )

type cmd in the field and hit enter

in the new window type ipconfig

it will return the networking address details for the windows pc

I suspect it will be a 10.0.x.x address, the same address range you pi was getting.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:05 pm

mattmiller wrote:
Fri Jan 19, 2018 4:32 pm
Hi and welcome to the forum

1. Tell us what model Pi you have got, how are you connecting to your router (LAN cable or WiFi)

2. Start gain with a clean full Raspbian image

3. Don't try and use xrdp - Pi uses VNC as main remote desktop software -xrdp can be used but wait until you've got some experience with your Pi before going down that route
1 Raspberry Pi 3 B
2 I have done so twice
3Am I able to still connect using windows remote desktop connection using VNC?

Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:07 pm

ericcooper wrote:
Fri Jan 19, 2018 5:40 pm
Both 192.168.0.0/16 and 10.0.0.0/24 are reserved IP address ranges commonly used in LANs. So the router in your network is probably handing out an address in that range to your Pi, in response to its DHCP request.
My PC has a normal IP?
I there a way to get a normal IP?

Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:09 pm

pcmanbob wrote:
Fri Jan 19, 2018 8:21 pm
presuming you windows pc is working correctly you can find out what address range is being used by your routers DHCP like this.

ON WINDOWS PC

press windows key + r( or find Run via the start button )

type cmd in the field and hit enter

in the new window type ipconfig

it will return the networking address details for the windows pc

I suspect it will be a 10.0.x.x address, the same address range you pi was getting.
My PC has a normal IP? Is my router forcing a 10.0.0.X on my RP? Is there a way to change this?

pcmanbob
Posts: 3672
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:20 pm

What IP did you windows pc have then ? When you ran the instructions I posted.

Your router can't assign addresses from the 192.168.x.x range and the 10.0.x.x range at the same time it will only have one LAN address range.

What router are you using and what else is connected to it.
Last edited by pcmanbob on Fri Jan 19, 2018 11:23 pm, edited 1 time in total.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 4448
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:20 pm

How are your PC & Pi connected to the router? (ie. both wired, both WiFi or a mixture of wired & WiFi).
What's your router make/model? Can you log in to it to see how it's configured?
Trev.
Still running Raspbian Jessie on some older Pi's (an A, B1, B2, B+, P2B, 3xP0, P0W) but Stretch on my P3B+, P3B, B+, A+ and a B2. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

mattmiller
Posts: 1801
Joined: Thu Feb 05, 2015 11:25 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:22 pm

Just try and follow pcmanbob's instructions - then we will know more information about your setup

Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:31 pm

pcmanbob wrote:
Fri Jan 19, 2018 11:20 pm
What IP did you windows pc have then ? When you ran the instructions I posted.

Your router can't assign addresses from the 192.168.x.x range and the 10.0.x.x range at the same time it will only have one LAN address range.

What router are you using and what else is connected to it.
IPv4 Address. . . . . . . . . . . : 192.168.56.X
ISP provided router. TELSTRA, TECHNICOLOUR TG784

Zombigamer02
Posts: 6
Joined: Fri Jan 19, 2018 2:20 pm

Re: My Raspberry Pi is using a LAN IP Address

Fri Jan 19, 2018 11:34 pm

FTrevorGowen wrote:
Fri Jan 19, 2018 11:20 pm
How are your PC & Pi connected to the router? (ie. both wired, both WiFi or a mixture of wired & WiFi).
What's your router make/model? Can you log in to it to see how it's configured?
Trev.
Both ethernet, my pc does not have wifi capabilities.
TELSTRA TECHNICOLOUR TG784
I am able to access my router via chrome.

neilgl
Posts: 123
Joined: Sun Jan 26, 2014 8:36 pm
Location: MIlton Keynes

Re: My Raspberry Pi is using a LAN IP Address

Sat Jan 20, 2018 12:30 am

Can you log on to the admin page of your router and let us know what devices are connected on what ip?

klricks
Posts: 5392
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: My Raspberry Pi is using a LAN IP Address

Sat Jan 20, 2018 2:17 am

Zombigamer02 wrote:
Fri Jan 19, 2018 11:05 pm
..
...Am I able to still connect using windows remote desktop connection using VNC?
Download the appropriate client viewer from here: https://www.realvnc.com/en/connect/download/viewer/
RealVNC is much much better than rdp.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Stretch w/ Desktop OS.

pcmanbob
Posts: 3672
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: My Raspberry Pi is using a LAN IP Address

Sat Jan 20, 2018 9:39 am

Zombigamer02 wrote:
Fri Jan 19, 2018 11:31 pm
pcmanbob wrote:
Fri Jan 19, 2018 11:20 pm
What IP did you windows pc have then ? When you ran the instructions I posted.

Your router can't assign addresses from the 192.168.x.x range and the 10.0.x.x range at the same time it will only have one LAN address range.

What router are you using and what else is connected to it.
IPv4 Address. . . . . . . . . . . : 192.168.56.X
ISP provided router. TELSTRA, TECHNICOLOUR TG784
If you windows pc has a 192.168.56.x IP then your router should have given the same IP to your pi with just a different last number.
if you got a 10.0.0.x IP on the pi there must be another DHCP running on your network which issued the IP so what else have you got connected to your router ?

Try connecting just your windows pc and your pi to the router and see what IP you get on both devices then.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

mattmiller
Posts: 1801
Joined: Thu Feb 05, 2015 11:25 pm

Re: My Raspberry Pi is using a LAN IP Address

Sat Jan 20, 2018 10:11 am

Can I suggest that only pcmanbob helps the OP at the moment as I think we are bombarding them with too many questions/suggestions?

User avatar
bensimmo
Posts: 2598
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: My Raspberry Pi is using a LAN IP Address

Sat Jan 20, 2018 10:40 am

That's the old Thomson router (now Technicolour)

It's a basic router, you don't need to set anything on the Pi other than enable VNC on raspi-config and use VNC viewer, see here https://www.raspberrypi.org/documentati ... /README.md

Honestly, start fresh again as any alteration trying to make it work may be making it worse.
Do nothing other than connect to the network.
Ethernet, just stick it in
WiFi just do what you normally do.
(WHICH are you using?)


I can only think this is if this is WiFi you may be connecting to a Guest account the routers sometimes have (the newer Technicolour do) and somehow you managed to work across the IP range.

Anyway, download FING it gives a nice way to scan what your computer can see on the network https://www.fing.io/download-free-ip-sc ... ndows-osx/
If you have a mobile phone garb the app and it even easier.
You IP address will not stay the same all the time, you can tell the router to keep its IP address. You don't alter anything on the Pi.

Once you have a clean Pi install, have it connected to the network and vnc enabled.

Answer pcbobs questions.
Mention if it is WiFi or Ethernet front he Pi.

If you have a WiFi extender and are connecting to that?
Etc
Take pictures if you like :-).

Return to “Troubleshooting”

Who is online

Users browsing this forum: marciokoko and 15 guests