Jump to content

1 modem 1 switch 2 routers. possible?

herb

so i have a 1000mb modem and 2 routers chained off of each other and sometimes the first router dies and then the second one doesn't work either. when this happens i have to go reset the router for it to give a signal again.

 

i just bought a simple tp link 5port switch.

 

my question is: is it possible to connect the modem to the switch FIRST then go to the 2 routers so if one dies the other one doesn't. (don't ask why i need 2 routers its a long story)

 

any help on letting me know if this will work would be appreciated.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, herb said:

don't ask why i need 2 routers

Why do you need 2 rou....

 

sorry, you knew that was coming.

If I understand where you are coming from, and what you are asking is for the 2nd router to act as a failover when the 1st one dies...correct?

NOTE: I no longer frequent this site. If you really need help, PM/DM me and my e.mail will alert me. 

Link to comment
Share on other sites

Link to post
Share on other sites

It will work, IF your ISP lets you have multiple public IPs off of the modem. Usually that’s a business-level feature that you have to pay more for. The modem will usually only allow one device to get an IP address at a time, and sometimes you have to reboot the modem when changing routers.

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Only if your ISP has allotted you more than one IPv4/IPv6 address.

 

Alternatively what you can do is build a pfSense or VYoS box. In the enterprise it's very common to have a single router than manages multiple private LANs. This would make it so you only need the one Public IP your ISP likely supplies.

 

Your other option would be Double NAT and that's really not recommended.

Link to comment
Share on other sites

Link to post
Share on other sites

Can't you just put both routers in access point mode? (without chaining them, connect both to the modem directly)

CPU: Ryzen 7 5800X Cooler: Corsair H100i Platinum SE Mobo: Asus B550-A GPU: EVGA RTX 2070 XC RAM: G.Skill Trident Z RGB 3200MHz 16CL 4x8GB (DDR4) SSD0: Crucial MX300 525GB SSD1: Samsung QVO 1TB PSU: NZXT C650 Case: Corsair 4000D Airflow Monitor: Asus VG259QM (240Hz)

I usually edit my posts immediately after posting them, as I don't check for typos before pressing the shiny SUBMIT button.

Unraid Server

CPU: Ryzen 5 7600 Cooler: Noctua NH-U12S Mobo: Asus B650E-i RAM: Kingston Server Premier ECC 2x32GB (DDR5) SSD: Samsung 980 2x1TB HDD: Toshiba MG09 1x18TB; Toshiba MG08 2x16TB HDD Controller: LSI 9207-8i PSUCorsair SF750 Case: Node 304

Link to comment
Share on other sites

Link to post
Share on other sites

19 minutes ago, Nocte said:

Can't you just put both routers in access point mode? (without chaining them, connect both to the modem directly)

If it's just a modem such as the Arris SB8200 or Technicolor TC4400 then no as they will assign the first device that's connected and asks (via the switch) a public IP address and the rest of the devices won't get anything.

If it's a combo unit that has routing functionality built in then yes, that would work.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

If you leave NAT on the Modem, and disable NAT on the routers then using static routes on the modem you should be able to route to two internal segments.  No double NAT, and you have a fully routed interior.446319589_2Routers.thumb.png.bffbf90908b7c5272263f1bf7cafab72.png

Link to comment
Share on other sites

Link to post
Share on other sites

Also if you are simply looking for network segmentation for security or other reasons.  You could try and run two gateway interfaces off the same NAT router.   Using a managed switch you could allocate ports based on which segment you want the clients on.  Lets think an 8 port managed switch.

 

Ports 1-4 VLAN 10.  Port 1 on router defined as Segment 1 with interface 10.1.0.1, Port 1 on switch to port 1 on router.  Now ports 1-4 are segment 1 served by 10.1.0.0/24 GW 10.1.0.1.

 

Ports 5-8 VLAN 20.  Port 2 on router defined as Segment 2 with interface 10.2.0.1, Port 5 on switch to port 2 on router.  Now ports 5-8 are segment 2 served by 10.2.0.0/24 GW 10.2.0.1.

 

 

Here you could then pass teh public IP to the router and have the NAT performed there.  Or use a private network between teh router and modem and leave NAT at the modem.  Whatever makes sense for you.

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

thank you guys for all your tips. ill let you know how it goes

Link to comment
Share on other sites

Link to post
Share on other sites

@herb

 

Why though? What are you trying to achieve?

 

And can you specify the makes/models of all the networking equipment from modem and beyond?

Link to comment
Share on other sites

Link to post
Share on other sites

15 hours ago, Nocte said:

Can't you just put both routers in access point mode? (without chaining them, connect both to the modem directly)

this would be the easiest way. make you routers act like switches. you still could daisy chain them if you need the length 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×