Site hosted by Angelfire.com: Build your free website today!

Router Configuration

 

            This is the basic start-up configuration of the three routers for the Sunset School. The routers are named as SunsetA, SunsetB and SunsetC, as can be seen from the Hostname field in the configuration. Initially, these routers are configured for use of the RIP routing protocol. To enable IGRP, the routers can be configured manually by the administrator. Refer to the physical topology of the network for a clearer picture.

 

            For SunsetA, all of its interfaces (Ethernet0 Ethernet1, Serial0 and Serial1) are associated with an IP address. The IP address of Ethernet0 is 160.56.224.1, Ethernet1 is 160.56.16.1, Serial0 is 160.56.128.1 and Serial1 is 160.56.112.2. Configured also are the networks that are attached to SunsetA, namely 160.56.224.0, 160.56.128.0, 160.56.16.0 and 160.56.112.0. The interface Ethernet0 is for the Administration network. All other networks are for students. An access list is applied in the Ethernet0 to deny traffic coming from the student network. Also an access list is placed in the serial0 interface to filter traffic going inside the network of the Sunset school. For further details of these ACLs, refer to the section ACLs.

 

            As for SunsetB, the IP address of Ethernet0 is 160.56.32.1, Ethernet1 is 160.56.48.1, Serial0 is 160.56.112.1 and Serial1 is 160.56.96.2. The networks attached to SunsetB are 160.56.32.0, 160.56.48.0, 160.56.112.0 and 160.56.96.0.

 

            Only three interfaces of the SunsetC routers are configured. The IP address of Ethernet0 is 160.56.64.1, Ethernet1 is 160.56.80.1 and Serial0 is 160.56.96.1. The networks attached to SunsetC are 160.56.64.0, 160.56.96.0 and 160.56.80.0.

 

            All routers have “sunset” as the password for access verification. The enable secret enable password is left for the administrator to set. To enable IGRP on the routers, refer to the section of IGRP.

 

           

---Router Configuration (running config) for SunsetA---

 

Hostname SunsetA

!

enable password

!

ip subnet-zero

ip host SunsetA 160.56.224.1 160.56.16.1 160.56.128.1 160.56.112.2

ip host SunsetB 160.56.32.1 160.56.48.1 160.56.112.1 160.56.96.2

ip host SunsetC 160.56.64.1 160.56.80.1 160.56.96.1

!

!

interface Ethernet0

  ip address 160.56.224.1 255.255.240.0

  ip access-group 101 out

!

interface Ethernet1

  ip address 160 56.16.1 255.255.240.0

!

interface Serial0

  ip address 160.56.128.1 255.255.240.0

  ip access-group 102 in

!

interface Serial1

  ip address 160.56.112.2 255.255.240.0

!

!

router rip

  network 160.56.224.0

  network 160.56.128.0

  network 160.56.16.0

  network 160.56.112.0

!

ip classless

!

!

line con0

  transport input none

  password sunset

  login

!

end                  

 

 

 

 

 

---Router Configuration (running config) for SunsetB---

 

Hostname SunsetB

!

enable password

!

ip subnet-zero

ip host SunsetA 160.56.224.1 160.56.16.1 160.56.128.1 160.56.112.2

ip host SunsetB 160.56.32.1 160.56.48.1 160.56.112.1 160.56.96.2

ip host SunsetC 160.56.64.1 160.56.80.1 160.56.96.1

!

!

interface Ethernet0

  ip address 160.56.32.1 255.255.240.0

!

interface Ethernet1

  ip address 160 56.48.1 255.255.240.0

!

interface Serial0

  ip address 160.56.112.1 255.255.240.0

!

interface Serial1

  ip address 160.56.96.2 255.255.240.0

!

!

router rip

  network 160.56.32.0

  network 160.56.112.0

  network 160.56.48.0

  network 160.56.96.0

!

ip classless

!

!

line con0

  transport input none

  password sunset

  login

!

end                  

 

 

 

 

---Router Configuration (running config) for SunsetC---

 

Hostname SunsetC

!

enable password

!

ip subnet-zero

ip host SunsetA 160.56.224.1 160.56.16.1 160.56.128.1 160.56.112.2

ip host SunsetB 160.56.32.1 160.56.48.1 160.56.112.1 160.56.96.2

ip host SunsetC 160.56.64.1 160.56.80.1 160.56.96.1

!

!

interface Ethernet0

  ip address 160.56.64.1 255.255.240.0

!

interface Ethernet1

  ip address 160 56.80.1 255.255.240.0

!

interface Serial0

  ip address 160.56.96.1 255.255.240.0

!

!

router rip

  network 160.56.64.0

  network 160.56.80.0

  network 160.56.96.0

!

ip classless

!

!

line con0

  transport input none

  password sunset

  login

!

end