Jump to content

IP and Subnet


Gadwil
 Share

Recommended Posts

I would like to know how to tell what your Subnet is. I am trying to do a custom IP Address and it says "Your IP Address must be in your Subnet." I do not know what to do or how it works, can someone please explain how to figure out what IP to use.

Link to comment
Share on other sites

I would like to know how to tell what your Subnet is. I am trying to do a custom IP Address and it says "Your IP Address must be in your Subnet." I do not know what to do or how it works, can someone please explain how to figure out what IP to use.

I don't quite understand what your question is, but if you are just trying to find out what subnet you are in, just open up your command prompt and type in ipconfig and that will tell you your subnet mask. Based on that you can find the network portion of your IP address, and the host portion.

There are loads of tutorials on subnetting, just google it.

Link to comment
Share on other sites

From command line type: ipconfig /all

You Should See Something Like This:

Microsoft Windows [Version 6.0.6001]
Copyright © 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Sable>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Sable-PC
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : 

Ethernet adapter Local Area Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : NVIDIA nForce 10/100/1000 Mbps Ethernet #
2
   Physical Address. . . . . . . . . : 00-04-4B-18-89-25
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : NVIDIA nForce 10/100/1000 Mbps Ethernet
   Physical Address. . . . . . . . . : 00-04-4B-18-89-26
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::e541:a2f7:692c:f5df%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.105(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Sunday, December 14, 2008 6:35:12 PM
   Lease Expires . . . . . . . . . . : Monday, December 15, 2008 6:35:10 PM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 208.67.220.222
                                       208.67.220.220
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::78cc:ec89:556b:5865%14(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.80.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::f1fe:3f0f:75cd:3f33%16(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.49.1(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Hamachi:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hamachi Network Interface
   Physical Address. . . . . . . . . : 7A-79-05-6E-CC-F9
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 5.110.204.249(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.0.0.0
   Lease Obtained. . . . . . . . . . : Sunday, December 14, 2008 6:35:12 PM
   Lease Expires . . . . . . . . . . : Monday, December 14, 2009 6:39:25 PM
   Default Gateway . . . . . . . . . : 5.0.0.1
   DHCP Server . . . . . . . . . . . : 5.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{660BF523-F59D-4E88-8BDA-9072838DB
3D8}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 7:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{7884D6F6-C939-428B-ABD1-B1AA1AE16
317}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 02-00-54-55-4E-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 12:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{315E2282-04A0-436D-AB07-3BA1C3972
1CD}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{30170173-8B5D-4A76-A0A3-491C5060B
023}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 14:

   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : 
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::5efe:192.168.1.105%19(Preferred)
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : 208.67.220.222
                                       208.67.220.220
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Local Area Connection* 15:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{95843465-6F84-4848-B61C-290E4A1CD
9D1}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::200:5efe:5.110.204.249%21(Preferred
)
   Default Gateway . . . . . . . . . :
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Local Area Connection* 16:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : 6TO4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2002:56e:ccf9::56e:ccf9(Preferred)
   Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301
   NetBIOS over Tcpip. . . . . . . . : Disabled

C:\Users\Sable>

Here is the subnet (Ethernet adapter Local Area Connection): Subnet Mask . . . . . . . . . . . : 255.255.255.0

Link to comment
Share on other sites

what do you mean by "custom" ip address? and what settings are you trying to configure? how is your network setup? is this on your computer, your router, what? you need to give a little more details on what youre trying to do.

Link to comment
Share on other sites

what do you mean by "custom" ip address? and what settings are you trying to configure? how is your network setup? is this on your computer, your router, what? you need to give a little more details on what youre trying to do.

By custom I am configuring my IPv4 and IPv6 protocols. I am going to my LAN properties and configuring them though that.

I am not sure how you mean by Network setup. I have an SBG900 router.

I am simply trying to change my IP Address just to know how to do it and no other reason mainly. I am just trying to test stuff and see how things are done. I mainly google these things but on this I simply could not find out how.

Link to comment
Share on other sites

Control Panel>Network Connections>Right Click Interface>Properties>Internet Protocol (TCP/IP)>Properties>Use the Following IP address>OK

The End

When I do this it says my IP is not in the right Subnet, I would like to know how to figure out what is the right IP for my Subnet.

Link to comment
Share on other sites

When I do this it says my IP is not in the right Subnet, I would like to know how to figure out what is the right IP for my Subnet.

ok so your router is trying to automatically assign your computer an ip address on the local network lets say for example its set to assign addresses to computers from 192.168.1.100-150. then you come along and tell your computer that you want to be 123.456.789.10, this wont work. if you login to your routers config page through your browser you can change the settings and the way ip addresses are assigned on the LAN. if you want to set certain ip's for certain people when they logon you can do that so that youll have the same local ip everytime you connect to the lan or wlan. if you want to manually set an ip for your computer you should just do it from your routers settings and not the tcp/ip properties tab in your network cards settings. usually its best to just have those set to automatically detect. only in certain cases do you really need to mess with those settings.

Link to comment
Share on other sites

basic networking/subnetting:

there are 3 main usable classes of subnets (without going into subnetting)

n= network part of the address (has to be the same)

h= host part of the address (has to be unique)

these are a number between 0 and 255.

class A - n.h.h.h - addresses from 1.0.0.0 to 126.0.0.0

subnet is represented by the mask 255.0.0.0

class B - n.n.h.h - addresses from 128.0.0.0 to 191.255.0.0

subnet is represented by the mask 255.255.0.0

class C - n.n.n.h - addresses from 192.0.0.0 to 223.255.255.0

subnet is represented by the mask 255.255.255.0

notice the pattern...

the number 255 in the subnet represents the network part of the address.

this is basicely how it is but it actually is more complex when it comes down to subnetting the subnets and the way it works in binary.

hope this clears it up a bit

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...