Multiple Default Routes

We can also define multiple default routes on the system if we wish. To do this on our system (xenon), we could provide multiple connections to our external facing network interface. While this won't achieve load balancing, the system will “round-robin” between the interfaces (i.e., use one then the other, go back to the first, and so on).

We have already used 172.35.63.50 as the interface to 172.35.63.1. Now let's add the second route as another default route.

The first thing we need to do is add another physical interface—we will see this as “hme2.” After that, we need to create /etc/hostname.hme2, add the hosts entry to the hosts file, and activate the interface. These tasks are exactly the same as those we carried ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.