Skip to content

OthmaneBlial/Dynamic-NAT-using-Netmiko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic-NAT-using-Netmiko

Dynamic NAT using Netmiko

alt tag

We create three files, one for data, one for configuration and another one for showing results. These files need to be excutable.

alt tag

Let's add information to data.py about Router 1 and Router 2:

alt tag

Let's create these two functions which will help us to retrieve a subnet mask and also a wild card mask:

alt tag

Now, let's define these five function, which will configure an interface, a default route, a NAT interface, an ACL, and then Dyanmic NAT:

alt tag

Now, we configure R1 with the following configuration:

alt tag

Then R2:

alt tag

And we run these two functions:

alt tag

About

Dynamic NAT using Netmiko

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages