A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How do I unscrew up the routing table?



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old November 1st 17, 02:27 PM posted to alt.comp.os.windows-10
harry newton
external usenet poster
 
Posts: 283
Default How do I unscrew up the routing table?

He who is Andy Burns said on Wed, 1 Nov 2017 08:49:35 +0000:

Bear in mind that there is *no router* involved in this setup.


Well 10.50.0.1 *is* you default gateway, if that wasn't acting as a
router you wouldn't have internet connectivity.


Thanks for that observation, given there are only two devices on the
network, which is the desktop computer, and the "modem" (which, in my case,
is a transmitter-receiver known as a transceiver).
http://wetakepic.com/images/2017/11/01/wifi_2.jpg

Here's a picture of the temporary setup of the transceiver, which happens
to be a Ubiquiti Rocket M2 which, for the price of a typical home router,
is capable of putting out 24 decibels (dBm) of transmit power into a 24
decibel (dBi) antenna, which is 48 decibels of EIRP - which in this case
connected me to an access point over 5 kilometers (over 3 miles) away.
http://wetakepic.com/images/2017/11/01/wifi.jpg

The hardest part of the temporary setup was stabilizing the radio because I
didn't have the extension ladder handy to climb on the roof as I was
actually at that neighbor's house (15 miles away by road) setting all this
up on a wooden ladder.
http://wetakepic.com/images/2017/11/01/wifi3.jpg

Since it was only a temporary setup, I just hand bolted the "modem" to the
stepladder top step and only roughly aimed the beam to pick up the Wi-Fi
from three miles away:
http://wetakepic.com/images/2017/11/01/wifi4.jpg

This powershell command will show you all IP addresses to do with all
interfaces and their status, paste it into a powershell window

get-netIpAddress | format-table -property *


Thanks for that additional command.
For some reason, I'm an old fogie, where I started (long ago) on SunOS, and
then Solaris, and VMS, and even PDP11 before that, etc., where I can't get
into the "power shell" oddball syntax.

I prefer something more akin to "normal" command-line syntax set of rules.
Nonetheless I saved your suggestion in my archives, for future use!
Thanks.

My own script based on that command filters the list down to IPv4
addresses, excludes interfaces that windows won't make use of, and uses
CIDR notation. It shouldn't mind being pasted into a powershell window
with the line-breaks as they are below

get-netIpAddress -addressState preferred -addressFamily ipv4 |
format-table -property interfaceAlias, prefixOrigin,
@{
label="ipAddress";
expression={ $_.ipAddress + "/" + $_.prefixLength}
}

You could save that as a handy .ps1 script, but to run it you'll need to
jigger about with your powershell execution policy.

https://blog.netspi.com/15-ways-to-bypass-the-powershell-execution-policy


As I noted, PowerShell is sort of like reverse-polish-notation syntax to
me, where I prefer the "normal" syntax of the command line.

But just in case I need this, I've saved it for the future.
Thanks.

Also this web page is archived in the normal archives, so others should be
able to find it in the future.
Ads
  #17  
Old November 1st 17, 02:27 PM posted to alt.comp.os.windows-10
harry newton
external usenet poster
 
Posts: 283
Default How do I unscrew up the routing table?

He who is Andy Burns said on Wed, 1 Nov 2017 08:54:48 +0000:

C. 127.255.255.255.255 ?


Is this half the Internet?


No 1/256th, it is an address (ignoring the spurious 5th octet), not a mask.


Ooops. You're right. It's not a netmask.
Thanks.

I think your commands are *great*!

a. To show the relationship of IP to adapters: netsh int ip show route
b. To reset the routing table to defaults: netsh.exe int ip reset

Thanks!
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 05:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.