This topic has been archived. It cannot be replied.
-
枫下家园 / 电脑电信 / 关于tracert命令和家庭网络的纯技术性分析
-coolrock(coolrock);
2021-10-20
{2346}
(#14055025@0)
-
"那栋楼自己有一个私网"。。居然会有这个想法?一栋公寓楼的住户都走一个局域网?自己家从来没联系过网络服务安装么?着了魔了
-lepapillon(Le Papillon);
2021-10-20
(#14055183@0)
+2
-
少见多怪!
-coolrock(coolrock);
2021-10-20
(#14055385@0)
+3
-
活雷锋啊,给那家长做技术顾问吧,不用请律师了
-lepapillon(Le Papillon);
2021-10-20
(#14055415@0)
+1
-
用不着这么冷嘲热讽的,有本事说点干货。
-coolrock(coolrock);
2021-10-20
(#14055453@0)
+5
-
不是一个楼都走局域网,而是某个ISP在那里走局域网。
-jtax(吾土吾民);
2021-10-21
(#14055650@0)
+2
-
正解。
-alex76(雪中之城);
2021-10-21
(#14055887@0)
-
按下面人的说法,可以确定多伦多也是有整栋楼是私网的。当然可以100%确定的是ISP肯定是走私网,不管是不是同一栋楼。
-coolrock(coolrock);
2021-10-21
(#14055901@0)
-
Rogers的modem给用户分配的地址就是10.x.x.x,我用过。
-secfan(BadFan);
2021-10-20
(#14055198@0)
-
那就说明你的公网IP是共享的,10开头的都是私网的。
-coolrock(coolrock);
2021-10-20
(#14055384@0)
+1
-
Google Rogers modem 10.0.0.1 是内网admin 地址
-xiangqian(xiangqian);
2021-10-20
(#14055429@0)
-
如果是这样的话,那倒是可以解释为啥他家的第二个网关是10开头的。
-coolrock(coolrock);
2021-10-20
(#14055439@0)
-
Rogers这么说的吗?
-secfan(BadFan);
2021-10-20
(#14055456@0)
-
我以为你说的Rogers Modem的WAN IP是10开头的。如果你是指Modem给最终用户的地址是10开头的,那不能说明Rogers给的是私网地址即共享公网IP。
-coolrock(coolrock);
2021-10-20
(#14055461@0)
+1
-
What Is My Public IP Address - WhatIsMyIP.com®
-iga(nikita);
2021-10-20
{477}
(#14055458@0)
-
俺的是99开头
-iga(nikita);
2021-10-20
(#14055460@0)
-
Wan ip 才重要,谁在乎内部ip, 10.*
-txn(秦川);
2021-10-20
(#14055501@0)
-
写的不错,不过我觉得你给搞复杂了,也许你是想科普。如果想知道是不是给了public IP, 两个方法就能知道,1. 比较what is your ip的结果和自己的WAN IP是否一致 2. tracert your public ip in step 1, 只会有一层
-keysi(K.S);
2021-10-20
(#14055544@0)
-
如果用户在入户的modem之后加了一个自己的路由器,而且不是采用桥接方式连接的话,路由器的WAN IP和Public IP一定是不同的,而且tracert public IP会有两层。
-coolrock(coolrock);
2021-10-21
(#14055624@0)
-
不用。多数人家都己有两层。router一层,modem一层。多数modem那一层是10开头的。我家就是这样,没有两个router.而且Modem router是二合一的。WAN IP有公网地址。bell光纤。modem应该是bridge模式,要不然WAN口不能获得公网地址。但是tracert能看到这个bridge.第二个hop. 10.开头
-abcdefghi(9alphabetic);
2021-10-21
{154}
(#14055634@0)
-
我也说了,很多人就是用ISP送的modem自带的router。但是也有人不选择用ISP送的,一般性能比较差,自己买router,把modem自带的router关闭了或者不知道的就直接接上也能不影响正常使用。
-coolrock(coolrock);
2021-10-21
(#14055847@0)
-
就是仅用自带的第二个hop也可能是10,当然也可不是,那就真正把modem router放在一起了成为同一个逻辑设备了
-abcdefghi(9alphabetic);
2021-10-21
(#14055852@0)
-
二合一的话,看设备的设置了,有的内部就是bridge(桥接)的,这样就只有一个hop,如果不是的话,就和modem加Router一样,最少两个。你的上网设备网络地址是192.168开头的还是10开头的?
-coolrock(coolrock);
2021-10-21
(#14055892@0)
-
内网192,第二个hop 10,第三个公网gateway,和WAN IP在一网段上。所以第二个HOP不能证明。但第三个HOP还是私网,那就基本可推出CGNAT了。那个妈妈的情况己无需进一步证明,ISP已官方出证明了
-abcdefghi(9alphabetic);
2021-10-21
(#14056046@0)
-
嗯,这么说来你的二合一的Modem和Router内部没有直接桥接。我之前用过的Rogers,Bell的都是只有一个192.168开头的,包括修改modem的密码设置之类的。
-coolrock(coolrock);
2021-10-21
(#14056078@0)
-
不,一定是桥接的。否则WAN要不到public IP. 是bridge,但用了不同的 private IP. 你说的Modem 是router,你应该没进过modem.medem一般没必要进,显示的是底层参数,如频率等,能看出cable是否联上的电子特性等。这类modem逻辑上既是gateway也是bridge,所以对WAN口是透明的,但又在tracert上显示出来. 我觉得真实的Traffic在modem 那没有IP routing,是直接穿过modem的. Layer two and layer 3 merge 在一起的设备,存在tracert误报,我家的HOP 2应该就是误报,可忽略
-abcdefghi(9alphabetic);
2021-10-21
{334}
(#14056083@0)
-
当然进过modem了,我前些年前用teksavvy的时候自己买的modem自己安装的,内部就如同你说的。
-coolrock(coolrock);
2021-10-21
(#14056164@0)
-
还有误报这种可能?从TCP/IP协议上来讲,解释不通
-secfan(BadFan);
2021-10-21
(#14056999@0)
-
不懂就问,我执行了这个命令,第二行是 a.b.c.129 , 但使用what's my IP, 得到a.b.c.165. 这是什么意思?
-southerner(安省中年男);
2021-10-21
(#14055660@0)
-
那就对了。tracert显示的是网关ip,不是你家public IP.但是你家ip和网关应在同一掩码(net mask)的网段上(大多数就是前3个一样,C类网段,你家那个是比C类网更小的subnet网段))
-abcdefghi(9alphabetic);
2021-10-21
(#14055838@0)
+1
-
再问一问:那是说我有两个IP,还是因为与别人公用一个IP(165)?或问,有可能别人的public IP会是(129)那个吗?
-southerner(安省中年男);
2021-10-21
(#14055904@0)
-
a.b.c.129是网关,你的公网IP是a.b.c.165。你只有一个私网地址,modem连ISP不是通过私网,同一时间不会和别人share IP的。不过不能保证你的IP永远是这个,有的ISP会隔段时间给你换个IP,从这个角度说share也可行。
-coolrock(coolrock);
2021-10-21
(#14055944@0)
-
我可以详细补充一下,很多cable modem比如CIK或teksavvy 的虽然是modem和router2 in 1, 不过出厂已经被设置成bridge mode, 也就是DHCP only, 没有NAT,要改的话只能自己刷firmware, 如果直接接自己router的WAN, WAN IP就是public IP, 大部分人没法儿直接用modem,因为只有一个口,如果直接接电脑,其实用ipconfig也能看到这个public IP
-keysi(K.S);
2021-10-21
{67}
(#14055959@0)
-
DT有些楼,甚至相邻的一两栋楼是完全的局域网,光纤交换到户,然后路由出去。每家每户并不具有单独的public IP。fibe stream. corextro,好像还有两家。
-projects(pj);
2021-10-21
(#14055612@0)
+3
-
学习了,谢谢!
-jtax(吾土吾民);
2021-10-21
(#14055648@0)
-
楼主说的是内网 - Private Network, 不是CGNAT, 根据RFC6598, CIDA应该是100.64.0.0/10,CIK应该是CGNAT,TRACERT一下自己的公网地址就可以了。
-ff2021(ff2021);
2021-10-21
(#14055969@0)