Recommended Posts

Hey guys,

I'm trying to setup a second subnet under my home network and having a few issues. My goal is to have a lab network to test windows server features without disrupting the house network. I have lots of clients connected to the home router so it's not a network I want to be playing/testing on. This is what I had in mind and how I tried to connect the routers. If there is a better way I would love to know.

ISP > Home Router > Lab Router > Windows Server 2012

Home Router (WRT54GL - DD-WRT v24-sp2 (8/12/10) std - SVN revision 14929)

External IP: DHCP ISP
Internal IP: 192.168.1.1
Subnet mask: 255.255.255.0
DHCP Server: 192.168.1.100-150

Lab Router (WRT54GL - DD-WRT v24-sp2 (8/12/10) std - SVN revision 14929)

External IP: 192.168.1.2
Internal IP: 192.168.2.1
Subnet mask: 255.255.255.0
DHCP Server: Disabled

Windows Server 2012:

IP: 192.168.2.1
Subnet mask: 255.255.255.0
Default gateway: 192.168.2.1
Preferred DNS server: 192.168.2.2
Alternate DNS server: 192.168.2.1[/CODE]

The issue i'm having is that when i've connected the routers and computers together i'm not getting any internet connectivity on the second subnet. The home subnet is still working fine. I have tried linking the subnets with static routes (metric set to both 1 and 0) but that didn't help. I have also disabled the DHCP server on WS2012 and enabled it on the router with no avail.

Please let me know if you need anymore information.

Link to comment
https://www.neowin.net/forum/topic/1146052-setting-up-2nd-subnet/
Share on other sites

Are you natting on your second router? Since you say its not working I would assume no.

If your not natting on your second router, then your first router needs to know how to get to the 192.168.2.0/24 network.

You do understand that since your first router is running dd-wrt, you really have no need of the second router and can just put one of the lan interfaces on your first router in this other network segment (vlan) and use your 1 router as the router between vlans. This would be a much simpler setup

Are you natting on your second router? Since you say its not working I would assume no.

NAT is disabled on the second router. Under Setup > Advanced Routing I have it set to Router.

If your not natting on your second router, then your first router needs to know how to get to the 192.168.2.0/24 network.

Under the first router I setup a static route:


Route Name: Router 2
Metric: 1
Destination LAN NET: 192.168.2.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.1.2
Interface: ANY
[/CODE]

Did I need to do anything else?

You do understand that since your first router is running dd-wrt, you really have no need of the second router and can just put one of the lan interfaces on your first router in this other network segment (vlan) and use your 1 router as the router between vlans. This would be a much simpler setup

I don't have any ports to spare right now. I currently am using all the ports on the first router and am connecting the second one via an old hub that i have.

Can you ping 192.168.1.2 from your first network? If not then you have a connectivity issue.

But it wouldn't be interface any would it - it should be your lan interface should it not.. But since your saying your using some old "hub" (really a hub??) I would double check that you have connectivity. If you can ping a the 192.168.1.2 address, then try a traceroute to 192.168.2.1 from client on 192.168.1.x do you see the 192.168.1.2 as your second hop?

This is not a very clean way to do it to be honest. You have to have a port open if your using a hub to connect to your 1st router, just move the port your using to connect the hub to different port and then setup 1 of the interfaces on your 1st router as this new segment (vlan) Much cleaner setup!

If need be pick up a new switch.. You can get a 8 port gig switch these days for like $40, if all you need is 10/100 then like $20

Can you ping 192.168.1.2 from your first network? If not then you have a connectivity issue.

But it wouldn't be interface any would it - it should be your lan interface should it not.. But since your saying your using some old "hub" (really a hub??) I would double check that you have connectivity. If you can ping a the 192.168.1.2 address, then try a traceroute to 192.168.2.1 from client on 192.168.1.x do you see the 192.168.1.2 as your second hop?

This is not a very clean way to do it to be honest. You have to have a port open if your using a hub to connect to your 1st router, just move the port your using to connect the hub to different port and then setup 1 of the interfaces on your 1st router as this new segment (vlan) Much cleaner setup!

If need be pick up a new switch.. You can get a 8 port gig switch these days for like $40, if all you need is 10/100 then like $20

Not able to ping 192.168.1.2. I tried again once i changed the interface from any to lan/wlan but same result.

I just had the hub (Netgear DS104) in the closet and it's used in the tv room for the xbox/ps3 connection. I would like to keep them on the same subnet as the house network as we stream media to it. The first router sits in the office and its being used up by a computer, printer, voip and link to hub. :(

I do understand that this is not a very clean way of setting up the network but this is what i have to work with right now. A switch is in the future but we are planning to get a N-based router at some point and will probably happen then.

Update: Solved

So now i feel stupid. :|

Ok so I reset both routers again and now i'm able to ping 192.168.1.2 from the first network. Why it didn't work the first time i don't know. I did a traceroute to 192.168.2.2 from 192.168.1.100 and got the following:


Traceroute has started?
traceroute to 192.168.2.2 (192.168.2.2), 64 hops max, 72 byte packets
1 192.168.1.1 (192.168.1.1) 63.894 ms 18.702 ms 7.899 ms
2 192.168.1.2 (192.168.1.2) 13.303 ms 5.258 ms
192.168.2.2 (192.168.2.2) 3.427 ms
[/CODE]

I am now able to access the internet from the second subnet. It won't resolve any addresses since i don't have my dns setup yet but if I enter an IP address I am able to get it to work.

I'm sorry for having wasted your time.

Random question: Do you have a recommendation for a N-based router and also for a switch?

  • 2 months later...

G'day, I'm trying to set up this configuration also with a couple of Linksys routers and wondered if you could give me a few pointers please?

1. How did you cable the two routers? Ethernet cable R1 Lan port to R2 Lan port, and if so, is a crossover cable required? Or R1 Lan port to R2 WAN port?

2. Im confused about your server ip address (192.168.2.1) ... it is the same as as the internal IF of your lab router ... is this a typo or correct config?

3. This is where I am currently stuck ... how do you assign a static IP to your lab router's external IF? My Linksys appears not to have this opoortunity, although I could be missing something.

 

Anyway, thanks for any help you can offer. Much appreciated.

Cheers.

Why would you want to duplicate his hodgepodge??  That is not the way you would be doing it if your router supports vlans.  Dd-wrt does so the better way to go about it is to just create an interface in a different vlan.

Simply because this is the topology assigned in a course I am doing. Thank-you for the better suggestion, but I do need to do it this way.

PS for those also following this set-up I did manage to achieve a second network by using one of the two bridged modes available in my router. From there I was able to statically assigned an IP to the Wan interface of the lab router (same subnet as the Lan interface of the home router). As far as cabling went I used a straight through ethernet cable from R1 Lan port to R2 Lan port (port 1), but in my R2 Lab router I was able to assign Lan port 1 to act as a Wan port.

 

Not certain this is correct and still testing but it has successfully seperated the networks and I am now able to run DHCP from R1 for the home network and DHCP from server 2012 with DHCP disabled in R2 Lab router. Which is all that I needed to achieve really in order to progress with the rest of the course which is learning server 2012.

Cheers all, have a great day.

"but I do need to do it this way."

 

NO you didn't -- a simple vlan setup would of been the CORRECT way to do this..

 

"by using one of the two bridged modes available in my router"

And bridge is NOT an isolated segment.. My guess is your just running two address schemes over the same wire if your using bridge mode.

 

Did you setup a route in the first router?  Or on the host - this would be REQUIRED if you were actually running 2 segments and just not bridging using 2 address schemes.

 

Here's the thing - in a normal network you would just create a vlan off your core router/switch to segment your network.

 

Like this

 

post-14624-0-52272100-1372255113.jpg

 

In the above setup your hosts don't have to worry about any routes.. They just now that to get to any network that is not their local network, talk to the GW..  The GW/Router is directly connected to your different network segments and knows how to get to those networks because it is directly connected to them.  If its say the internet or any network not directly connected to him he would send it to the internet GW IP, your ISP.

 

Each interface in your router could be a different network segment, via use of either native software that supports this - or 3rd party like dd-wrt.  This is a very close approximation of a normal corp network would setup via home networking equipment.

 

How he is setting it up is like this

 

post-14624-0-32692700-1372255358.jpg

 

Where all the interfaces off the first router are on a specific network - lets call it 192.168.1.0/24  Now your adding more routers to the mix that have an interface in the 1st network and interface in second network 192.168.2.0/24 for example.

 

In this sort of setup where wan interface as say a 192.168.1.2 address your first router has no idea that network 192.168.2.0/24 is reached via 192.168.1.2 -- so you need to either create a route for him to know this, or run a routing protocol like RIP.  Or you could create a route at each host that says hey if you need to get to 192.168.2.0/24 talk to 192.168.1.2

 

Not a very clean way to do it.  But sure it can work this way..  The other routers in this setup would be setup in router or gateway mode without or with nat, you would not be natting in this case.  Or you could do it via natting -- which might be a simpler setup, since for 192.168.2.0/24 devices would just like a 192.168.1.0/24 host to the first router.  And would have no problem using the internet without routes created on 1st router.  And hosts on 192.168.1 would just use the 192.168.1 address of that natting router to get to devices on the 192.168.2 - you would have to setup port forwards on that router, etc.

 

So as you see in his traceroute above he is hitting his 1st router which then sends to his 2nd router and then to host.

 

 


traceroute to 192.168.2.2 (192.168.2.2), 64 hops max, 72 byte packets
1 192.168.1.1 (192.168.1.1) 63.894 ms 18.702 ms 7.899 ms
2 192.168.1.2 (192.168.1.2) 13.303 ms 5.258 ms
    
192.168.2.2 (192.168.2.2) 3.427 ms

 

 

Those are pathetic response times - 63ms, is he going to EU from the States?  even 3.4ms is not lan speeds.. Is the 2.2 box wireless?

 

So I run multiple segments off my router

 

post-14624-0-31022100-1372256126.png

 

So one is my normal Lan, other is wireless that has AP hanging off it, and other is DMZ (just firewalled segment) and then other interface is my WAN internet, and then a ipv6 tunnel with HE..

 

But so if I want to get to box in my wlan segment which is wireless you can see ping times - which by the way my wifes laptop is wireless and she is streaming her soap off hulu currently and still get better response

[C:\Windows\System32>ping kim-pc

Pinging kim-pc.local.lan [192.168.2.201] with 32 bytes of data:
Reply from 192.168.2.201: bytes=32 time=2ms TTL=127
Reply from 192.168.2.201: bytes=32 time=2ms TTL=127
Reply from 192.168.2.201: bytes=32 time=2ms TTL=127
Reply from 192.168.2.201: bytes=32 time=2ms TTL=127

Ping statistics for 192.168.2.201:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 2ms, Average = 2ms

C:\Windows\System32>tracert kim-pc

Tracing route to kim-pc.local.lan [192.168.2.201]
over a maximum of 30 hops:

  1     1 ms    <1 ms    <1 ms  pfsense.local.lan [192.168.1.253]
  2     2 ms     2 ms     2 ms  kim-pc.local.lan [192.168.2.201]

Notice the route - my box talks to its gateway that knows how to get to the other segment, because its directly connected via a different interface.
 

Now if your bridging - my guess is your not even doing the above, and just running 2 different wireless address schemes over what amounts to be the same physical wire..  Even worse than what he is doing.

 

If you have a router that supports dd-wrt, why not do it the simple easy way and just create a vlan??

 

http://www.dd-wrt.com/wiki/index.php/VLAN_Support

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Thanks for the advice guys, I'll give my current GPU a clean and then run the benchmarks to see how similar it is. Hopefully a bit of a clean-out will help it last a bit longer.
    • Pretty sure those will still be in this game. The series' well-explored psychosis themes will return as well.
    • "performance issues? what performance issues?!"
    • Microsoft making much needed change to Windows 11, 10 Patch Tuesday security updates by Sayan Sen Recently, Microsoft delivered its latest Defender patches for Windows 11 ISOs. These definitions are released from time to time alongside the general security updates available during Patch Tuesday. Speaking of Defender, the company has now announced another important change that affects how security updates are delivered to enterprise devices running Windows. According to a recent announcement, Microsoft Defender for Endpoint's endpoint detection and response (EDR) updates will no longer be bundled with the monthly Windows security updates or Patch Tuesdays. Instead the company is shifting delivery of these updates to Microsoft Update, bringing EDR servicing in line with several other Microsoft Defender components. If you recall, Microsoft last year moved PowerShell updates to Microsoft Update (MU) as well since it provides automatic updates for Microsoft products and services. Thus the move is intended to allow Microsoft to deliver EDR improvements and security enhancements independently of the OS's regular monthly update cycle; this should enable faster deployment of protection updates without requiring organizations to wait for the next Patch release. For those unfamiliar, Microsoft Defender for Endpoint's EDR capabilities are designed to help organizations detect, investigate, and respond to advanced threats across managed devices. Keeping these components updated is critical for maintaining protection against evolving attack techniques. The rollout has already began for Windows 10 devices in late May 2026 (last month) and Microsoft says it will gradually expand support to Windows 11 and the remaining supported Windows versions over the coming months. The company expects deployment across Windows 10 and Windows 11 to be completed by fall 2026 or around Q3 of this year. Once the transition is complete, EDR updates will be delivered through Microsoft Update using KB5005292, provided the required prerequisite updates have already been installed. Microsoft is also introducing a new Defender Update Service as part of the change. Following installation of the first update, devices will automatically create a new directory located at %ProgramData%\Microsoft\Microsoft Defender\Defender Update. Microsoft notes that restarts may occasionally be necessary in case of "rare" failure scenarios. For most organizations, the tech giant says no action will be required as long as Microsoft Update is already permitted within their update management strategy. Admins who rely on manually deployed update packages, however, will need to adjust their processes to ensure the new Defender update package is included. Microsoft also recommends reviewing internal documentation and notifying helpdesk and security operations teams about the updated delivery mechanism to avoid confusion during the transition. As a prerequisite, the tech giant notes that systems must be running Sense version 10.8798.25857.1000 or later and have one of the following Windows updates (or later) installed: Win11 24H2 KB5062660 (2025-07 Cumulative Update Preview) Win11 23H2 KB5062663 (2025-07 Cumulative Update Preview) Win11 22H2 KB5062663 (2025-07 Cumulative Update Preview) Win10 22H2 KB5062649 (2025-07 Cumulative Update Preview) Win10 1809 KB5063877 (2025-08 Cumulative Update) Server 2019 KB5063877 (2025-08 Cumulative Update) Server 2022 KB5063880 (2025-08 Cumulative Update) Server 2025 KB5063878 (2025-08 Cumulative Update) As always, organizations should verify that their update policies align with the new servicing approach before the broader rollout reaches all supported Windows platforms later this year. In case of major problems, the EDR update can be rolled back to the inbox version stored in %ProgramFiles%\\Windows Defender Advanced Threat Protection (ATP) using: MpCmdRun.exe -RevertMde -Product Edr -ToVersion Inbox For those who have access to the Microsoft 365 Admin Center portal, you can view the message here under ID MC1381119.
    • My problem with these smart scopes is that IMO they're not really an entrance into astronomy, they're an entrance to looking at pretty(ish) pictures that you take by essentially pressing a button and letting the scope do the work. I still maintain that getting some binoculars or a solid dedicated telescope (which doesn't have to mean expensive) and actually spending time learning the night sky and using a telescope is a much better way to actually learn. But, granted, the learning curve is a bit steeper (as it tends to be).
  • Recent Achievements

    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      PsYcHoKiLLa
      248
    3. 3
      Steven P.
      73
    4. 4
      +Edouard
      69
    5. 5
      neufuse
      68
  • Tell a friend

    Love Neowin? Tell a friend!