From the course: Introduction to Network Routing

Unlock this course with a free trial

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

Mac routing

Mac routing

- [Instructor] I'm in a Macintosh and there's some ways that we can set up static routes here as well. So if I start out with if config, just to take a look and see what we've got as far as the interface configuration, here you can see all the different information on my interface card. Some of this is going to be loop back information, broadcast, IPV 6, all different kinds of things. What I'm looking for is the IPV 4 address, which we see right here under EN 1 or ethernet one. I know I'm on the .15 network. So what I want to do is I want to add a new route that's going to take me to the 16 network. So we can start by typing in sudo for Switch user, and then it's going to be route-n for new. Then it's going to be add-net for network, followed by the destination that I want to go to, which is going to be that 16.0/24 And then I'll put in my gateway. On a Mac, you will be prompted for a password if you're going to be making any changes that could affect the computer. So I'll go ahead…

Contents