Questions tagged [subnet]

A subnetwork, or subnet, is a logically visible subdivision of an IP network. The practice of dividing a single network into two or more networks is called subnetting and the networks created are called subnetworks or subnets.

Filter by
Sorted by
Tagged with
0 votes
2 answers
23k views

No internet access when toggling `redirect-gateway` in OpenVPN client config

I have a router with IP 192.168.1.1 subnetting 192.168.1.0/24. On that subnet, a Synology NAS has an IP of 192.168.1.181 and is running a VPN server using subnet 192.168.2.0/24. When I connect a ...
1 vote
3 answers
10k views

EC2 unable to ping google.com

We created new VPC that has four subnets, two private and two public. Private and public will be Mumbai A Mumbai B region. When I ping google.com from public Mumbai A it is not working. When I ping ...
-1 votes
0 answers
86 views

How do I configure wireless VLANs on DD-WRT such that different wireless devices are in separate VLANs, e.g. salesVLAN, supportVLAN, etc.?

I have a wireless AP running dd-wrt. I have mobile phones, tablets, laptops, a printer and a scanner that all connect to the Wifi. Is it possible to apply VLANs to the wireless AP such that different ...
0 votes
2 answers
5k views

Issues with Ubuntu Network Setup

Please, someone tell me whats up here, I am going bonkers, I have used multiple calculators etc, everything tells me the details in the image are correct but ubuntu just will not accept.
0 votes
2 answers
28 views

Exclude local sub-net (local IP ranges)

In my company's VPN app we have a disable-able feature which excludes below List of non-web-site IP-address ranges from being routed into the VPN server. This allows local-net Apps to continue working ...
-1 votes
1 answer
58 views

PFSense: Subnet can not communicate to the outside

I have multiple subnets on a hypervisor with four Ethernet ports. Two are called subnets. Both of them are utilizing a NordVPN tunnel as their default gateway. The first subnet LAN can talk to ...
0 votes
0 answers
50 views

Having 2nd router's LAN be on same subnet as main router (and not just wifi)

Below is a diagram of my network: MAIN router: 192.168.0.1 with DHCP assigning beginning at 192.168.0.5 2nd router: Running openWRT in AP mode. Receives a statically-assigned IP of 192.168.0.2 from ...
1 vote
2 answers
3k views

wierd arp issue with 2 interafces sharing same subnet

I have two linux machines connected through a switch. bothe machines run linux RHEL 7.3 kernel 3.10.0-327.el7.x86_64 one of the machines is connected with both ports to the switch and the other with ...
0 votes
1 answer
97 views

No connectivity in LAN (arp table does not learn IP addresses)

enter image description hereI have a server connected with NICs as follows, 10.0.11.11/24 - no gateway required. 10.0.10.11/24 - with gateway 10.0.10.240 192.168.2.11/24 - no gateway required. When ...
2 votes
1 answer
6k views

Adding subnet to a vsphere with single vcenter and esxi host

Let me start of by saying that I do not specialize in networking, I am in the process of adding additional VMs to a testing environment and wanted some recommendations. In this case I am running a ...
-2 votes
2 answers
88 views

Ip routing two subnets

I've got two subnets A: 192.168.2.0/24. Within A we have got a firewall and a connection to the internet. B: 172.16.12.0/24. They are connected with each other via a switch and both subnets are ...
-2 votes
1 answer
62 views

Can two LAN networks both at one level behind a router higher up the routing chain use the same subnet mask and network ID? [duplicate]

Can two LAN networks both at one level behind a router higher up the routing chain use the same subnet mask and network ID? See the diagram below. This question was already answered here, but I am ...
0 votes
0 answers
155 views

Docker Swarm nodes on different subnets

I'm trying to setup a docker swarm between two computers I have at home and a VPS, the configuration is the following: Manager ip: 192.168.1.132/24 Manager second ip: 192.168.100.1/24 (VPN) ...
0 votes
1 answer
80 views

Creating a server with fixed IP that can be freely moved among networks

Given a public /24 prefix, announced via BGP, 192.0.2.0/24. I have split this prefix into various smaller networks. I would like to use 1-2 servers for the DNS server (forward and reverse) which needs ...
0 votes
3 answers
3k views

Subnet is not creating with terraform on azure, how to fix it?

I am trying to create two centos 8 machines with terraform on azure. My templates github link When I try to apply, I am getting below error related to policy. Could you please suggest how to fix this? ...
1 vote
2 answers
5k views

Utilizing A Secondary IP On A NIC In A Windows Cluster

RELEVANT INFORMATION I have a windows cluster with 3 nodes in it... Node1 Node2 Node3 I have 4 NICs on each node... NIC1_Host NIC2_Virtuals NIC3_Cluster_HB NIC4_Live_Migration This is the config ...
44 votes
3 answers
33k views

IPv6 subnetting a /64 - what will break, and how to work around it?

In IPv6, you are not supposed to subnet to anything smaller than a /64 (RFC 5375). Among other things, SLAAC does not work with smaller subnets, and apparently also some other features will break. ...
0 votes
0 answers
150 views

How to connect wireless clients to different physical subnets via a single access point but ensure traffic between subnets remains segmented

I’m trying to design a network with a pfSense Firewall / Router. In pfsense I have created four subnets that reside on separate physical ports (not VLANS) on the pfSense hardware: The idea will be ...
1 vote
1 answer
118 views

3 Servers, Infiniband, without IB switch

I took a look every post related similar questions but they didn't give me clear answer. Our planned system consists of three machines named n1, n2, and n3. The connection is set up as follows: n1 ----...
0 votes
2 answers
160 views

Subnet mask for 192.168.1.7/30

I want to create two IP addresses, 192.168.1.0/30 and 192.168.1.5. Adding the first IP for the router port returns this error "Bad mask /30 for address 192.168.1.7": Router>en Router#conf ...
1 vote
2 answers
7k views

Error response from daemon: Pool overlaps with other one on this address space (when on VPN)

In Ubuntu I am trying to create a docker network with a specified subnet when on VPN but I get the below error: $ docker network create my-network --subnet 172.17.24.0/18 Error response from daemon: ...
0 votes
1 answer
455 views

Adding more IP Addresses to a Subnet in AWS

I have a Subnet with CIDR 10.0.4.0/28 (15 IP addresses), which is now exhausted; so I want to add more IP addresses. Is it possible to add more IP addresses to the subnet? I see that I can add a ...
6 votes
2 answers
1k views

Can a gateway use the network address, or can the network address be anything other than the first number in that subnet range?

We were sent the following gateway info from our ISP: gateway: XXX.XXX.XXX.8 /29 I am Xing out the first three octets for privacy purposes because they will remain the same in a /29 network, and we ...
1 vote
1 answer
71 views

Windows Server 2019 erroneously changing the subnet on NIC1 to /24 after each reboot, but it should be /22

Every time I reboot this Windows Server 2019 VM, Windows changes the subnet from 255.255.252.0 to 255.255.255.0 which is incorrect. The subnet must be /22 (255.255.252.0) for traffic to pass. I found ...
-1 votes
1 answer
227 views

OpenVPN - Server cannot access devices in client's LAN

I have an OpenVPN server (10.1.0.0, 255.255.255.0 VPN subnet) and a client with a local subnet of 192.168.1.0 255.255.255.0. Server VPN IP is: 10.1.0.1 Client VPN IP is: 10.1.0.2 Server local IP: 172....
0 votes
0 answers
524 views

How to add delegation to existing subnet in azure bicep?

I am trying to create azure app function which should be accessible to postgres in private vnet. But, it seems the network is showing error as already delegated so can't add that. So I tried adding ...
1 vote
2 answers
154 views

IP ending in all zeros: valid (for /128) or possibly confusable with anycast?

Host Europe assigned a VM I just rented from them an IP address ending in all zeros (2xxx:xxxx:xxxx:xxxx::/128). I claimed this as possible interop problems as addresses with the last 64 bits all ...
2 votes
1 answer
53 views

squid: Unable to allow 10.10.11.0/24 but 10.10.11.0/23 works

Im unable to make a working acl with CIDR over `/23` (squid 5.7 on Debian) For example i got this config (working): acl servers src 10.10.11.0/23 http_access allow servers ... http_access deny all ...
0 votes
1 answer
273 views

Access subnet from another subnet

I have ipv4 address 192.168.88.130 assigned by DHCP (cannot use static IP). I have to access devices on 192.168.20.X by changing adapter settings to static and assigning some IP from 192.168.20.X, and ...
-1 votes
1 answer
96 views

Windows Server with two NICs with cross communication between the two with DMZ

Network Topology I have a Windows Server that is connected to a modem with a public ip address of 42.251.46.174 which is in DMZ that we will call Modem1. I then have a modem with the public ip address ...
0 votes
2 answers
83 views

IPTables: introduce a policy for a chain so that I can maintain the drop policy/rule without having to delete it when I need to add a new accept rule?

Say I have a chain introduced with iptables -N SERVICES-VPN. But then I want this chain to drop everything... so iptables -A SERVICES-VPN -j DROP. The problem here is that I may need to add rules ...
15 votes
5 answers
190k views

How to work out how many IP's you've got available on a /29 network mask [duplicate]

This might sound like a stupid question but I would really like to know how I would work out how many IP's I've got available on this network range: 196.44.198.32/29 Can someone explain it to me, ...
1 vote
1 answer
435 views

Routing traffic between A and C using A-B wireguard's network

I'm having some difficulties setting up a routing between 3 nodes. Here's the situation: A, B and R are wireguard (wg0) peers R is a public hub (vpn.example.com) with IP 172.0.0.1 A is a peer ...
0 votes
1 answer
138 views

Properly configuring iptables rules behind an openvpn server

hi friends hope everyone is doing well. i got a little misunderstanding of how i should configure iptables v4 rules for an openvpn server. if some wizard can give me a hint it would be great. i'm ...
0 votes
1 answer
174 views

What subnet mask to use for a virtual IP in pfSense

I have a subnet 192.168.0.0/24. I want to create a new virtual IP address (VIP) in pfSense at 192.168.0.2. What difference does it make what subnet mask I use for the VIP? Should I set the VIP to 192....
0 votes
2 answers
440 views

Getting IP address from another subnet's DHCP

As in the diagram below I have two routers on two different subnets. I connected them together but have not set static routes yet. Network Diagram However, when connecting from Access Point A's SSID, ...
0 votes
1 answer
171 views

Connecting to OpenVPN blocks access to local VLANs on different subnets

When I'm connecting to an OpenVPN provider, such as NordVPN, I lose connectivity to my local devices which are configured on another subnets. Eg. the computer connecting to NordVpn is on vlan A which ...
-1 votes
1 answer
38 views

Internet reachable from the first subnet, not from the second, on same NIC

Hi (I hope this a the right place) I'm working on ubuntu 18.04 with ifupdown (/etc/network/interfaces etc.), not netplan. I'm trying for several days on this difficulty. one PC (A) with 2 cards : ...
0 votes
1 answer
232 views

IPv6 - Are the last 16 bits of the network ID always reserved for subnetting?

I was reading about IPv6 address structure and it has two portions one for the network (Network portion/Network ID) and another for host (Interface ID/Node Part) something like IPv4 has regardless of ...
0 votes
2 answers
2k views

Why does my Windows DHCP server hand out a non-configured subnet mask?

We run the DHCP server role on our domain controller (Windows SBS 2011). We want our LAN subnet to be restricted 10.1.1.0/24 (unsure if this is the correct notation but our subnet to be restricted ...
0 votes
0 answers
135 views

Why AnyIP feature does'nt seem to be working on my ubuntu machine?

I have an ubuntu VPS with a /64 ipv6 subnet assigned to it from the provider. When I connect to the fresh server the networking daemon configuration is: /etc/network/interfaces: # Generated by SolusVM ...
0 votes
0 answers
1k views

nordvpn whitelisting 2 subnet LAN hierarchy

I have a network setup like this: Ubuntu Laptop (192.168.1.157) --> Router B (192.168.1.1) --> Router A (192.168.0.1) --> Internet and CIFS NAS drive (192.168.0.50) --> Router A (192.168.0....
-2 votes
1 answer
145 views

Hiding subnet from router

Lets say I have a network layout similar to this: What do I need in the ? node so that all of the PC's are not discoverable form the main network, but can access the main network/internet? I don't ...
0 votes
0 answers
189 views

AWS: Ping between multiple namespaces in seperated EC2 Instance

I am encountering an issue where I am unable to receive a response when attempting to ping from a namespace located within a public EC2 instance to a private one. To better illustrate my situation, I ...
0 votes
1 answer
946 views

AWS VPC Subnetting

I have a VPC created with a CIDR block of 10.10.0.0/16. I am trying to subnet that block into some /24's -- ie. 10.10.1.0/24 It wont let me. The error I get is: CIDR Address overlaps with existing ...
1 vote
2 answers
634 views

Shrinking subnets in a an AWS VPC

Our primary VPC is configured with four subnets. As you can see below, the four subnets span all of the available ip-addresses within the "10.50.?.?" block. Since all of the available ...
4 votes
1 answer
3k views

What does the subnet mask of the tunnel ip in Wireguard do?

Wireguard works even without setting a tunnel IP address, i.e. it's enough to set the AllowedIPs, endpoint addresses, private and public keys. In the docs of OpnSense, there is the following warning: ...
1 vote
1 answer
8k views

Configure DHCPD with assigned IP address and gateway on different subnets for KVM [closed]

I have a dedi with an IP range of 123.123.123.1/24, the problem is the gateway address: 111.111.111.254 and it's on completely different subnet. I have already setup a bridge and KVM virtualization. /...
0 votes
1 answer
1k views

How is NAT Port Exhaustion handled?

"Port address translation (PAT) resolves conflicts that arise when multiple hosts happen to use the same source port number to establish different external connections at the same time. PAT may ...
-1 votes
1 answer
456 views

computer get dhcp from windows server dhcp server that is in other subnet

i have server with windows server 2019 with dhcp server role installed i'v created this scope: 192.168.9.1 - 192.168.9.10 with subnet 255.255.0.0 also i'v created a virtual lan card with this ip: 192....

1
2 3 4 5
18