0% found this document useful (0 votes)
3 views13 pages

Router Configuration and IP Setup Guide

The document outlines the configuration of multiple routers (R1 to R7) with specific IP addresses assigned to their interfaces and the implementation of various routing protocols including OSPF, RIPv2, and BGP. Each router has a unique hostname and is configured with specific network settings and passive interfaces. Additionally, there are redistribution settings for BGP and OSPF to facilitate routing between different networks.

Uploaded by

tayyabali3840
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views13 pages

Router Configuration and IP Setup Guide

The document outlines the configuration of multiple routers (R1 to R7) with specific IP addresses assigned to their interfaces and the implementation of various routing protocols including OSPF, RIPv2, and BGP. Each router has a unique hostname and is configured with specific network settings and passive interfaces. Additionally, there are redistribution settings for BGP and OSPF to facilitate routing between different networks.

Uploaded by

tayyabali3840
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Topology Diagram

Assigning IP Addresses to Router Interfaces


Configuring OSPF as Interior Gateway Protocol
Configuring RIPv2
Configuring BGP Protocol and Redistribution

Configuration Script
421010813-R1
hostname 421010813-R1
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/2
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 0
network [Link] [Link] area 0
network [Link] [Link] area 0
passive-interface loopback 0
exit
router bgp 1
bgp router-id [Link]
neighbor [Link] remote-as 2
network [Link] mask [Link]
exit
router ospf 1
redistribute bgp 1 subnets
exit
router bgp 1
redistribute bgp 1 metric-type 1
exit
421010813-R2
hostname 421010813-R2
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 1
network [Link] [Link] area 1
passive-interface loopback 0
passive-interface gigabitEthernet 0/1
exit
421010813-R3
hostname 421010813-R3
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 2
network [Link] [Link] area 2
passive-interface loopback 0
passive-interface gigabitEthernet 0/0
exit
421010813-R4
hostname 421010813-R4
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/2
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 0
network [Link] [Link] area 2
network [Link] [Link] area 3
passive-interface loopback 0
passive-interface gigabitEthernet 0/0
exit
421010813-R5
hostname 421010813-R5
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/0/0
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router rip
version 2
no auto-summary
network [Link]
network [Link]
network [Link]
passive-interface loopback 0
exit
router bgp 2
bgp router-id [Link]
neighbor [Link] remote-as 1
network [Link] mask [Link]
exit
ip route [Link] [Link] loopback 0
router bgp 2
redistribute static
exit
421010813-R6
hostname 421010813-R6
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router rip
version 2
no auto-summary
network [Link]
network [Link]
network [Link]
passive-interface gigabitEthernet 0/0
passive-interface loopback 0
exit
421010813-R7
hostname 421010813-R7
interface gigabitEthernet 0/0
no shutdown
ip address [Link] [Link]
exit
interface gigabitEthernet 0/1
no shutdown
ip address [Link] [Link]
exit
interface loopback 0
ip address [Link] [Link]
exit
router rip
version 2
no auto-summary
network [Link]
network [Link]
network [Link]
default-information originate
passive-interface gigabitEthernet 0/0
passive-interface loopback 0
exit

You might also like