Setting default routes

To set a default route via a router (, use the following command:

route add default gw netmask eth0

– this will add a default route via the gateway at for all traffic.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.