Soldato
- Joined
- 24 Sep 2015
- Posts
- 3,952
How do I route back to my modem on eth0?
I can ping it from CLI, just can't ssh or route from the network on eth1.
Code:ubnt@ubnt:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- br0 192.168.1.254/24 u/u Local Bridge eth0 192.168.2.2/24 u/u Internet (PPPoE) eth1 - u/u Local Bridge eth2 - u/D Local Bridge lo 127.0.0.1/8 u/u ::1/128 pppoe0 xx.xx.xx.xx u/u
The modem needs to know how to route back to your LAN address space so you'll probably need to add a static route.
If your modem happens to be a Draytek 130 then add a route to the specific /24, don't add a default route. Your internet connection would still work if you did and you'd be able to ping the modem but the web interface won't respond. Absolutely no idea why, it seems to be a quirk of the 130.