Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
1answer
34 views

Network setting for similar looking subnets

I have a CentOS 7 PC (with 2 NIC cards) and 2 servers. I'd like to access these servers from the 2 NICs in a different way. Something like one server can be reached only from NIC1, and the other ...
-2
votes
0answers
19 views

How to connect a machine with different subnet (static ip) to another machine to share internet [on hold]

I have 2 machines, say A and B A with static IP configured as below and in a domain to restrict outgoing connections to some services within the intranet. ip - 192.168.121.161 subnet - 255....
1
vote
1answer
93 views

Accessing two isolated subnets from a Linux box

I have a Linux box with two NICs, each connected to a different LAN: LAN A: 192.168.1.0 255.255.255.0 LAN B: 192.168.2.0 255.255.255.0 The routers are: RouterA: 192.168.1.1 RouterB: 192.168.2.1 ...
0
votes
1answer
33 views

Proxy setup between a private and public

I have two servers: Private Server with IP: 172.16.0.2 Public Server with 172.16.0.3 (private IP) and x.x.x.x (public IP) What I want to achieve is: Incoming communications to Public IP (x.x.x.x) ...
1
vote
0answers
4 views

Networking bits to number of subnets [duplicate]

How does one use the value of networking bits of a class A address to find the number of subnet bits and host bits? For example, with a subnet mask of /22, what would be the process of finding the ...
3
votes
1answer
188 views

What is a good subnet strategy for AWS VPC? [closed]

I currently have each VPC per cluster (stg, prd, tst, misc) and the standard clusters (stg, prd) have these subnets: elb: for public elb(s) that will received direct public traffic elb-int: for ...
2
votes
1answer
40 views

NAT gateway for ec2 instances

I have a public subnet with ec2 instnaces. The route table has 0.0.0.0/0 IGW (Internet Gateway) as default. I tested adding a public IP address to my instance (104.27.142.41/32 as reported by curl ...
-2
votes
0answers
25 views

bypass network and route directly to server

We have client Macs who utilize a 10GbE adapter to reach our internal network as well as our CentOS 7.4 SAMBA server. The topography from server to client is as follows: The Server is connected over ...
0
votes
0answers
14 views

Server with two NICs behind Ubiquiti ERX, connected to two separate private company networks with possible similar address spaces

We have a Ubuntu 18.04 Server running a web application that needs to be accessed by two companies. We have two NICs on the server, one goes to our local "shop floor" network (10.200.145.0/24) which ...
0
votes
0answers
15 views

Request timeout issue while pinging remote computer with site to site VPN Connection

I am having site to site vpn configured with sonic wall. Central site is having two subnets 192.168.1.x and 192.168.10.x. Problem is I can ping 192.168.1.x network, but cannot 192.168.10.x from remote ...
-3
votes
3answers
61 views

What significance does the subnet mask have for a public IP address? [closed]

Our hoster has assigned us multiple public IP addresses. They are individual non-contiguous addresses e.g. 1.1.1.50 and 1.1.1.222. According to them the correct subnet mask to use is 255.255.255.0. I ...
0
votes
1answer
42 views

Export my whole AWS architecture into file?

In AWS, I have a VPC with many components inside, including subnets, security groups, gateways, load balancers, target groups, many instances, and others. Is there any ways to export my whole ...
-1
votes
1answer
54 views

Why does 172.16.0.0/12 equal to range 172.16.0.0 — 172.31.255.255? [duplicate]

So we have a private network: 172.16.0.0/12 that means: 10101100.00010000.00000000.00000000 (value: 172.16.0.0) 11111111.11110000.00000000.00000000 (subnet mask of /12) How does that translate to ...
0
votes
2answers
30 views

Unable to delete a subnet I created in GCP

I have a subnet in GCP, under the default network, called xxx-general If I try to delete this subnet (as it's no longer required), I get an error: Failed to delete the subnet. Error: The subnetwork ...
0
votes
0answers
7 views

Distribute a network in subnetworks [duplicate]

I am new to subnetting and still in learning phase, so I want to create 6 subnetworks from the following IP range 192.168.10.0/24 I have created the following subnetworks (since i need 6 so i ...
0
votes
1answer
45 views

The routing behavior of VMs in Azure is strange

I have three Ubuntu machines, machine A, B, C. I also created a VNet 10.3.0.0/16, and create three sub-net SubN1: 10.3.0.0/24 SubN2: 10.3.1.0/24 SubN3: 10.3.2.0/24 Machine A has 3 nics, eth0, eth1, ...
0
votes
1answer
62 views

Google Cloud - Unable to connect to internet from my private instance using Nat instance in VPC

My configuration 1. Created a VPC (poller-vpc) 2. Created two subnets (private subnet[0.0.1.0/27] , public subnet[0.0.1.32/27]) 3. Added firewall rule (tcp, udp, icmp for 0.0.0.0/0 for vpc-poller ...
0
votes
0answers
44 views

Failure to ping two devices on the same subnet

Need some help with Routing. I do not understand how to make this work I have 2 Devices configured. One of the devices(somebox1) is configured with 2 interfaces and the Routing table looks similar as ...
0
votes
0answers
35 views

Routing between OpenVPN subnets in tunnel modes

Hope someone can help me and understand what is wrong in my setup. I have installed OpenWrt Chaos Calmer 15.05 on m TP Link router. The router have the WAN connected and a WiFi and wired subnet on ...
0
votes
2answers
124 views

Weird routing behavior between 2 Subnets

I have two Subnets and the Routing works like this: Client A can Ping (ICMP) Client B Client B can't Ping (ICMP) Client A There are no Routes manually configured in the Access Point (Google Wifi ...
-2
votes
1answer
41 views

Network hierarchy with subnets

Is it possible to divide networks with subnets so that they intersect? My example is: Network A: only visible inside network A Network B: only visible inside network B Network C: visible from both ...
0
votes
0answers
112 views

IP Address and Subnet Address Validation

I am developing a code to validate that an IP and Subnet IP combination is a valid one. Say the IP address is 192.179.10.105 and its subnet mask is 255.255.0.0 - so what are the validations we can ...
-1
votes
2answers
56 views

In AWS VPC subnet id changed

I deleted the default subnet in my VPC and tried to create new. After creating the new subnet it showed a different subnet id, as you would expect. When I try to create subnet group in RDS the ...
0
votes
1answer
35 views

Can I have EC2 instance within the same vpc have a different availability zone

I wonder if it is possible to have one single instance running in a different AZ than its peers within the same private subnet of another AZ. There is a database cluster private subnet in which my ...
1
vote
2answers
113 views

Any reason not to use 10.X.0.0/16 subnets (VLANs) on SMB private network?

We are currently primarily using a 10.1.1.0/24 subnet at our small company (~250 employees, ~90 computer users). We're seriously considering doing some VLANing / network segmentation and isolation, ...
0
votes
1answer
42 views

AWS - VPC and subnet group

In order to create RDS, I need to create a VPC and two subnets attached to it. If I choose 10.0.0.0/16 as IPv4 CIDR for VPC, can you please suggest IPv4 CIDR blocks for the two subnets that I have to ...
0
votes
1answer
81 views

How to use subnet-zero ip address in practice?

I know that subnet-zero ip address refers to a subnet itself, while subnet-one ip address is used for broadcasting. How can we use subnet-zero ip address? Does any router have a capability to make ...
0
votes
0answers
39 views

Add an IPv6 subnet to Ubuntu server

I'm trying to add an entire /64 ISP-provided IPv6 subnet to an Ubuntu server machine. I'd like to be able to use any IP I want with curl (perhaps using --interface <ip>) after the IPs are ...
1
vote
1answer
93 views

OpenVPN clients with same subnet connect to server

Is there any way at all to connect possibly hundreds of IOT devices that have the same LAN IP (192.168.1.1) to one OpenVPN server? The devices have openvpn client preinstalled. I've been told it's ...
0
votes
1answer
35 views

How can i set up a PC as gateway from a local network to the internet?

This is a follow up question to this question. I want to configue a local network in a way that its clients use a server as gateway towards the internet. The OS on all clients and the server is ...
0
votes
0answers
21 views

How to bind a subnet explicitly to a specific interface using dhcpd

In reference to dhcpd, how does one go about binding a subnet explicitly to an interface like eth0 serves subnet0, eth1 serves subnet1? ubuntu 16.04 Thank you
0
votes
1answer
33 views

connect two pcs per lan

I have four PC´s, all of which have a OpenSuse 42.3 OS and are connected with a Lan wire. I now want to communicate with one Server-PC to the other three. I already gave all of them a Subnetmask of /...
1
vote
0answers
438 views

IPv6 Routing: Destination unreachable: Beyond scope of source address

I need a help with IPv6 routing, I have setup a Linux box with a IPv6 interface on eth2, and this interface is bonded with interface bond0 Details as below cat /etc/sysconfig/network-scripts/ifcfg-...
0
votes
0answers
129 views

dnsmasq boot-option for multiple subnets

I have a simple dnsmasq configuration that handles PXE for BIOS PXe as well as UEFI pxe and this works well. I need to add a second subnet and planned on using the same system to act as the DHCP ...
0
votes
1answer
86 views

Use cases for protected subnets

I'm reading through some blog posts and articles on aws vpc design to see if there are perhaps improvements to be made to a setup currently on aws when I came across an article making mention of "...
1
vote
1answer
59 views

VLAN/Subnet Design

I am trying to get my head around the practical implementation of VLANs/Subnets. I currently have 3 HP v1910 switches with the following subnets/VLANS; 192.168.20.0/24 Production Server (7 servers ...
0
votes
1answer
135 views

Move computer into ou

I have a customer that has 4 locations. We have 2 dcs in one of the locations. I want to create a domain that will separate computer objects by location. Sometimes a users will visit another location ...
2
votes
7answers
466 views

What does the netmask in an IP address actually tell you?

There are several questions out there asking what the CIDR netmask is, and how it's calculated. But after reading all the top answers, I'm still left wondering, how does the netmask let us distinguish ...
0
votes
0answers
8 views

What happens if several clients in the same subnetwork request the same asset to a WebRTC based CDN?

Basically, I wonder how the traffic is routed when several (let's say up to 30) clients, all using the same gateway and being in the same wifi sub-network are requesting the same asset to a WebRTC ...
0
votes
0answers
28 views

Samba File Server sharing over multiple Switches/Subnets [duplicate]

I have a raspberry pi with a configured samba server to share a harddrive attached to it. I tested the server inside a single subnet and since that worked I now need to integrate it into the server ...
0
votes
1answer
834 views

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 ...
0
votes
1answer
38 views

How do I talk to a machine with the same IP as me but on a different subnet?

Suppose I am on one subnet and I want to send a message to another machine on a sibling subnet that has the same IP address as me. What is the syntax, conceptually and practically, to get my message ...
0
votes
0answers
88 views

How do I stop a server on multiple subnets using SMB responding from a different IP address?

I am having a problem in our network where some computers are having extremely problematic and slow connections to our Solaris 11.3 server. The problem seems mostly limited to computers running macOS,...
0
votes
1answer
2k views

Allow internet access for ec2 instances with private IP addresses inside a public subnet?

I have a public subnet(S1) with a route pointing to the internet gateway in its route table. Launched an ec2 instance(I1) inside S1 but did not allocate a public IP to it, thereby the instance only ...
1
vote
2answers
314 views

Connecting a server in a private subnet from a server in the public subnet

I created 2 subnets in one AWS VPC. One of them has an internet gateway for routing. The other has a NAT gateway. I launched 1 instance into the public subnet with a public IP address and the other ...
0
votes
0answers
110 views

Windows Server 2016 - Multiple NICs - Isolation Issue?

I have a SCADA server running Windows Server 2016 with 2 NICs configured to grant access to separate networks, which I need to stay isolated from each other. NIC 1 exists on the main local network ...
0
votes
1answer
49 views

Accessing a machine in a different subnet with a persistent route

the IP address of a windows computer is 172.16.56.109 with the subnet of 255.255.240.0 which is set by a DHCP server. On the other hand, I want to access to another computer with IP 172.20.54.10 and ...
0
votes
1answer
20 views

Accessing different networks with different subnets from one main network

I have multiple branches with their own NBN connections and routers, i would like to put each one on a different subnet (192.168.2.*, 192.168.3.* and so on) just for sorting reasons, they do not need ...
1
vote
0answers
100 views

Why would I get ping replies from a private IP outside of my subnet?

I have a computer with 2 network adapters, each on its own subnet. One is our private LAN, 192.168.1.0/24, the other is for the internet. The internet subnet is 10.251.85.161/27. When I ping-...
0
votes
2answers
39 views

Why does my network traffic appear to not go through what my router calls my “WAN default gateway”? [closed]

Bear with me a bit as I might be completely misunderstanding something. I'm a very-early-in-education networking student and at the moment I'm tinkering with my router settings while studying. I ...