Questions tagged [netmask]
A network mask is used to determine which part of an IP address belongs to the network and which part identifies the host.
35
questions
0
votes
0
answers
11
views
If in a LAN network there is a machine with the wrong mask, what happens to communication to and from this machine? [duplicate]
Just a theory question I've come across. As the title says, what happens to communication to and from a machine with a wrong netmask?
I suppose it would work in leaving communications but not in ...
1
vote
2
answers
614
views
Why is 172.16/12 contiguous?
I'm confused.
From RFC 1918:
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
The ...
-1
votes
1
answer
70
views
Wrong subnet configuration works anyway in a shared bus, but doesn't work in switched lan. Why?
I was told that this configuration (which contains an error in DNS mask which is /23 instead of /24) works only because it's a SHARED bus. If it was a SWITCHED lan, the DNS responses from DNS to A ...
0
votes
1
answer
43
views
Is it possible to connect two PCs in diff networks under diff routers?
Explaining my dream scheme:
I have main Router_0, it has some own Network_0.
To Router_0 connected Router_1 and Router_2, with their own another diff networks Network_1 and Network_2, and PCs... PC_1 ...
0
votes
1
answer
2k
views
Subnet masking to get 2 subnets each with 126 host
Suppose we have a subnet mask of value 255.255.255.128. May I know please why this would split the network into 2 subnets each with 126 hosts?
From my understanding, if the subnet mask was 255.255.255....
3
votes
3
answers
2k
views
Subnet cross-access with three routers
I am trying to build a home network with three routers and one switch. My search here and on the internet didn't yield much, partly due to every question being very specific and also me being a novice ...
0
votes
1
answer
24
views
Can wider subnetmask create problems in accessing some websites?
I have two Linux server working as gateways.
Both are connected to same LAN.
Server one:
address 14.139.114.115
netmask 255.255.0.0
Server two:
address 14.139.114.116
netmask 255.255.255.240
If ...
1
vote
2
answers
6k
views
netmask: how to calculate number of networks?
My way to calculate netmask number of host, for example: i want to know the number of hosts for netmask 255.255.255.192 (prefix 26)
255.255.255.192 11111111.11111111.11111111.11000000 26 ...
0
votes
1
answer
131
views
How to catch this range of IP addresses with a netmask?
I have an OpenWRT router and a Pi-hole install within the network.
I am aware that some devices may ignore the DNS provided by DHCP and use hardcoded ones, so I want to redirect DNS from all non-...
0
votes
2
answers
389
views
Communication problems across subnets
Here is my network setup:
[modem] -> [Router A] (IP: 192.168.1.1) -> [Router B] (IP: 192.168.0.1)
Both routers have a subnet mask of 255.255.255.0.
My problem is that while devices connected to ...
1
vote
0
answers
294
views
Issue with Open VPN connection which specifies a .252 subnet mask
I'm connecting OK wirelessly to my office VPN (with Open VPN client) using my Windows 10 laptop.
I need access to devices 10.10.21.200 and 10.10.21.123, and the Open VPN service has assigned me an IP ...
1
vote
2
answers
249
views
Semantics of how subnets work
Suppose I have host1 with configured IP 1.2.3.4 and subnet mask 255.255.255.0 connected to a router.
Is the following statement absolutely, semantically correct:
"The router will forward a packet ...
4
votes
2
answers
2k
views
Is there any way to quickly and efficiently get a count of IP host addresses in thousands of CIDR/netmask ranges in Bash?
I am using IPSet to managed tens of thousands of IPv4 CIDR/netmask ranges that then get linked to IPTables rules. This setup is working great, but I would like to get a good, high-level overview count ...
0
votes
1
answer
1k
views
OpenVPN Assign IP addresses with non-contiguous netmask
I'm working on using OpenVPN to connect several access points in different locations. I had intended to assign IP addresses to devices so that NAT was not used within the network by using the 10.0.0.0/...
0
votes
2
answers
2k
views
different subnets on the same interface used by virtual machines in brdiged networking
I have one physical server with one network interface. IP forwarding is enabled and firewall configured properly.
My provider has assign me one primary IP address and 4 failover IP addresses form a ...