Difference between revisions of "ITT 2013/Network module 1/Assignment Day 3/configguide"

From Teknologisk videncenter
Jump to: navigation, search
m (SW2)
m (SW1)
Line 180: Line 180:
 
==Switches==
 
==Switches==
 
===SW1===
 
===SW1===
 +
<source lang="cli">
 +
hostname SW1
 +
enable secret cisco
 +
interface vlan 1
 +
ip add 195.181.54.10 255.255.255.0
 +
no shut
 +
 +
ip default-gateway 195.181.54.1
 +
 +
line vty 0 15
 +
password cisco
 +
login
 +
line con 0
 +
login
 +
password cisco
 +
 +
banner motd # Secret network #
 +
service password-encryption
 +
</source>
 +
 
===SW2===
 
===SW2===
 
<source lang="cli">
 
<source lang="cli">

Revision as of 09:21, 7 October 2013

Setup

PT Setup

Router Config

R1

hostname R1
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address 195.181.54.1 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.1.5 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address 192.168.1.9 255.255.255.252
 no shutdown
!
router rip
 version 2
 network 192.168.1.0
 network 195.181.54.0
 no auto-summary
!
banner motd ^C Secret network ^C
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end

R2

hostname R2
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address 195.181.55.1 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.1.13 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address 192.168.1.10 255.255.255.252
 no shutdown
!
router rip
 version 2
 network 192.168.1.0
 network 195.181.55.0
 no auto-summary
!
banner motd ^C Secret network ^C
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end

R3

hostname R3
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address 195.181.56.2 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.1.6 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address 192.168.1.14 255.255.255.252
 no shutdown
!
router rip
 version 2
 network 192.168.1.0
 network 195.181.56.0
 no auto-summary
!
banner motd ^C Secret network ^C
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end

R4

hostname R4
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address 195.181.56.1 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.1.18 255.255.255.252
 no shutdown
!
router rip
 version 2
 network 195.181.56.0
 default-information originate
 no auto-summary
!
ip route 0.0.0.0 0.0.0.0 192.168.1.18
!
banner motd ^C Secret network ^C
!
line con 0
 password cisco
 login
!
line aux 0
!
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
!
!
end

Switches

SW1

hostname SW1
enable secret cisco
interface vlan 1
 ip add 195.181.54.10 255.255.255.0
 no shut

ip default-gateway 195.181.54.1

line vty 0 15
 password cisco
 login
line con 0
 login
 password cisco
 
banner motd # Secret network #
service password-encryption

SW2

hostname SW2
enable secret cisco
interface vlan 1
 ip add 195.181.55.10 255.255.255.0
 no shut

ip default-gateway 195.181.55.1

line vty 0 15
 password cisco
 login
line con 0
 login
 password cisco
 
banner motd # Secret network #
service password-encryption

SW3

hostname SW3
enable secret cisco
interface vlan 1
 ip add 195.181.56.10 255.255.255.0
 no shut

ip default-gateway 195.181.56.2

line vty 0 15
 password cisco
 login
line con 0
 login
 password cisco
 
banner motd # Secret network #
service password-encryption