Multiple Subnets & Route Tables & SOHO Routers...

ClearToLand

Member
Jul 9, 2001
90
0
0
Originally posted by: Astaroth33:
Home routers (like your garden variety Linksys or Netgear NAT boxes) typically only have 3 routes in their routing table.
Is the route table in a "garden variety" NAT box viewable, or is it shown as part of the standard ROUTE PRINT command?

Originally posted by: Astaroth33:
A directly attached route to the LAN network, a direct route to the WAN network, and a default route pointing towards the ISP's router. Usually, the only time you need to modify this is if there's another router connected to your LAN, and you need routes pointing to one or more networks behind that.
I'm experimenting with / learning about subnets and multiple routers and have connected two DI-614+ routers WAN ports to LAN ports on my SMC7004BR. I've added LMHOSTS entries to each PC for a 'TEST' PC on all three subnets (192.168.0.x, 192.168.1.x, 192.168.2.x) and I've added two routes to the PC on the SMC7004BR subnet:
  • route add 192.168.1.0 mask 255.255.255.0 192.168.0.16
  • route add 192.168.2.0 mask 255.255.255.0 192.168.0.17
pointing to the WAN IP on each of the DI-614+s (192.168.1.254 and 192.168.2.254 respectively). PCs on the DI-614+s can consistently access MANUALLY MAPPED drives on the SMC7004BR PC, and the Internet, but only the machine(s) in the current subnet show up in Network Neighborhood (with Microsoft Client and File/Print Sharing bound to TCP/IP - previously they were only bound to NetBeui when there was only one subnet). PCs on the SMC7004BR sporadically can access MANUALLY MAPPED drives on the DI-614+. Since I've tried SO MANY ideas, I cannot remember exactly what worked, but I know that:
  • the WAN ports on each DI-614+ are set to an IP address in the subnet range of the SMC7004BR
  • Ports 137-139 are open in both DI-614+s
  • the IP address of the "TEST" PC on each DI-614+ is entered in the DMZ
  • typing "RUN \\192.168.0.16" gave me access to 192.168.1.101 and I was able to MAP Drives C & D and access them "at one time" (but not right this moment...)
All LINKS to suggested readings will be appreciated. Currently I'm reading (and re-reading) the appropriate chapters in:
  • Microsoft Windows 98 Resource Kit
  • Microsoft Windows NT Workstation Resource Kit
  • Microsoft Windows NT Server Resource Kit
  • Microsoft Windows 2000 Professional Resource Kit
  • Mastering Windows NT Workstation 4
  • Mastering Windows NT Server 4
  • Mastering Windows 2000 Professional
  • Mastering Windows 2000 Server
  • Essential WIndows NT System Administration
Can PCs on different subnets be in the same Workgroup?

Would setting up a Server and establishing a Domain allow machines across subnets to be visible in Network Neighborhood?

Do LOGIN SCRIPTS only run when a CLIENT is logging into a DOMAIN on a SERVER? (I've created a central LMHOSTS file and want to automatically propagate changes to the CLIENTS. If scripts don't work without a Server, what are some alternatives?)
 

faZZter

Golden Member
Feb 21, 2001
1,202
0
0
I'm a little confused here.....your saying your first router's LAN address is 192.68.0.0, right?

Then you say you have the two D-link routers WAN IP's set to 192.168.1.254 and 192.168.2.254 hooked into the wired ports of the SMC router?

Well I am a bit rusty on this stuff but the 192.168.2.254 address is on an entirely different network than what your SMC router is setup for.

You see in a class c address the last three numbers indicate the host address and the first 9 indicate the network number.

As you can see 192.168.1.0 and 192.168.2.0 are indeed different networks. In fact all 3 (192.168.0.0, 192.168.1.0, and 192.168.2.0) are all different networks, not subnets.

A subnet would subdivide the host address space and require a different mask than the standard class c 255.255.255.0 mask.

So really you don't have any subnetworks! You have a different networks!

They won't communicate if they are on different networks unless they go through a router (which routes between different networks or subnets)

Anyway maybe this helps some I am still a bit confused as to what you have done and how you've set everything up. Maybe explain things a little more clearly and it will be easier to figure out. If I'm completely missing something excuse me I'm really tired out right now!
 

ClearToLand

Member
Jul 9, 2001
90
0
0
I'll try to make the setup clearer...

SUBNET 0:
  • Router WAN IP: 68.x.y.z (cable modem ISP)
  • Router LAN IP: 192.168.0.254
  • DHCP Server Available IP Range: 192.168.0.1 thru 192.168.0.10
  • Default Gateway: 68.xx.yy.zz
  • Static IPs:
    • 192.168.0.11 - NT4 Workstation used as Workgroup Server
    • 192.168.0.16 - Wireless Router #1 (Subnet 1) WAN IP address
    • 192.168.0.17 - Wireless Router #2 (Subnet 2) WAN IP address
    • 192.168.0.21 - NT4 Workstation used as FTP Server
    • 192.168.0.241 - Intel Print Server #1
    • 192.168.0.242 - Intel Print Server #2
SUBNET 1:
  • Router WAN IP: 192.168.0.16
  • Router LAN IP: 192.168.1.254
  • DHCP Server Available IP Range: 192.168.1.101 thru 192.168.1.110
  • Default Gateway: 192.168.0.254
SUBNET 2:
  • Router WAN IP: 192.168.0.17
  • Router LAN IP: 192.168.2.254
  • DHCP Server Available IP Range: 192.168.2.101 thru 192.168.2.110
  • Default Gateway: 192.168.0.254
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: ClearToLand
<really big snip>
Can PCs on different subnets be in the same Workgroup?
Whoa... I definitely didn't follow every detail, so I'll just take a shot at this part.

Answer: Yes, but it can get kind of fugly depending on the details. If you want cross-subnet browsing, you want a WINS server. There are other ways around it, but they're really, really nasty.
Would setting up a Server and establishing a Domain allow machines across subnets to be visible in Network Neighborhood?
I don't believe that a domain is necessary in theory, but my limited experimenting via Samba suggests that some domain functions are involved to get things working correctly. That could just be a Samba quirk, though it's usually pretty faithful to the protocols. Since it sounds like you've got quite a few machines, a domain probably isn't a bad idea anyway.



Note to mods: I was going to say "take a $tab" above, but I was informed by the preview that that's a naughty word. So what gives? Shooting is OK, but stabbing is a no-no? ;)
 

faZZter

Golden Member
Feb 21, 2001
1,202
0
0
What masks are you using.....?

I thought you said you were using 255.255.255.0 mask....?

If so then really they are just Network 1,2,3, no subnets.

Still it doesn't matter what ya call them as far as your problem goes.

Ah well I doubt I can help ya much.......I'll keep reading this thread and learn something... :)