Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pesky Subnets

Featured Replies

OK, consider this network (it's part of our office in BLR).

Router 1

IP 192.168.1.1

Sub mask 255.255.252.0

Router 2

IP 192.168.2.1

Sub mask 255.255.252.0

PC

IP 192.168.1.222

Sub mask 255.255.252.0

If I've got this right I should be able to see both routers from the PC, but I can't :o Router 2 is only visible if I change the PC to 192.168.2.222 (and then Router 1 disappears).

And no, I can't change any of the IP addresses, fiddle with the masks all I like though :D

Daft thing is, I CAN see 192.168.2.8

What is going on? How can I fix it? Is there a god?

"I don't want to know why you can't. I want to know how you can!"

Have a look at http://www.rolo.org/192-168-1-1.html

Basically you have chosen addresses which are reserved for private networks. The problem with these addresses is that they cannot be passed through a router to another network without using techniques such as NAT to enable them to cross the router barrier.

Change netmask to 255.255.0.0 and all will be well... basically this jams 192.168.x.y all in one segment.

Hmmm, 2 routers on 1 subnet? RIP, BGP, OSPF? Do you have any managed switches on the network?

When you say "see" do you mean ping?

Is the desktop getting routes via DHCP?

OK, consider this network (it's part of our office in BLR).

Router 1

IP 192.168.1.1

Sub mask 255.255.252.0

Router 2

IP 192.168.2.1

Sub mask 255.255.252.0

PC

IP 192.168.1.222

Sub mask 255.255.252.0

If I've got this right I should be able to see both routers from the PC, but I can't :o Router 2 is only visible if I change the PC to 192.168.2.222 (and then Router 1 disappears).

And no, I can't change any of the IP addresses, fiddle with the masks all I like though :D

Daft thing is, I CAN see 192.168.2.8

What is going on?

The subnetmask 255.255.252.0 or /22 combines 4 class C networks. Class C networks were used in the previous century, these days all equipment should support VLSM or variable-length-subnet-masks.

The IP range with this subnet: 192.168.0.0 till 192.168.3.255

Valid host addresses are all addresses between these 2 above (1022 addresses).

How can I fix it?

Check if the router that gives you a headache is a real router running software that conforms to the IPv4 standard. It should work!

Bad thing is that when a subnetmask has anything else in it than a 0 or255, most people get totally confused, but it's common practice on the internet to use the smallest possible subnet.

Configure a pc at 192.168.0.5 and one at 192.168.3.234 with a /22 subnet

You'll be able to ping from one to the other (turn off firewall).

The routers should be able to ping each other as well, they are on the same subnet.

Is there a god?

Read the forum rules....

  • Author

Thanks chaps, it's working with 255.255.0.0 although I don't really know why it didn't work before.

There are all sorts of switches (managed and non-managed) and hubs in what seems to be a random configuration and I for one am NOT going to attempt to untangle the mess. The very act of entering the network cabinet stops something working and I don't intend getting blamed for that, my bit now functions and I'm happy.

"I don't want to know why you can't. I want to know how you can!"

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.