Questions tagged [subnet]

A subnetwork, or subnet, is a logically visible subdivision of an IP network.

Filter by
Sorted by
Tagged with
43 votes
6 answers
183k views

What is a subnet mask, and the difference between a subnet mask of 255.255.255.0 and 255.0.0.0?

My DSL/WiFi router provided by my ISP has an internal IP address of 10.0.0.138, the addresses provided by DHCP are in the format of 10.0.0.xxx. Now, I want to start using static IP addresses on my ...
Torben Gundtofte-Bruun's user avatar
11 votes
5 answers
12k views

What are the essentials of a Subnet mask?

What is the use of a subnet mask? What is the below output conveying to the user? Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . ...
JavaUser's user avatar
  • 297
12 votes
2 answers
52k views

How to create a separate subnet for wireless access?

I need to configure my wireless router so all wireless devices are on a different subnet (192.168.2.1). The wireless devices should be able to access the internet, but ideally not the workstations on ...
Austin ''Danger'' Powers's user avatar
6 votes
2 answers
33k views

Is 225.225.225.128 a valid subnet mask?

I have been told that we have two devices on a network: 10.40.225.142 and 10.40.225.144 These devices both have Gateway 10.40.225.129 Subnet mask 225.225.225.128 (note 225 is Not a typo) These ...
Matt Wilko's user avatar
93 votes
5 answers
235k views

What is the difference between a VLAN and a subnet? [closed]

I have read numerous forums and articles regarding VLANs and subnets. However, I haven't understood the functions of each apart from the following: Subnets allow the segmentation of a network VLANs ...
PeanutsMonkey's user avatar
10 votes
5 answers
12k views

Why is ip address listed as 172.18.0.150/24?

Why is IP Address listed with this notation 172.18.0.150/24? I mean the ip is 172.18.0.150 only why it haves /24?, and then whatever what subnet that is on should be someone else's worries, no? 3: ...
JohnyTex's user avatar
  • 337
5 votes
2 answers
14k views

OpenVPN: Route only specific subnetwork through vpn - works for single IP adresses

I was trying to route only specific subnet/single through open vpn. I have read several questions like this on superuser, and even found good answer to my question. So I am now able to route single ...
running.t's user avatar
  • 278
45 votes
10 answers
74k views

Why do we need subnet mask?

Since a IPv4 address already gives the information of the network and and host, why do we still need a subnet mask? The 1st Octet already specify the network class (1-127: A, 128-191: B, 192-223: C ...
KMC's user avatar
  • 1,989
26 votes
8 answers
94k views

Why is my subnet mask 255.255.255.255?

I have a modem which used for internet broadband and I got an IP address in the 'A' class 10.x.x.x and have netmask 255.255.255.255. What does 255.255.255.255 mean exactly? When I try to sniff with ...
capede's user avatar
  • 491
20 votes
3 answers
152k views

Communicating with devices on a different subnet

Let me start this off by saying that I am very new to how IP Address / Subnet Addresses work, and networking in general. This stuff is generally mystifying, and I've had a hard time understanding ...
nathan lachenmyer's user avatar
11 votes
4 answers
131k views

Why can't my OpenVPN client access machines on same LAN as OpenVPN server?

I have configured OpenVPN on my Linux server and Windows client according to the instructions here. My client can access the server, but can't get any further onto the LAN. My Server is 10.23.29.64/...
Grezzo's user avatar
  • 962
11 votes
5 answers
18k views

Where are addresses from the network 0.0.0.0/8 used in practice?

I read that this pool: Means "these hosts" in "this network" Is used for self-identification Is used for broadcast messages My questions are: Where exactly these addresses can be found? Which ...
Rafał Ryszkowski's user avatar
4 votes
3 answers
12k views

I'm using Cisco Packet Tracer for Simulation and got error "ip address overlaps with..etc"

The 1st row is for my router and the 2nd row is for my LAN. What's wrong? Is my IP addressing and subnetting wrong? I already checked my configuration.
Augustine Frendz's user avatar
2 votes
1 answer
2k views

Networking between two subnets mutually instead of one-way

PC1 <- LAN to LAN -> DSL Modem <- LAN to WAN -> Router <- LAN to LAN -> PC2 So basically my first PC is connected to modem, second PC is connected to router and router has been connected to ...
user avatar
1 vote
3 answers
19k views

How can I put two wireless routers on the same subnet? [closed]

I have two Netgear wireless routers; one primary (WNR2000) connected to the Internet, and a secondary (WNR1000) connected to the primary via a long Ethernet cable to the other side of my home. A LAN ...
glenviewjeff's user avatar
  • 1,744
49 votes
9 answers
10k views

Why are subnet-masks relevant for the individual computer on the network?

I understand how subnet-masks are used to divide a network into sub-networks, but, why does every computer in the network need to know the subnet-mask and not just the router? I could understand it, ...
Orpedo's user avatar
  • 612
45 votes
6 answers
262k views

What does it mean to have a subnet mask /32?

I see in this question, the routing table has: 192.168.1.1/32 link#4 UCS 2 0 en0 openwrt.lan 46:94:fc:63:fc:7 UHLWIir 11 3610 en0 1200 ...
Number945's user avatar
  • 577
29 votes
2 answers
58k views

What is the difference between a subnet mask and a netmask?

Is there any logic in using two different names for determining host ID and net ID? For example, if you type print route in a Command Prompt you get things with netmask, but the IPv4 settings seems ...
SpiXel's user avatar
  • 969
8 votes
1 answer
6k views

Non-contiguous Subnet Mask

In this question: Is 225.225.225.128 a valid subnet mask? The accepted answer states that the subnet mask must be contiguous. A few comments reference RFCs stating that this is the case. However, I'm ...
vastlysuperiorman's user avatar
7 votes
4 answers
62k views

"Destination port unreachable" when pinging computer in another subnet

In my home network, I connect to the Internet through a router (192.168.1.1). I also have another router (192.168.1.15, 192.168.2.1), this one using OpenWRT, configured as a wireless client. One of my ...
Sparkette's user avatar
  • 684
7 votes
6 answers
42k views

Set up two (2) IP addresses on the same network card?

I think it is possible to set up 2 IP addresses and subnet masks on one NIC in Windows XP. How can this be done?
pro's user avatar
  • 193
7 votes
5 answers
30k views

Can you have a class C IP address with a subnet mask of 255.255.0.0?

Can you have a class C IP address with a subnet mask of 255.255.0.0? What happens when you have a setting like this?
user29878810's user avatar
6 votes
3 answers
19k views

Why subnet mask for IP 10.0.1.4 is 255.255.255.0?

Well I'm not sure whether I'm missing something here. But all I've read is that if first octet of IP is within 0 - 127 then it is categorized as Class A subnet and correspondingly Subnet Mask for ...
Rohit's user avatar
  • 227
5 votes
1 answer
5k views

Home network with two routers and just one Wifi

I know it is a pretty lame question, but I am not a pro in networking, so I will still ask it. And I will try to explain details where possible. I want to create the following setup: Phone line is ...
Art Gertner's user avatar
  • 7,279
3 votes
1 answer
1k views

Why subnet prefix is required when setting up a static address with nmcli in Linux?

It's conceptual question. I understand why subnet masking is required to achieve correct addressing of packets on the net. However, I do not understand why NetworkManager needs to know the schema (/24)...
afora377's user avatar
  • 267
3 votes
4 answers
20k views

How to link two routers LAN to WAN

My former modem was replaced by a all-in-one modem/router (10.1.9.1/24) after a speed upgrade. I still have my DD-WRT router (10.1.10.1/24), which I want to be my main router, i. e. as DHCP server, ...
mike's user avatar
  • 479
3 votes
1 answer
29k views

Communication possible between 192.168.0.x and 192.168.1.x?

I have a problem I encounter on a regular basis. I have an access point with a fixed 192.168.0.x IP address. My network is 192.168.1.x. The problem is when I plug the access point into my network, it ...
pkSML's user avatar
  • 466
2 votes
1 answer
2k views

Window 8 machine cannot ping devices on same subnet

After returning from vacation during which several Windows updates were applied and my router suffered a hard power cycle, my Windows 8 Desktop can no longer ping other devices on the same subnet. ...
Eric Patrick's user avatar
2 votes
0 answers
523 views

separating two networks with DMZ?

I am a college student wanting to get into server and networking but I have an issue I need help with at home. I asked a question about a year ago about creating two separate networks with the same ...
Josiah Christiansen's user avatar
2 votes
1 answer
161 views

No connection with router after changing its IP to network prefix

I changed IP of my router from 192.168.1.1 to 192.168.1.0, which is my network prefix. What should I do to retrieve connection to my router? UPDATE I am on LEDE project and router TP-Link Archer C7. ...
pt12lol's user avatar
  • 125
2 votes
3 answers
2k views

Communication and visibility between main network and a subnet

I am thinking how to structure a small home video surveillance system. Actually in my house I have an only gateway/ADSL modem/router with the following setting: ADSL modem/gateway IP: 192.168.7.1 ...
Roberto Milani's user avatar
1 vote
2 answers
6k views

Cascading routers: accessing secondary router's clients from first router?

I have a setup using two routers, say Router A and Router B, that looks something like this: Quite simply, I am cascading Router A and Router B, Router B's WAN port being connected to Router A's LAN ...
Joseph's user avatar
  • 2,168
1 vote
1 answer
4k views

Subnetting 90.103.80.0/21 into 8 subnets with at least 250 hosts per subnet

I am studying subnetting and I am not sure if I've got the hang of fully. Here's a question I've answered with my answers posted below it. I am particularly unsure about Question 4. I'd appreciate ...
sonicboom's user avatar
  • 177
1 vote
2 answers
3k views

Practical (not theoretical) Subnetting 192.168.0.0/25

The Situation I have a Netgear WGR614v7 router (wireless disabled). Hosts in both subnets should have internet access but should not be able to ping hosts across the subnets. I want to split my ...
Rhyknowscerious's user avatar
1 vote
1 answer
2k views

How to setup VLAN on same subnet as Ethernet

So this is what i'm trying to do: I have a physical NIC with dev name eth0 with ip 192.168.1.2 and gateway 192.168.1.1 and I want to setup a VLAN with ip 192.168.1.x and same gateway as eth0. ...
junkyhlm's user avatar
1 vote
3 answers
2k views

Making two networks visible to each other

I have made a rough drawing of my network layout: The gateway, the two servers and the wifi router have a global IP address with a subnet mask of 255.255.255.240. The PCs have local IP addresses in ...
Akshay's user avatar
  • 235
1 vote
2 answers
3k views

How to find the network address of a given subnet?

How do I find the x th subnet of X.X.X.X /XX (300 th subnet of 172.16.0.0 /29)?
HardwareMuch's user avatar
0 votes
1 answer
523 views

Can't configure Hitron CODA cable modem/router with 192.168.100.x LAN subnet

I had to factory reset this cable modem/router due to some unexplained connectivity issues. For some reason, I cannot provide it a LAN IP on 192.168.100.x. It just fails with this weird engrish ...
autobottodoggo's user avatar
0 votes
0 answers
2k views

Windows 7 can ping but can't see device on other subnet

I have 2 Windows 7 on 2 different subnets but 1 of them is unable to reach a NAS. The topology is as follow. Any idea why this is the case? Is there some Windows settings I need to apply? Subnet 1 ...
user192702's user avatar
0 votes
1 answer
243 views

Route to a server on subnet

I have a version quantum router which has a subnet of 168.168.1.0/24. My gateway is 192.168.1.1. I have another router for my network lab. This router is connected to the 192.168.2.0/24 subnet. The ...
PhillyNJ's user avatar
0 votes
1 answer
3k views

Creating a private sub-network on existing shared network

I'm a little new to networking, and am trying to set up a network for myself. The situation: I have two laptops and two smartphones. The apartment complex I live in gives me a single ethernet wall ...
Mijael S.'s user avatar
0 votes
1 answer
1k views

Why isn't my forced MAC address change working (Raspberry Pi)?

I'm working with Raspberry Pi Zeros on a subnet. I bought external Ethernet adapters for each one to connect them to one another. Unfortunately, these ethernet adapters all came with the exact same ...
Matt's user avatar
  • 517
0 votes
1 answer
631 views

How do I establish a connection between 2 computers on different subnetworks?

computer A(192.168.1.134) needs to establish a UDP connection to computer C(192.168.0.30). As you can see both are on a different subnetwork. Now I have computer B which has 2 IP addresses, one for ...
user16654's user avatar
  • 1,183
0 votes
1 answer
1k views

I can ping computer on a another subnet but not vice versa

So I got two routers in my house one wireless(192.168.0.1) and another wired(192.168.20.1), I got my laptop(192.168.0.101) hooked up to my wireless router and my desktop(192.168.20.5) on wired router. ...
Rickx's user avatar
  • 101
-1 votes
3 answers
728 views

What are the best Subnet IDs for maximum number of hosts?

I need help with this problem. I know it must be either A or D since subnet mask 255.255.255.224 has the most amount of hosts. I'm confused on subnet IDs could anyone clarify why subnet ID 224 would ...
Omar Miguel Sanane's user avatar