 Welcome to the network engineering video blog. I am your host Michael Crane So I went ahead and After I looked at this for a second I was like, yeah, you know I should probably throw the management network in there and I just added this little cloud right here and showed my laptop Hanging off of it and and how it's connecting to the Los Angeles This switch down here as you notice I don't have a connection going to the switch this I'm sorry this SMC Ethernet switch. Okay, so that means we're gonna have to set up some routing from my laptop through the gateway and down into the This SMC ethernet switch because I don't believe and I might be wrong correct me if I'm wrong But I don't think you can SSH into this guy. Otherwise, we could just SSH from here to here, right? That won't be a problem and then from the router we could SSH to SMC the SMC uses a GUI and And so we need to be able to go we need to be able to ping from here all the way through down here to this SMC switch and then back and also We'll have to do the same for the phones when we get some IP addresses on them because right now They're sitting there flapping in the wind because we don't have a DHCP server So first things first we need to Set up our routing. So let's do that. Okay, so I pulled up a Command window. I'm using a my laptop. It's got Windows 7 on it. I don't remember what the commands are for the Mac, but I'm sure they're easy enough to Google and what we want to do is and so my laptop doesn't know where the 13 network lives and so we just need to tell it say we're gonna build a route in my laptop That's points it to this management interface right here. Okay? That's simple enough, right? And if you don't remember the commands, which I always forget because I don't do this every day you can just type in route and it's Dumps out how you're supposed to do it. And so we're gonna do the Scott examples Those are easiest to look at so we're gonna do route add then what network you're going to what his mask is And the gateway. Oh, here it is destination mask gateway and metric and interface if you need to do that We just need the destination Mac and mask and gateway. So we're gonna do a route add 192.168.1 dot 13 dot Zero might as well do the whole network because we want to get to the phones later as well, right mask is 2525.25.25.0 and and we're gonna be going via this 1.73 interface, right? So we have 192.168.1 Dot 73. Yep. I'm sorry about that when you open this command window and windows You need to run it as administrator. I made a screen cap real quick So so when you type CMD down here in the in the search box If you will click in a search box anyway with Windows users, you know, I'm talking about it pulls up this CMD.exe executable and if you right-click on that then you can click right here as run as administrator and that way you can Run this as administrator. So I'm gonna go ahead and X out of this. I'm going to just do what I showed you there CMD Right click. I know you guys can't see this as administrator. Yes. So let's do that command again. Shall we it's route add 192.168.13 Dot zero mask 255.255.255.0 and we want it going via 192.168.1.73 All right now if you just do a route again it should Oh, sorry, it's a route print And where is it here it is right here All right, and it just automatically gave it a metric 11. Okay, let's see if it works So let's uh ping We'll go ahead and just ping the router 13.1. That's the vlan ip address. So uh 192.168.1 13.1 Yep Okay, so that's good. So the the router knows how to get to the dot one network And it knows how to get to the dot 13 network when we configured our smc In a previous video. We said it's default gateway to this 13.1 He doesn't know how to get to the dot one network. He should know to send everything to the 13 All right, uh 13.1 is default gateway. So we should be able to get to him Let's go ahead and do ping him real quick. So it's 13.41 Oh, it's not working. Oh, there it goes That kind of scared me. I was like, oh no, this isn't gonna work Uh figures it wouldn't work on a video. All right. Anyway, it did Okay, so this is just a temporary route. Okay, so if I reboot or when I reboot my pc Uh, this route is gonna go away, right? What we need to do is we need to add if you want to keep it permanent you need to add Let's see if I can find it here real quick Um, there it is persistent and I'll go ahead and add that for you. So we're gonna have to delete the old one first So, uh, we'll just let's do a route print real quick. Okay, so we're out print. Okay, and so we want to delete This one right here, and I believe you just have to type that in let's try that real quick. So do route Delete then 192.168.1. Oh, sorry 13.0. Oh, okay Oops route print Yep, it's gone. So now we want to add the persistent Flag I think it's just going to be route add then hyphen p. Let's try that real quick route add hyphen p. And then it's the same thing 192.168.13.0 mask 255.255.255.0, and we want it using 192.168. Or it's going via I should it should say via right here But uh, oh, sorry. I don't want to confuse you, but it's going via 192.168.1.73, right? Okay, now if we do a route print all right now we've got it in there and As it says persistent I thought it did here it is down here Persistent routes and that will last through a reboot. Yeah, we can make sure it works I'm not going to reboot my laptop. You just have to trust me on it. It works. So we're going to Ping 192.168.13.1. And yep, everything's hunky dory. So that's it So don't forget you can support the network engineering video blog By donation using a credit card and PayPal or by purchasing products at the muxall store Details and links are in the description under this video Well, that's about it for this video If you like the video give it a big thumbs up That helps and hit the subscribe button. That really helps If you have any questions or comments post them in the comments under this video Thanks for watching and I'll see you next time