vslm addressing

ualiyuualiyu Registered Users Posts: 1 ■□□□□□□□□□
I please need help to use vslm to assign addresses to five sites with 600, 300, 100, 30 and 20 hosts. The IP addresss to be used is 172.16.0.0/24

Comments

  • lordylordy Member Posts: 632 ■■■■□□□□□□
    172.16.0.0/24 only has 256 addresses. There is no way to assign 300 or even 600 addresses out of it.
    Working on CCNP: [X] SWITCH --- [ ] ROUTE --- [ ] TSHOOT
    Goal for 2014: RHCA
    Goal for 2015: CCDP
  • CodeBloxCodeBlox Member Posts: 1,363 ■■■■□□□□□□
    It actually only has 254 usable after you account for subnet ID and broadcast address.
    Currently reading: Network Warrior, Unix Network Programming by Richard Stevens
  • CodeBloxCodeBlox Member Posts: 1,363 ■■■■□□□□□□
    Assuming you meant the address space 172.16.0.0 /16

    You could use this scheme to meet your requirment:

    172.16.0.0 /22 (supports up to 1022 hosts)
    172.16.4.0 /23 (supports up to 510 hosts)
    172.16.6.0 /25 (supports up to 126 hosts)
    172.16.6.128 /27 (supports up to 30 hosts)
    172.16.6.160 /27 (supports up to 30 hosts)

    The summary for all these subnets could be 172.16.0.0 /21
    Currently reading: Network Warrior, Unix Network Programming by Richard Stevens
  • nerdydadnerdydad Member Posts: 261
    ualiyu wrote: »
    I please need help to use vslm to assign addresses to five sites with 600, 300, 100, 30 and 20 hosts. The IP addresss to be used is 172.16.0.0/24

    Your going to have to use NATing for that.
  • CodeBloxCodeBlox Member Posts: 1,363 ■■■■□□□□□□
    Why would he need to NAT?
    Currently reading: Network Warrior, Unix Network Programming by Richard Stevens
  • nerdydadnerdydad Member Posts: 261
    Because he does not have enough IP addresses for the amount of hosts.
Sign In or Register to comment.