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

    • Kdenlive 26.04.2 by Razvan Serea Kdenlive is an acronym for KDE Non-Linear Video Editor. It works on GNU/Linux, Windows and BSD. Through the MLT framework, Kdenlive integrates many plugin effects for video and sound processing or creation. Furthermore Kdenlive brings a powerful titling tool, a DVD authoring (menus) solution, and can then be used as a complete studio for video creation. Kdenlive supports all of the formats supported by FFmpeg or libav (such as QuickTime, AVI, WMV, MPEG, and Flash Video, among others), and also supports 4:3 and 16:9 aspect ratios for both PAL, NTSC and various HD standards, including HDV and AVCHD. Video can also be exported to DV devices, or written to a DVD with chapters and a simple menu. Video editing features: Multi-track editing with a timeline and supports an unlimited number of video and audio tracks. A built-in title editor and tools to create, move, crop and delete video clips, audio clips, text clips and image clips. Ability to add custom effects and transitions. A wide range of effects and transitions. Audio signal processing capabilities include normalization, phase and pitch shifting, limiting, volume adjustment, reverb and equalization filters as well as others. Visual effects include options for masking, blue-screen, distortions, rotations, colour tools, blurring, obscuring and others. Configurable keyboard shortcuts and interface layouts. Rendering is done using a separate non-blocking process so it can be stopped, paused and restarted. Kdenlive also provides a script called the Kdenlive Builder Wizard (KBW) that compiles the latest developer version of the software and its main dependencies from source, to allow users to try to test new features and report problems on the bug tracker. Project files are stored in XML format. An archiving feature allows exporting a project among all assets into a single folder or compressed archive. Built-in audio mixer Kdenlive 26.04.2 changelog: Remove not needed actions from render info, fix rough size calculation for rendering. Fix clip sometimes not inserted in timeline when moving vertically in bin drag. Fix transcoding from clip properties. Cleanup render profile audio quality. Use percent based value for audio quality, and adjust the range accordingly per codec. Fixes bug #520750 Enforce even numbers for render width/height. Fixes bug #520737 Fix nightly flatpak - disable rnnoise until implemented. Fix missing initialization. Edit mediacapture.cpp. Fix document unnecessarily marked as modified on opening, triggering a backup request. Fix incorrect detection of missing and remote clips causing unwanted backups. Fixes issue #2194 Fix tests. Fix tmp files copied to wrong location when setting project folder. Fixes bug #467740 Fix color clips not selected on creation. Use QFileInfo instead of QUrl/QDir to try fixing Windows shared drives. Fixes bug #451413 Fix timeline preview incorrectly invalidated when a track with effect duration changed. Fixes bug #514541 Fix missing var. Display paths in native format in render widget. Fixes bug #520428 Simple splash: fix pressing return always triggered the same button. Minor update to simple splash. Fix unwanted clips added to timeline and cleanup. Fixes issue #2190 Minor layout improvements to welcome screen, add Quit and Open shortcuts. Fix broken welcome dialog layout in tiling compositors. (craft) Limit the number of CPU cores used during a Windows build with mingw as some .cpp files are memory intensive to build. (kde-ci) Limit the number of CPU cores used during a build as some .cpp files are memory intensive to build. (kde-ci) Cleanup old entries. Another fix for animation crash. Fix uninitialized function - crash on create animation. Another attempt to fix MacOS permissions. MacOS: fix bundle release version. Fix MacOS plist path. Fix MacOS build. Explicitely link against Qt::Core. Download: Kdenlive 26.04.2 | 128.0 MB (Open Source) Download: Standalone Executable View: Kdenlive Home page Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Here's how to watch the Xbox Games Showcase today and what to expect by Pulasthi Ariyasinghe The June games showcase week has been a packed one, with everything from major presentations like Sony and Summer Game Fest to indie-focused reveals coming in almost every day. Now, it's almost time for another big one, with Microsoft bringing its Xbox Games Showcase back later today. This is a double feature too, with a Gears of War E-Day deep dive also being attached to it. For anyone wanting to tune in online, the 2026 Xbox Games Showcase is kicking off at 10 AM PT | 1 PM ET | 6 PM BST | 7 PM CEST later today, June 7. The event will be available to watch on the official Xbox YouTube (4K 60FPS), Twitch, Facebook, Steam, Amazon Live, and other portals. Separate livestreams for American Sign Language and Audio Description will also be available. "This year marks 25 years of XBOX, and this Showcase is poised to be a true celebration, offering world premieres, new gameplay, fresh updates, and more for a swathe of projects we cannot wait to share," said Microsoft about this presentation. With a new CEO behind it that is pulling off some interesting moves, Xbox may have some surprises to reveal today. New looks at first-party games like Halo Campaign Evolved from Halo studios, Fable from Playground Games, InXile Entertainment's Clockwork Revolution, Mojang's Minecraft Dungeons II, and Call of Duty: Modern Warfare 4 from Infinity Ward are to be expected here. We may finally get to see the new Blade from Arcane Studios in action and a new Persona game from Atlus at the showcase too. Surprise announcements may also arrive from other Microsoft-owned studios like Bethesda, MachineGames, Ninja Theory, Obsidian, Rare, World's Edge, or Blizzard. Considering how every new release nowadays is staying away from November and December to avoid Grand Theft Auto VI's release, any launch dates Microsoft announces will probably skip those months as well. Once the Xbox Games Showcase ends, Microsoft will immediately kick off the Gears of War: E-Day Direct. This deep dive into the upcoming prequel from The Coalition should attach gameplay footage and perhaps a release window to the highly anticipated project.
    • People in the '50s and '60s had the same attitude, and we're still here over a half century later.
    • So after some fiddling I was able to get it to run at a pretty stable 30FPS. I'm slightly surprised about how much fiddling I had to do to get there though given what I thought was reasonable hardware: Processors: 16 × AMD Ryzen 7 7840HS w/ Radeon 780M Graphics Memory: 16 GiB of RAM Graphics Processor 1: AMD Radeon 780M Graphics Graphics Processor 2: AMD Radeon RX 7700S I think I could do it better if I use Linux rather than Windows, Windows RAM usage is stupid without stripping the system down. But once I got it working in a reasonable state, it was so awesome! I felt like a new Bond! If anyone has any advice to get things going a bit smoother FPS-wise, I'd appreciate it.
    • Something is rotten in the state of Denmark Australia
  • Recent Achievements

    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
    • Rising Star
      olavinto went up a rank
      Rising Star
    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      PsYcHoKiLLa
      256
    3. 3
      Steven P.
      74
    4. 4
      +Edouard
      70
    5. 5
      FloatingFatMan
      69
  • Tell a friend

    Love Neowin? Tell a friend!