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
vote
0answers
20 views
+50

Subnet routing with pfSense

I have a public IP and and a public /29 subnet assigned to the same NIC in a server running ESXi. I have installed pfSense with two virtual NICs and assigned the public IP to the WAN IP and the first ...
1
vote
2answers
55 views

ec2 not able to a ping google.com

We created new vpc for our new architecture and vpc has 4 subnets in that private 2 and public 2. Private and public one will be Mumbai A and Mumbai B region. If I Try to do ping google.com from ...
0
votes
1answer
31 views

Subnetting, starting from a given address

I feel I understand general subnetting overall, I can answer any questions that the site http://subnettingquestions.com/ gives me but I seem to have a understanding gap some where. Say an ISP gives ...
0
votes
0answers
13 views

openvpn (webmin) internal routing dont forwarding (wrong gateway?)

I'm using openvpn (with webmin and ubuntu 18.10) and the traffic is not forwarding between subnets =[ Openvpn is generating a route table with a wrong (i think) "gateway" I need 2 (or more) subnets ...
13
votes
4answers
4k views

Does a Gateway of a Subnet need to be a “real” Computer?

Is a Gateway always a real computer or just a "logic" entity, which can be on any address, except the broadcast IP?
0
votes
0answers
37 views

VPN routing issues

I need to set-up VPN in business network but I'm facing some issues. I have 2 main devices - 1 modem/router (ASUS) which is directly connected via VDSL to internet (with public IP address) and it's ...
5
votes
2answers
178 views

How to pick AWS CIDR within the CIDR ranges of VPC?

When i try to add a new subnet in my VPC I get this message: 172.22.128.0/24 CIDR is not within the CIDR ranges of VPC. My current VPC CIDR is 172.22.130.0/28 Any help?
0
votes
0answers
13 views

Attaching Lease IPs to a dedicated server and Subnetting [duplicate]

How does one go about attaching the lease IP addresses to a dedicated server, is it possible to do so? One of my developers is asking me to take these lease IP addresses, attach them to a dedicated ...
0
votes
1answer
49 views

AWS Security group for restricting inbound traffic from private subnet

I have a load balancer with public IP, which delegates calls to two EC2 web servers on a private subnet in AWS VPC. For redundancy reasons, each on a separate private subnet. Let them be denoted as A1,...
0
votes
2answers
38 views

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

Configuring subnet between machines with bonded network cards

Two machines have bond0 configured to access the Internet. Technicians in datacenter say the VLAN is created, I just need to configure interfaces on servers to work with it correctly (create a subnet)....
1
vote
1answer
35 views

Simple router with two ethernet interface no static route needed?

Normaly, for two subnets connected with one router, i always used to create two routes per example: subnet 1: 192.168.1.0/24 subnet 2: 192.168.2.0/24 router interface 1: 192.168.1.99 router ...
-2
votes
1answer
40 views

Ubuntu subnet distribution

I´ve a question regarding the distribution of subnets within my linux system or more specifically ubuntu. If I set a ip-adresse with a netmask, how will ubuntu set the netaddress and broadaddress of ...
1
vote
1answer
64 views

EXSI 6.7 Multiple Subnets

I'm new to VM's as I've always setup physical servers in the past. I have installed VMWARE EXSI 6.7 on my HP server and I've setup 2 VM's. One is for a SCADA system and the other is for a ...
4
votes
1answer
69 views

What IPv6 block should be whitelisted when a user asks to whitelist their IP?

Currently, on my IPv4-only service, users can whitelist their IP address which allows them to bypass email 2-factor authentication when they log in. When they do this we only whitelist that single IP ...
0
votes
1answer
64 views

Two hosts within different network connected to a switch should communicate?

I'm trying to understand how this works.. I have 2 hosts with these IP addresses: m1: 192.168.0.1/24 m2: 192.168.1.1/24 As you can see, they are on different network.. And in my case, they are ...
0
votes
2answers
93 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 ...
1
vote
2answers
78 views

VPN into router behind a Sonicwall

We've installed a Sonicwall TZ Firewall and have configured an L2TP/Ipsec VPN. The SonicWall is connected to an internal router on the subnet 192.168.168.0/30 with the SonicWall on 192.168.168.1 and ...
0
votes
1answer
45 views

Network connection slow, one-way, between Ubuntu and Mac OS

I'm stumped. I have three nodes -- 2 iMacs and 1 Ubuntu 18.04 server -- all on the same subnet. When I send files, e.g. scp, from Ubuntu to Mac it's relatively fast (5mb/s - not lightning but ...
0
votes
2answers
35 views

DHCP in packet-tracer is not assigning IP correctly, what am I missing?

I have the network 172.28.226.128/24 Whereas first Host should be "172.28.226.129" and last Host "172.28.227.127" now, when I try to use dhcp in packet tracer, it assigns the ip "172.28.226.1" to ...
2
votes
1answer
90 views

OpenVPN: Addressing remote LANs

I've been trying to solve this problem for a while now, but to no avail. We basically have an OpenVPN server to which our end devices need to connect. Some of those devices can directly connect to the ...
-1
votes
1answer
51 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 ...
1
vote
1answer
116 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
73 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
225 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
96 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 ...
-3
votes
3answers
69 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
61 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
181 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
54 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
49 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
162 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
49 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
44 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
134 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
47 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
225 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
67 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
36 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
151 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
116 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
135 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
58 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
102 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
37 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
24 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
34 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
688 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-...