# Lab 6-1: NAT Configuration - Static NAT

### Summary

Configuring of static NAT to be able to connect the network on the left to the server on the right.

<figure><img src="https://1767217326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGG1ypcCqcB1a4JSBwHti%2Fuploads%2FQsOjh6hLGFUq4VAnX6DM%2Fimage.png?alt=media&#x26;token=d7410cb8-84a1-43c0-9b51-3f7ebf0c0e98" alt=""><figcaption><p>Network Layout</p></figcaption></figure>

### Router 1 (R1):

```
enable
configure terminal
hostname R1
interface fastethernet 0/0
ip address 10.0.0.1 255.0.0.0
no shutdown
exit
interface serial 0/0/0
ip address 20.0.0.2 255.0.0.0
no shutdown
exit
```

### Router 2 (R2):

```
enable
configure terminal
hostname R0
interface fastethernet 0/0
ip address 30.0.0.1 255.0.0.0
no shutdown
exit
interface serial 0/0/0
ip address 20.0.0.1 255.0.0.0
clock rate 64000
bandwidth 64
no shutdown
exit
```

### Configure Routing:

Router 1:

```
R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.1
```

Router 0

```
R0(config)#ip route 50.0.0.0 255.0.0.0 20.0.0.2
```

### Configure Static NAT on Router 1

#### Define "Inside" and "Outside" on your NAT interfaces:

in R1(config)$

```
interface fastEthernet 0/0
ip nat inside
exit
interface serial 0/0/0
ip nat outside
exit
```

#### Create The Static Rule

```
R1(config)#ip nat inside source static 10.0.0.2 50.0.0.1
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://paul-gleason.gitbook.io/net-330-network-design/labs/lab-6-1-nat-configuration-static-nat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
