Write a bash script to subdivide an given subnet into a pre-defined number of smaller subnets.
After division IP addresses shouldn't be wasted, i.e. accumulation of your subdivisions should make up the divided subnet.
Every subnet has 3 IP addresses reserved and not usable by hosts: network, broadcast, gateway.
Show network/broadcast address, number of hosts and assign gateway. Gateway should be first IP available in divided subnet. Examples:
INPUT: ./[login to view URL] [login to view URL] 3
OUTPUT:
subnet=[login to view URL] network=[login to view URL] broadcast=[login to view URL] gateway=[login to view URL] hosts=125
subnet=[login to view URL] network=[login to view URL] broadcast=[login to view URL] gateway=[login to view URL] hosts=61
subnet=[login to view URL] network=[login to view URL] broadcast=[login to view URL] gateway=[login to view URL] hosts=61
Hello
i am an experienced system admin and i can provide you with the shell script to divide the subnets based on the input CIDR that is provided as the parameter to the shell script.
Please let us discuss the details and i can get started.. thank you.
Hey there,
I'm a Systems Engineer with coding skills.
I have been working with Linux/Unix-systems for years.
I had developed tons of Bash/Shell scripts.
I can help.
Regards.
Hello.
I am George.
I am very happy to see your post because I have enough experiences with it. I worked for the private cloud system and designed and developed the DHCP server based on the dhcp protocol so I have good knowledge of ip division according to the request.
As a network manager of the cloud system, your problem is really nothing but trivial things for me.
Contact me to discuss more.
Regards.
Hi
I am a devops and network engineer experienced with shell/bash and python,java,php for more than 3 years. I am well experienced in network design and I can create you a shell script to divide network into predefined number of subnets. Please message to discuss further on this
Thanks
Note-please check my profile for past projects and reviews.
Hi. thanks for your posting.
I'm very happy to have a chance of bidding your project.
I have experience in development of the projects like yours
If you hire me, I'll do my best for your project and finish greatly in a short time.
I'm sure I can satisfy for you as you want.
Best regards.
Dear Prospect Hiring Manager.
Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned
"I can do this job and give you an efficient job that will be very acceptable and presentable. I and my team work on web development and mobile apps and I can assure you that you will never be disappointed"
Dear Sir,
I am happy to see your project description. I have 3-4 yr of experience developing shell script.
I already developed the script and can deliver in 1-2 days with all customization requested by you.
Thanks,
Manish