Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

> Official TM UniFi High Speed Broadband Thread V40, READ 1ST PAGE FOR RELEVANT WIFI INFO (Unifi)

views
     
westlife
post Yesterday, 08:19 AM

Look at all my stars!!
*******
Senior Member
9,296 posts

Joined: Jan 2011
Is there anyway to check if unifi is on public or private ip without going thru the wifi router to check?

Such as using traceroute etc. kind of commands.
Oltromen Ripot
post Yesterday, 09:43 AM

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
******
Senior Member
1,638 posts

Joined: Dec 2019
QUOTE(westlife @ Jun 29 2022, 08:19 AM)
Is there anyway to check if unifi is on public or private ip without going thru the wifi router to check?

Such as using traceroute etc. kind of commands.
*
I use Windows for this test.
500Mbps link, so supposedly on public IP.

How to interpret:
Gateway connects at least 2 disjointed network, so there are at least 2 interfaces, one facing you (inside), another facing away from you. But, for 2 gateways to talk to each other on IPv4 network, the interfaces facing each other need to be on same subnet.

Traceroute returns ping from the inside-facing interface of each gateway hop.
In my case, I only have 1 layer of router inside my home network, thus the very next hop is the inside-facing interface of a router that is no longer inside my home network.
Since the inside interface of that 2nd router is on public IP, I can assume that the external interface on my router is also public IP on the same subnet.

Logically, if you see many more responses from private IP before you get response from the first public IP, and you do not recognise those private IP as being part of your own network, then it can already be assumed that your router is assigned private IP.


CODE
C:\> tracert 8.8.8.8
Tracing route to dns.google [8.8.8.8]
over a maximum of 30 hops:

 1     3ms     7ms     3ms   192.168.###.1
 2     8ms    14ms    13ms   60.49.128.###
....

akhito
post Yesterday, 09:48 AM

Casual
***
Junior Member
302 posts

Joined: Jul 2016


QUOTE(westlife @ Jun 29 2022, 08:19 AM)
Is there anyway to check if unifi is on public or private ip without going thru the wifi router to check?

Such as using traceroute etc. kind of commands.
*
https://iknowwhatyoudownload.com/en/peer/
this website tracks IP in DHT for torrent. If u see the list saw a lot stuff which u do not personally torrent then u know someone is sharing the IP which means it was private. since public ip is unique to ur household only but several private ip will share a same public ip under tm

This post has been edited by akhito: Yesterday, 09:51 AM
PJng
post Yesterday, 11:26 AM

Look at all my stars!!
*******
Senior Member
8,218 posts

Joined: Oct 2017


QUOTE(westlife @ Jun 29 2022, 08:19 AM)
Is there anyway to check if unifi is on public or private ip without going thru the wifi router to check?

Such as using traceroute etc. kind of commands.
*
My torrent client say port blocked on router/gateway after private ip
soonwai
post Yesterday, 11:33 AM


*******
Senior Member
8,676 posts

Joined: Oct 2007
From: KL


QUOTE(westlife @ Jun 29 2022, 08:19 AM)
Is there anyway to check if unifi is on public or private ip without going thru the wifi router to check?

Such as using traceroute etc. kind of commands.
*
Here's the least technical way I can think of.
1. Get your ipv4 from https://www.whatsmyip.org.
2. Ping the address from from your phone mobile data.
3. If can ping, then turn off your house wifi router.
4. If ping stops then your house is public IP.
5. If ping continues then your house is private IP.
tng55
post Yesterday, 12:21 PM

Getting Started
**
Junior Member
209 posts

Joined: Sep 2021


QUOTE(westlife @ Jun 29 2022, 08:18 AM)
U are existing 100Mbps plan user before the change rite?

Same. I am on public ip too.
*
yes i am existing 100Mbps plan only no change and no upgrade
no apply 30mbps i apply 100mbps since may 2019
dd951dd P
post Yesterday, 12:44 PM

New Member
*
Probation
2 posts

Joined: Yesterday, 12:40 PM
Hi guys, wta, I live in high rise building, just now contractor came and told that the old cabling is copper wires, then they need to pull fibre cable from 18th to 20th floor which cost me around rm200-300, is this normal? From what I learn, cabling outside my premise is free right?
aniq8676
post Yesterday, 01:36 PM

Enthusiast
*****
Junior Member
832 posts

Joined: Dec 2020
From: Perak


QUOTE(dd951dd @ Jun 29 2022, 12:44 PM)
Hi guys, wta, I live in high rise building, just now contractor came and told that the old cabling is copper wires, then they need to pull fibre cable from 18th to 20th floor which cost me around rm200-300, is this normal? From what I learn, cabling outside my premise is free right?
*
"they need to pull fibre cable from 18th to 20th floor"
Your cable route is a bit complicated and therefore charged as a Non-standard installation
dd951dd P
post Yesterday, 01:46 PM

New Member
*
Probation
2 posts

Joined: Yesterday, 12:40 PM
QUOTE(aniq8676 @ Jun 29 2022, 01:36 PM)
"they need to pull fibre cable from 18th to 20th floor"
Your cable route is a bit complicated and therefore charged as a Non-standard installation
*
They told this building can only do cabling by ceiling, so I suppose this charges is normal right?
jerry123939
post Yesterday, 03:42 PM

Getting Started
**
Junior Member
92 posts

Joined: May 2016
When watching Twitch, my Playback Bitrate go up and down. Is this normal? Any way to solve it except using VPN?

user posted image
XeactorZ
post Yesterday, 08:41 PM

♥ PandaDog ♥
*********
All Stars
30,299 posts

Joined: Aug 2010
QUOTE(soonwai @ Jun 29 2022, 11:33 AM)
Here's the least technical way I can think of.
1. Get your ipv4 from https://www.whatsmyip.org.
2. Ping the address from from your phone mobile data.
3. If can ping, then turn off your house wifi router.
4. If ping stops then your house is public IP.
5. If ping continues then your house is private IP.
*
Hmm just tried visit the website by connecting home internet (LAN cable)
ping the address by connecting phone hotspot and unplug LAN cable
Unable to ping laugh.gif

user posted image
PRSXFENG
post Yesterday, 09:13 PM

On my way
****
Junior Member
659 posts

Joined: Nov 2020


Router may be blocking/ignoring pings as a security thing
soonwai
post Today, 12:13 AM


*******
Senior Member
8,676 posts

Joined: Oct 2007
From: KL


QUOTE(PRSXFENG @ Jun 29 2022, 09:13 PM)
Router may be blocking/ignoring pings as a security thing
*
Yes, possible.
soonwai
post Today, 12:27 AM


*******
Senior Member
8,676 posts

Joined: Oct 2007
From: KL


QUOTE(XeactorZ @ Jun 29 2022, 08:41 PM)
Hmm just tried visit the website by connecting home internet (LAN cable)
ping the address by connecting phone hotspot and unplug LAN cable
Unable to ping laugh.gif
...
*
Can be 2 possibility:
1. You're on public IP and your house router is ignoring ping. Possible but unlikely.
2. You're on private IP and the router doing CGNAT for you is ignoring pings. Highly likely.

So most probably, I'd say that you're on private IP.

QUOTE(westlife @ Jun 26 2022, 02:57 PM)
my unifi 100mbps plan i am still getting a public ip even though they said 100mbps plan and below will not get.

is it the same as u guys one?
*
My neighbour on Unifi 100Mbps still getting public IP.
user posted image

Start to ping from my Unifi and then I reboot his router.
user posted image

This post has been edited by soonwai: Today, 12:50 AM
failed.hashcheck
post Today, 01:31 AM

Neighborhood plant pathologist
******
Senior Member
1,824 posts

Joined: Aug 2009
From: Johor Bahru - Shah Alam
QUOTE(soonwai @ Jun 30 2022, 12:27 AM)
Can be 2 possibility:
1. You're on public IP and your house router is ignoring ping. Possible but unlikely.
Depends on router also. I think Asus router (at least for merlin) the default behavior is to ignore ping?
soonwai
post Today, 01:32 AM


*******
Senior Member
8,676 posts

Joined: Oct 2007
From: KL


QUOTE(failed.hashcheck @ Jun 30 2022, 01:31 AM)
Depends on router also. I think Asus router (at least for merlin) the default behavior is to ignore ping?
*
Possible. If ping not working then cannot use ping to test.
Oltromen Ripot
post Today, 02:02 AM

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
******
Senior Member
1,638 posts

Joined: Dec 2019
Both traceroute and ping uses ICMP, but their working differs.

PING sends ICMP Type 8 ("echo") and the destination responds with ICMP Type 0 ("echo reply").

TRACEROUTE manipulates TTL value of IP packets, and as a packet passes through each gateway, its TTL value is decreased. Remote gateway that the packet ends up with TTL=0 returns ICMP Type 11 ("time exceeded").

So if you can't use PING, then use TRACEROUTE.

If you just want to determine whether your router is assigned public IP or private IP, then using TRACEROUTE is sufficient. Just one step, and you should learn to be able to interpret it. And command is similar and repeatable on any operating system.

No need to query remote whatsmyip, no need to check inside router's info page, no need to ping here and there, no need to cross fingers in hoping to (not) hit open port on router's external interface.
soonwai
post Today, 04:47 AM


*******
Senior Member
8,676 posts

Joined: Oct 2007
From: KL


Oltromen Ripot has posted twice already with very good explanations. Perhaps examples will help westlife. Do a traceroute and see which of the below is closest to yours.

This is private IP. (Digi mobile data) whatismyip: 115.164.213.14
CODE
% traceroute 8.8.8.8 | column -t
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1                172.20.10.1        (172.20.10.1)     6.706   ms  4.672   ms  4.312   ms
2                10.138.138.118     (10.138.138.118)  30.352  ms  33.715  ms  30.086  ms
3                *                  *                 *
4                10.132.47.46       (10.132.47.46)    28.326  ms  23.017  ms  19.999  ms
5                172.21.20.207      (172.21.20.207)   20.419  ms  20.631  ms  24.763  ms
6                *                  *                 *
7                172.21.2.250       (172.21.2.250)    40.436  ms  29.309  ms  28.952  ms
8                72.14.221.20       (72.14.221.20)    31.236  ms  22.789  ms  36.976  ms
9                108.170.250.1      (108.170.250.1)   25.200  ms
108.170.249.225  (108.170.249.225)  23.252            ms
108.170.250.1    (108.170.250.1)    30.591            ms
10               72.14.234.85       (72.14.234.85)    31.066  ms
142.250.62.57    (142.250.62.57)    23.950            ms
72.14.234.85     (72.14.234.85)     31.160            ms
11               dns.google         (8.8.8.8)         39.246  ms  28.082  ms  30.025  ms


This is public IP. (Unifi 800) whatismyip: 175.142.125.212 (see how this IP corresponds to #2 below)
CODE
% traceroute 8.8.8.8 | column -t
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1              router.local      (10.0.1.1)         2.362  ms     0.415  ms  0.354  ms
2              175.142.125.254   (175.142.125.254)  3.025  ms     2.334  ms  2.364  ms
3              10.55.49.3        (10.55.49.3)       3.680  ms
10.55.49.1     (10.55.49.1)      4.882              ms     3.439  ms
4              10.55.48.14       (10.55.48.14)      5.563  ms
10.55.48.200   (10.55.48.200)    4.809              ms
10.55.48.18    (10.55.48.18)     5.102              ms
5              72.14.214.196     (72.14.214.196)    6.143  ms
72.14.214.220  (72.14.214.220)   5.354              ms
72.14.204.208  (72.14.204.208)   6.075              ms
6              *                 *                  *
7              dns.google        (8.8.8.8)          6.486  ms     4.652  ms  4.788  ms


* anything beginning with a 10 and 172.16 to 172.31 are private IPs.

This post has been edited by soonwai: Today, 05:20 AM
Oltromen Ripot
post Today, 09:57 AM

⭐⭐⭐⭐⭐⭐⭐⭐⭐⭐
******
Senior Member
1,638 posts

Joined: Dec 2019
Home network is usually flat with only 1 router.
But companies can have multiple layer of routers. It might not be 1st in the traceroute result.
One needs to determine where is the network border; which IP is internal-facing interface IP of the edge-most router.

The required "skill" is in interpreting what comes right after your edge-most router.
Because in IP network, adjacent gateways facing each other need to be in same subnet in order to be able to talk to each other.

If the 1st gateway outside of your network is public IP, then your edge-most external-facing WAN interface have public IP.

If the 1st gateway outside of your network is private IP, then your edge-most external-facing WAN interface have private IP.

And it is almost certain that ISPs will not block/prohibit ICMP Type 11 ("time exceeded") response coming from the gateway that is assigned as your router's gateway.
It will be crazy if their own technician cannot perform troubleshooting with a key tool.

Also note; 10.0.0.0/8 was previously used for internal routing of those internet providers. As seen in the Unifi example, some of those network interconnections are still using it in their internal networks.
So if you see a pattern like public-private-private-private-public IP sequences, ignore them.
Since the intent is to determine whether your WAN interface is on public IP or private IP, interpreting what's next to your network border is sufficient for the scope.

QUOTE(soonwai @ Jun 30 2022, 04:47 AM)
Oltromen Ripot has posted twice already with very good explanations. Perhaps examples will help westlife. Do a traceroute and see which of the below is closest to yours.

This is private IP. (Digi mobile data) whatismyip: 115.164.213.14
CODE
% traceroute 8.8.8.8 | column -t
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1                172.20.10.1        (internal interface of my edge-most router)
2                10.138.138.118     (private IP outside my network)
3                *                  (ICMP blocked/prohibited)
4                10.132.47.46       (private IP outside my network)
5                172.21.20.207      (private IP outside my network)
6                *                  (ICMP blocked/prohibited)
7                172.21.2.250       (private IP outside my network)
8                72.14.221.20       (public IP outside my network)
9                108.170.250.1      (irrelevant for purpose)
108.170.249.225  (irrelevant for purpose)
108.170.250.1    (irrelevant for purpose)
10               72.14.234.85       (irrelevant for purpose)
142.250.62.57    (irrelevant for purpose)
72.14.234.85     (irrelevant for purpose)
11               dns.google         (8.8.8.8)


This is public IP. (Unifi 800) whatismyip: 175.142.125.212 (see how this IP corresponds to #2 below)
CODE
% traceroute 8.8.8.8 | column -t
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
1              router.local      (internal interface of my edge-most router)
2              175.142.125.254   (public IP outside my network)
3              10.55.49.3        (irrelevant for purpose)
10.55.49.1     (irrelevant for purpose)
4              10.55.48.14       (irrelevant for purpose)
10.55.48.200   (irrelevant for purpose)
10.55.48.18    (irrelevant for purpose)
5              72.14.214.196     (irrelevant for purpose)
72.14.214.220  (irrelevant for purpose)
72.14.204.208  (irrelevant for purpose)
6              *                 (ICMP blocked/prohibited)
7              dns.google        (8.8.8.8)


* anything beginning with a 10 and 172.16 to 172.31 are private IPs.
*

68 Pages « < 66 67 68Top
 

Change to:
| Lo-Fi Version
0.0305sec    0.76    6 queries    GZIP Disabled
Time is now: 30th June 2022 - 02:45 PM