Questions tagged [cidr]
68 questions
1
vote
3 answers
A Way To Determine IP Range From CIDR?
Possible Duplicate:
How does Subnetting Work?
Is there a formula or a calculator for determining an IP address from CIDR that I was given: 38.103.17.160/27?
I would like to know the entire range of IP addresses from what I was given, but I have…

ONDEV
- 113
- 1
- 3
1
vote
3 answers
Openvpn: iroute for all theoretically reachable [public] IPs
I am testing the creation of an enforced default route of only public IPv4 space via OpenVPN. OpenVPN does not support 'iroute 0.0.0.0 0.0.0.0' out of the box, because it contains code that rejects it. But if you remove that code and get iroute…

drumfire
- 1,699
- 3
- 14
- 21
1
vote
3 answers
Can I divide a /28 network into two /29 networks?
I have a
192.168.1.64 /28 Network
Can I divde this network into
192.168.1.64/29
and
192.168.1.72/29
?
My Question is related to the fact that now the "network address" (192.168.1.64) of the /28 is shared also by the 192.168.1.64/29…

Markus
- 867
- 2
- 11
- 13
1
vote
6 answers
Trouble subnetting a network
I have the network address 160.80.0.0/24 and have to subnet things like this:
How would I subnet this network to accomodate such a huge number of hosts? :D Any guidance for a newbie? I've already read the How Does Subnetting Work post, but they use…
Sergio Tapia
1
vote
3 answers
Check if IP Belongs to a CIDR
We have a list of CIDR's
1.10.10.0/24
5.154.0.0/16
5.181.219.0/24
23.90.68.0/24
31.40.214.0/24
I want to check if a IP for example : 23.90.68.56 belongs to any of the above CIDR's. If yes then we get the output of that CIDR.
According the above…

ph3ro
- 135
- 5
1
vote
1 answer
How do I route all public traffic through Wireguard but not local traffic?
I know there's a series of CIDRs that I can use to cover all public CIDRs and leave out local CIDRs, but I cannot find this anywhere and I don't recall where I found it a couple of years ago when previously solving this problem.
My goal is to have…

cmjordan
- 21
- 1
- 6
1
vote
2 answers
Resource handler returned message: "The CIDR '10.0.1.0/22' is invalid
I'm getting this error while trying to create a VPC with a Subnet in CloudFormation.
Subnet CREATE_FAILED Resource handler returned message: "The CIDR '10.0.1.0/22' is invalid. (Service: Ec2, Status Code: 400, Request ID:…

André Chrisostomo
- 13
- 3
0
votes
1 answer
Finding netid in CIDR
I am practicing questions related to CIDR and I have come across a particular question which I need some explanation. Can somebody please explain in detail how to answer this question.
An address space, allocated to a site via CIDR, extends from…

salman
- 1
0
votes
0 answers
How to get range of ip addresses of current network
I am using AWS to host my website, recently I've been getting a lot of background noise on the server (bots trying to backdoor, etc.). I would like to limit access of my website to just our worksites so that other IP's cannot interact with our site.…

David
- 11
- 2
0
votes
1 answer
What is the VPC accepted address and why
i am trying to create a vpc but the ip i am providing is not accepted which is 192.168.1.1/16 but aws says i can use the following range if i set to 192.168.0.0/16 it works , i guess to an extent still some clarity would be great
When you create a…

akash
- 1
- 2
0
votes
1 answer
Allowing external access to bastion hosts on aws
I am trying to create a few bastion hosts in my VPC on aws to connect to my databases that are located in a private subnet. I am using this aws Quick start.
I understand the basics of CIDR blocks and what they mean. However, I don't understand what…

Marwan
- 103
- 1
0
votes
2 answers
Subnet CIDR Scheme
I am redoing some VPC work that my predecessor did. I haven't setup a lot of networks, so I wanted to double check what I think makes sense isn't breaking some rule that I'm not familiar with.
What we currently have are four subnets broken up…
0
votes
2 answers
AWS queries regarding subnetting and routing
I have some queries regarding AWS setup please clarify.
I have created a VPC with CIDR 172.16.0.0/16 which is a private range of IP's. In my route table, I routed all the traffic from this range. Below are my queries.
How IGW connects to the…

mekala Aravind
- 3
- 1
0
votes
1 answer
What IP addresses are included in a subnet "range"?
I'd like some help understanding subnets (CIDR).
I'm using a tool to check if an IP is in an acceptable range given a CIDR address. When I input an IP address (12.245.105.190) and check it against the same address with a subnet mask…

Isaac Lubow
- 113
- 1
- 5
0
votes
1 answer
fail2ban - Filter IPs by cidr blocks
I'm using fail2ban 0.10.0 and with it I'm able to trigger some actions to block bruteforce attempts from a given single origin (with the HOST tag).
But suppose someone has control over an entire /24 block and is using it to make his bot based…

Daichi42
- 55
- 1
- 2
- 6