Hacker News new | ask | show | jobs
by paulfurtado 844 days ago
I used the VLAN "trick" for connecting my cable modem to my router for a few years in an old multi-floor apartment with pre-wired ethernet, but it's not ideal because the router is then not able to detect the link state of the modem. For example, if you unplug a cable modem and plug it back in, normally the link would go down on the router and then come back up, and when the link returns the router will attempt to fetch a new DHCP lease.

If you have a static IP, it should be fine, but this became an annoyance the couple of times the IP changed when I was living there.

1 comments

The way I handle this is to have a cronjob on the router that automatically resets the (virtual) interface when it can't successfully ping the modem.