Routing assistance
Routing assistance
Hi,
Just installed this switch and wanted to move DHCP to it. DHCP is currently handled by the modem. I also want internal traffic that doesn't need to go out of the network to be routed by this switch, instead of reaching the modem.
So current setup is:
Modem (DHCP and all) > clients
New setup:
Modem (minimal roles) > Switch (most roles) > clients
Modem is in the 192.168.1.0/24 network, with an IP of 192.168.1.254
Switch is in the same network with an IP of 192.168.1.110, but this will change.
So these are the first few things I did:
1. Created a DHCP pool for 192.168.2.0/24 network
2. Modified the interface's IP to 192.168.2.1
3. Ensured default route is present: dst 0.0.0.0/0 to next hop 192.168.1.254 (modem)
4. Added a static route: dst 192.168.2.0/24 to next hop 192.168.2.1 (which is the new switch's interface)
All ports are on default VLAN still, didn't change anything there.
With the new setup, the DHCP is working, PC gets the lease just fine. But no one in this network is able to reach anything from the modem and beyond (so basically no modem management, and no internet). So if I ping or traceroute the modem's IP, both from the PC and form the switch, the host is unreachable. Everything works fine as soon as I change the switch's interface back to 192.168.1.110.
I am not a network guy, so I'm hoping that this is just a basic configuration issue :) What am I missing? :)
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
@KJK, thanks for the feedback.
Modem is a Technicolor TG789VAC v2
- Copy Link
- Report Inappropriate Content
DanFMT wrote
@KJK, thanks for the feedback.
Modem is a Technicolor TG789VAC v2
OK so DSL, and that one is pretty old and like a lot of ISP CPE that one has pretty customizable firmware letting ISPs remove features, so exact options can vary. If it's not messed with Bridge Mode should be something like Advanced > Local Network > Network Mode > Bridge Mode. Exact place in Web GUI may vary with firmware version but my vague recollection is it was something like that.
If you can't bridge mode because it was disabled then double-NAT with your own router as the designated DMZ isn't the end of the world though not ideal. Another option you could consider would be replacing it entirely with a high quality dedicated modem like a DrayTek Vigor 130 or 160-series (depending on exactly what your DSL is), which I've had good experiences with and also allow significantly more stable connections then the ISP-supplied one. But of course that too depends on whether the ISP allows BYOD there, lots have no problem with it or are even happy to support it, some really want their own stuff for whatever reason.
And I don't want to send you on a wild cost chase beyond your needs, none of this is hundreds or thousnads of dollars but it's not free either. I think a really good stable home network is worth some effort and saves cost/headaches long term as well as making it easier to do other things, but keep an eye on your own budget.
- Copy Link
- Report Inappropriate Content
@sonaric, the ISP has information on how I can configure it in bridge mode. The question is whether I need to do it or not :)
- Copy Link
- Report Inappropriate Content
DanFMT wrote
@sonaric, the ISP has information on how I can configure it in bridge mode. The question is whether I need to do it or not :)
Oh, in that case the answer is "yes, absolutely". Do not double NAT/firewall/etc if you don't absolutely have to. Get the basic ER, put the modem into bridge mode, and then go from there and you'll be fine. Trying to mix and match with multiple network service providers is almost never a good idea and will cause a lot of headaches.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 1217
Replies: 14
Voters 0
No one has voted for it yet.