[mythtv-users] OT: default routes

Jan Ceuleers jan.ceuleers at gmail.com
Wed Sep 23 09:41:15 UTC 2015


On 23/09/15 09:20, Hika van den Hoven wrote:
> So is this conditional routing done with ip route? (I haven't seen any
> syntax) or through iptables?

I would recommend indeed using the routing table rather than the
firewall (i.e. "ip route" rather than iptables).

See man ip-route for the syntax. Example:

ip route add 192.168.55.0/24 via 192.168.1.254 dev eth1

HTH, Jan


More information about the mythtv-users mailing list