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

From Teknologisk videncenter
Jump to: navigation, search
m (R1)
m (R3)
 
(2 intermediate revisions by the same user not shown)
Line 51: Line 51:
 
===R2===
 
===R2===
 
<source lang="cli">
 
<source lang="cli">
hostname R2
+
hostname <notice>R2</notice>
 
!
 
!
  
Line 57: Line 57:
 
!
 
!
 
interface GigabitEthernet0/0
 
interface GigabitEthernet0/0
  ip address 195.181.55.1 255.255.255.0
+
  ip address <notice>195.181.55.1</notice> 255.255.255.0
 
  no shutdown
 
  no shutdown
 
!
 
!
 
interface Serial0/0/0
 
interface Serial0/0/0
  ip address 192.168.1.13 255.255.255.252
+
  ip address <notice>192.168.1.13</notice> 255.255.255.252
 
  no shutdown
 
  no shutdown
 
!
 
!
 
interface Serial0/0/1
 
interface Serial0/0/1
  ip address 192.168.1.10 255.255.255.252
+
  ip address <notice>192.168.1.10</notice> 255.255.255.252
 
  no shutdown
 
  no shutdown
 
!
 
!
 
router rip
 
router rip
 
  version 2
 
  version 2
  network 192.168.1.0
+
  network <notice>192.168.1.0</notice>
  network 195.181.55.0
+
  network <notice>195.181.55.0</notice>
 
  no auto-summary
 
  no auto-summary
 
!
 
!
Line 93: Line 93:
 
end
 
end
 
</source>
 
</source>
 +
 
===R3===
 
===R3===
 
<source lang="cli">
 
<source lang="cli">
hostname R3
+
hostname <notice>R3</notice>
 
!
 
!
  
Line 101: Line 102:
 
!
 
!
 
interface GigabitEthernet0/0
 
interface GigabitEthernet0/0
  ip address 195.181.56.2 255.255.255.0
+
  ip address <notice>195.181.56.2</notice> 255.255.255.0
 
  no shutdown
 
  no shutdown
 
!
 
!
 
interface Serial0/0/0
 
interface Serial0/0/0
  ip address 192.168.1.6 255.255.255.252
+
  ip address <notice>192.168.1.6</notice> 255.255.255.252
 
  no shutdown
 
  no shutdown
 
!
 
!
 
interface Serial0/0/1
 
interface Serial0/0/1
  ip address 192.168.1.14 255.255.255.252
+
  ip address <notice>192.168.1.14</notice> 255.255.255.252
 
  no shutdown
 
  no shutdown
 
!
 
!
 
router rip
 
router rip
 
  version 2
 
  version 2
  network 192.168.1.0
+
  network <notice>192.168.1.0</notice>
  network 195.181.56.0
+
  network <notice>195.181.56.0</notice>
 
  no auto-summary
 
  no auto-summary
 
!
 
!
Line 137: Line 138:
 
end
 
end
 
</source>
 
</source>
 +
 
===R4===
 
===R4===
 
<source lang="cli">
 
<source lang="cli">

Latest revision as of 12:05, 7 October 2013

Setup

PT Setup

Router Config

R1

hostname <notice>R1</notice>
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address <notice>195.181.54.1</notice> 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address <notice>192.168.1.5</notice> 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address <notice>192.168.1.9</notice> 255.255.255.252
 no shutdown
!
router rip
 version 2
 network <notice>192.168.1.0</notice>
 network <notice>195.181.54.0</notice>
 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 <notice>R2</notice>
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address <notice>195.181.55.1</notice> 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address <notice>192.168.1.13</notice> 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address <notice>192.168.1.10</notice> 255.255.255.252
 no shutdown
!
router rip
 version 2
 network <notice>192.168.1.0</notice>
 network <notice>195.181.55.0</notice>
 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 <notice>R3</notice>
!

enable secret cisco
!
interface GigabitEthernet0/0
 ip address <notice>195.181.56.2</notice> 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address <notice>192.168.1.6</notice> 255.255.255.252
 no shutdown
!
interface Serial0/0/1
 ip address <notice>192.168.1.14</notice> 255.255.255.252
 no shutdown
!
router rip
 version 2
 network <notice>192.168.1.0</notice>
 network <notice>195.181.56.0</notice>
 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