课程: Practical Linux for Network Engineers: Part 1

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Network address translation (NAT) and internet testing

Network address translation (NAT) and internet testing - Linux教程

课程: Practical Linux for Network Engineers: Part 1

Network address translation (NAT) and internet testing

- [Instructor] So can the Ubuntu PC ping the internet, and at the moment the answer is no. The reason for that is that the NetCloud doesn't know about this network, 10.1.1.0. So pings fail to google.com or other websites because we need to enable NAT on the Cisco router. So I'm gonna save the config of the Cisco router at this point, and then I'll go into Gigabit 0/1 and type ip nat outside to enable NAT on the outside interface. Now we do get a complaint about CPU utilization, but that's okay in my example. So I'll go onto Gigabit 0/0 and enable on NAT on the inside. You can increase the amount of RAM that you allocate to the router if you don't wanna get to that message, or in some cases you need to increase it to stop the router crashing, but at this point I'm good. So I'm gonna go back to global configuration mode and type ip nat inside source list, access list one, interface gigabit 0/1 overload, access-list 1 permit any. On the Ubuntu client notice we can now ping google.com…

内容