5108Re: [LinkStation_General] Re: Problems accessing LS outside LAN
- Apr 25, 2006On Tue, Apr 25, 2006 at 07:17:22PM -0700, KeepIt SimpleStupid wrote:
> The subnet mask determines what addresses the devicesit masks away the last octet of the IP address. a network of 18.104.22.168
> on your LAN respond to. So, the most common subnet
> mask of 255.255.255.0 means anything that matches the
> first 3 digits of the IP address. Anything else the
> router processes.
with a mask of 255.255.255.0 means that addresses belonging to that
network are 22.214.171.124 through 126.96.36.199.
it's easier to think of it as a mask not as the decimal 255.255.255.0
but the hex 0xffffff00. 188.8.131.52 is 0x01010100. with our netmask in mind,
0x01010100 through 0x010101ff are part of the same network.
> I checked on a Unix system "ifconfig -a" lists some ofinterface ip assignment and routing are related but are two different
> the configuration parameters in a different form, but
> not the gateway.
concepts and are tracked in different structures.
to see the a machine's gateway:
as an unprivleged user: 'netstat -nrt | grep default'
as root: 'route get 0.0.0.0'
- << Previous post in topic Next post in topic >>