> For the complete documentation index, see [llms.txt](https://paul-gleason.gitbook.io/net-330-network-design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paul-gleason.gitbook.io/net-330-network-design/labs/lab-8-1b-ospf-pt-activity.md).

# Lab 8-1B: OSPF PT Activity

### Summary

To configure OSPF for a small enterprise with 4 routers.

### **Subnet Table**

| Network Name                | Network Address | Subnet Mask     | Default Gateway | Router acting as Gateway |
| --------------------------- | --------------- | --------------- | --------------- | ------------------------ |
| Border-to-Data Center       | 10.8.1.0        | 255.255.255.248 | 10.8.1.1        | Border                   |
| East-Router2 to Data Center | 10.8.1.20       | 255.255.255.252 | 10.8.1.21       | East-Router              |
| DataCenter-to WestRouter4   | 10.8.1.32       | 255.255.255.252 | 10.8.1.33       | Data Center-Router       |
| East                        | 10.8.20.0       | 255.255.255.0   | 10.8.20.1       | East-Router              |
| West                        | 10.8.40.0       | 255.255.255.0   | 10.8.40.1       | West-Router              |

<br>

<figure><img src="/files/T7bLdsv959pDPQASd6oo" alt=""><figcaption><p><strong>Network Layout</strong></p></figcaption></figure>

### Steps:

1\) Give east and west pc's valid IP addresses.

2\) Run the commands below on the specified router.

#### Border Router: Network 1

```
enable
config t
hostname Paul-Border-Router1
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.1 255.255.255.248
exit
router ospf 1
network 10.8.1.0 0.0.0.7 area 0
```

#### East Router: Network 2

```
enable
config t
hostname Paul-East-Router2
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.21 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.20.1 255.255.255.0
router ospf 1
network 10.8.1.20 0.0.0.3 area 0
network 10.8.20.0 0.0.0.255 area 0
```

#### Data Center: Network 3

```
enable
config t
hostname Paul-DataCenter-Router3
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.22 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.1.33 255.255.255.252
exit
interface GigabitEthernet 0/2
no shutdown
ip address 10.8.1.2 255.255.255.248
exit
router ospf 1
network 10.8.1.0 0.0.0.7 area 0
network 10.8.1.32 0.0.0.3 area 0
network 10.8.1.20 0.0.0.3 area 0
```

#### West Router: Network 4

```
enable
config t
hostname Paul-West-Router4
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.34 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.40.1 255.255.255.0
exit
router ospf 1
network 10.8.1.32 0.0.0.3 area 0
network 10.8.40.0 0.0.0.255 area 0
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-8-1b-ospf-pt-activity.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.
