Addressing Scheme

Discussion in 'Hardware' started by Pure-D, Apr 27, 2005.

  1. Pure-D

    Pure-D Private E-2

    Right here goes I need a bit of help.
    6 pcs, 2 laptops, 3 laser printers.
    I'm using a star topology and everything is connected directly to a switch. Im using a router to feed the broadband connection into the switch to be shared amongst the network.

    The address range is 170.15.241.0/28.

    I have no Idea how to start allocating and getting the address scheme sorted.

    can anyone give me any advice or help?
     
  2. TheDoug

    TheDoug MajorGeek

    Where are you getting this range of IP addresses from?
     
  3. Pure-D

    Pure-D Private E-2

    Its an exercise in a book, I'm just trying to learn a little about networks and this is the bit thats reallt stumped me :(

    So can anyone help :)

    ---edit--- this is also kinda related to my previous topic, im using the equipment to try it out :)
    I'd like to stick to the book and use the IP address, just because the same address is used through out the book.
    Its only for learning purposes for now.
    I have free time :p
     
  4. TheDoug

    TheDoug MajorGeek

    Can you post the make and model numbers of the router and switch you're using? I do understand you're trying to learn some networking, but if we get you running at the same time, it would probably help.
     
  5. Pure-D

    Pure-D Private E-2

    I havent bought the router/switch yet. I actually didnt state that the topology in my first post was the plan, i made it sound like it was all hooked up, sorry.

    I'm just researching stuff right now and trying out what exercises I can, and the addressing scheme got me.

    I've done a little bit of research about ip addressing and its pretty tough.

    I'm finding it hard to figure out which parts of 170.15.241.0/28 you'd change for the hosts. And to my understanding the subnet mask is 255.255.255.240.

    ahhhhh :(
     
  6. TheDoug

    TheDoug MajorGeek

    If you're going to be purchasing currently available consumer equipment, most of what you're reading up on is built into the devices. These days, a private IP address range of 192.168.x.x (subnet 255.255.255.0) is commonly used-- so common that routers typically come with a default IP address of 192.168.0.1. They also include what's called a DHCP server which will conveniently hand out IP addresses in that range to your networked computers. All you need do is go into the TCP/IP Properties of the LAN Connection of each of your XP machines, and set them to allow the DHCP server to assign them their IPs and subnets automatically. If your router's IP is 192.168.0.1, then that is the IP you specify as your DNS server (and as your Default Gateway, if you choose to give your PCs specific IP addresses), again, both in LAN Connection TCP/IP Properties. Similarly, in the router's web browser-based setup screens, you would either specify your ISP's DNS servers IPs, or it may have a setting to automatically get them from the ISP. After that it's all in the router's hands, and you don't have to worry about it. Hook the switch into one of the router's ports if it doesn't have enough to go around, hook the PCs into the switch, and you're good to go.
     
  7. Pure-D

    Pure-D Private E-2

    Thanks for that :) thats put my mind at rest.

    Is there any chance of getting some example address's for the setup using 170.15.241.0/28, im just curiuos now :)
     
  8. TheDoug

    TheDoug MajorGeek

    The 192.168.x.x range is generally accepted as a standard private IP address range in the world. No public computers accessible directly from the web use it. I would say the text you are reading with the 170.15.241.0/28 range is one merely randomly chosen for the purposes of illustration, and not of any real world value.

    But, to answer your question, if the router is 192.168.0.1, and its DHCP server is dynamically assigning IP addresses to machines on your LAN, it would hand out 192.168.0.2 to the first PC, then 192.168.0.3 to the next, and so on, unless you hard code an IP address into a PC for a specific reason, in which case the DHCP server would not try to use that one for any other machine on your LAN.
     
  9. Pure-D

    Pure-D Private E-2

    thanks, its finnaly starting to make sense now :)
     
  10. IrOnMaN

    IrOnMaN Specialist

    for the address 170.15.241.0/28 the subnet mask is as you said 255.255.255.240 . the first ip address you would use would be 170.15.0.17 .
    once you get to 170.15.0.30 it will go to 170.15.0.33 .

    your ip ranges is going to be multiples of 16.(16+16=32, 32+16=64)

    your first range would be 170.15.0.17-170.15.0.30 (you wouldnt use 16 because thats the network ID and you wouldnt use 31 because thats for the broadcast.)

    your second range would be 170.15.0.33-170.15.0.62

    it will do that all the way to 170.15.0.239 then the next one will be 170.15.1.17

    using that ip address with that subnet mask will give you a lot of different networks. 2 to the 12th power

    i hope this clarafies what you are trying to do.
     
  11. dedub

    dedub Corporal

    Pure-D, here's some more info for you to try and swallow as far as that IP scheme you gave.

    First, Ip addresses are broken down into 5 catagories. A,B,C,D,E, Each has a default subnet respectively. What you gave is a class B IP address with a Class C subnet. That is called Classless subnetting as oposed to Classfull subnetting and is a technique used to break ip ranges down to the nTH level so IP's do not get wasted.

    Here is an example
    170.15.241.0 255.255.0.0 would be the classfull default subnet
    170.15.241.0 255.255.255.240 is called Classless subnetting
    170.15.241.0/28 is the same thing as above but is refered as CIDR

    Ironman did a great job at breaking the math down for you. If your interested in learning subnetting bust out a notebook and pencil, type subnetting in Google and give it a shot.
     
  12. Kodo

    Kodo SNATCHSQUATCH

    don't know if this will help, but I wrote a program that will subnet a class c IP address for you.

    attached as zip. (single exe, no installer)
    Requires .NET framework v1.1 to work.
     

    Attached Files:

  13. TheDoug

    TheDoug MajorGeek

    At this point, I just have to ask this question:

    Does Pure-D want to learn TCP/IP and computer networking theory, or does he just want to hook up 6 PCs, some laptops, and some printers, and have them share resources and a broadband internet connection? I'm getting this feeling he's somehow gotten the impression he has to teach himself to be a computer rocket scientist to hook up a peer-to-peer Windows network, and that's simply not the case.
     
  14. Kodo

    Kodo SNATCHSQUATCH

    sounded more to me like he wanted to do both.
     
  15. TheDoug

    TheDoug MajorGeek

  16. Kodo

    Kodo SNATCHSQUATCH

    last saturday :) but that doesn't count because it was in class :p
     
  17. Pure-D

    Pure-D Private E-2

    TheDoug

    It's both :) The more I've researched the subject on the internet the more its really interested me. I know these days with windows xp, all you really need to know is how to plug things in and click next, etc. I'd like to know as much as I can about something.
     
  18. TheDoug

    TheDoug MajorGeek

    Thanks for the clarification. I just didn't want to see you waste a lot of time if you didn't need to. Have fun.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds