From the course: Ubuntu Linux: Providing Services

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Change a client's default route

Change a client's default route

- [Instructor] Routing is typically handled by routers, not by client systems. So network clients have, as part of their configuration, a setting for a router to send traffic to. This router or default gateway has information about how to get traffic where it needs to go across different networks or the internet. In most cases, this gateway makes up the default route, which tells the system where to send traffic that is not intended for the local network. Local traffic is handled by the client, not by the gateway, but we can also configure additional routes, either on clients or routers, to send traffic to other networks through other routers or interfaces. These are called static routes. If, for example, we had another network and a router that had an interface on this first network and on the other one, we could add a static route on our client that says, hey, if you're trying to get to a client on this other network, you can get here through the gateway at 10.0.2.5. I'll switch to…

Contents