Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static...

30
Abdellah El Ghrich Yassine Benayyoub Netwerk Case Study

Transcript of Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static...

Page 1: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

Abdellah El Ghrich Yassine Benayyoub

Netwerk Case Study

Page 2: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

1

Inhoudstafel

Inleiding ................................................................................................................................................... 3

Probleemstelling ...................................................................................................................................... 4

Doelstelling .............................................................................................................................................. 4

Netwerk installatie .................................................................................................................................. 5

Plan ........................................................................................................................................................ 13

Kosten .................................................................................................................................................... 14

Cisco Small Business SG 200-50 .................................................................................................... 14

ISP .......................................................................................................................................................... 15

Literatuurlijst ......................................................................................................................................... 16

Bijlage .................................................................................................................................................... 16

Configure the hostname of the switch as Switch1. ............................................................................... 17

Set the privileged EXEC mode password to cisco .................................................................................. 17

Set the privileged EXEC mode secret password to class ....................................................................... 17

Configure the console and virtual terminal lines to use a password and require it at login. ............... 17

Enter the interface configuration mode for VLAN 1. ............................................................................ 17

Configure the FastEthernet 0/0 interface with the IP address 192.168.1.1/24. ................................... 17

Configure the Serial 0/0/0 interface with the IP address 192.168.2.1/24. Set the clock rate to 64000.

............................................................................................................................................................... 17

Perform basic configuration of router R2 ............................................................................................. 18

Configure the FastEthernet 0/0 interface with the IP address 192.168.3.1/24. ................................... 18

Remove the static route to 192.168.3.0. .............................................................................................. 18

Enable RIP v2 routing and advertise the participating networks. ......................................................... 18

Remove the static route to 192.168.1.0 ............................................................................................... 18

Enable RIP v2 routing and advertise the participating networks. ......................................................... 18

To allow the switch port FastEthernet 0/1 to accept only one device, configure port security as

follows: .................................................................................................................................................. 18

View the show mac-address-table options ......................................................................................... 18

Disable unused ports ............................................................................................................................. 19

Examine the spanning-tree tables on each switch ................................................................................ 19

Determine the options that can be configured for the Spanning Tree Protocol by issuing this

command: .............................................................................................................................................. 19

By default, the port priority of an interface is 128. Lowering this value will ensure a specific interface

becomes the Root Port:......................................................................................................................... 20

Configuring, Verifying, and Troubleshooting VLANs ............................................................................. 20

Creating VLANs and Assigning Ports...................................................................................................... 22

Page 3: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

2

Configuring a Trunk Port to Connect Switches...................................................................................... 23

To allow connectivity within multiple VLANs across multiple switches, trunking can be configured.

Without trunking, each VLAN requires a separate physical connection between switches ............ 24

Implementing EIGRP .............................................................................................................................. 25

Configuring and Verifying Single Area OSPF .......................................................................................... 26

Page 4: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

3

Inleiding

Wij hebben de opdracht gekregen om een nieuwe netwerk te maken voor het school. Wij

mogen zelf kiezen voor wie we veranderingen maken. De bedoeling daarvan is dat we een

goed gestructureerde plan maken om er voor te zorgen dat wanneer andere technicus komen

dat ze dit natuurlijk zonder problemen kunnen alles terug vinden.

Onze klant is Sean up een jonge onderneming van ongeveer 300 mensen. Zij hebben het

gebouw gekocht voor een totaal van 1,5 miljoen euro. Zij hebben ons gecontacteerd om de

netwerk plan te tekenen en alle materiaal daarvoor te zoeken.

Zij willen dat alle computers met elkaar kunnen communiceren omdat in dit bedrijf is iedere

afdeling verbonden aan elkaar. Dus onze taak is om de beste plan te tekenen en ervoor zorgen

dat iedereen met elkaar kan communiceren.

Het gebouw heeft 8 verdieping en per verdieping werken er ongeveer 40 personen. Het hangt

af van de afdeling zelf. Er werd aan ons gezegd dat we zelf mogen kiezen over hoe we te werk

gaan. Wat het bedrijf wilt is het eindresultaat en met de juiste prijs op het markt.

Ze zijn dus naar het juiste plaats gekomen.

Page 5: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

4

Probleemstelling

Sean up heeft een nieuwe gebouw gekocht en heeft geen idee op welke manier hun netwerk

zal werken. Daarom hebben ze ons gecontacteerd om dit probleem op te lossen. Wij hebben

la carte blanche met andere woorden wij zijn vrij om zelf te kiezen wat er gaat gebeuren. Zij

hebben per verdiep 40 pc die elke dag gebruikt moeten worden behalve de weekend. Die

computers moeten met elkaar kunnen communiceren. Want het bedrijf werkt op vele projecten

tegelijkertijd en hebben alle afdeling iets te maken met de andere.

Dit wil zeggen dat er ongeveer 300 computers elke dag zullen gebruikt worden. En dat de

netwerk bandbreedte vol zal zijn. Die computer moeten ook op internet kunnen geraken.

Mensen van de administratieve afdeling moeten ook op alle verdieping kunnen printen. Want

die hebben geen vaste plaatsen en staan af en toe in verschillende verdieping per dag.

Doelstelling

Onze doel is er voor zorgen dat alle computers op het internet kunnen en dat ze allemaal

tegelijkertijd documenten kunnen delen. Wij moeten ervoor zorgen dat onze plan perfect wordt

getekend om geen stoornissen te hebben. Wij zullen voor een ISP zoeken die de beste prijs

in de markt heeft. En die ook natuurlijk 24/24 beschikbaar is als er een probleem zou ontstaan.

Natuurlijk dit zou niet kunnen gebeuren dankzij ons goede werk.

Page 6: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

5

Netwerk installatie

Onze netwerk hebben wij in 9 verschillende VLAN’s gedeeld waarbij elke VLAN’s met de

verdiepingen van het gebouw corresponderen. Wij zijn op een gelijkaardige manier als de

“bottom-up” design tewerk gegaan voor het maken van onze netwerk.

Eerst hebben wij de IP-adressen en de subnetmasks aan de host’s toegegeven door erop te

dubbelklikken en vervolgens door op de Desktop tab te klikken.

Nu kunnen wij hierin specifiek de Ip-address van onze host en subnetmask ingeven.

Page 7: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

6

Verdieping Network SubnetMask

8 192.168.8.0 /24 7 192.168.7.0 /24 6 192.168.6.0 /24 5 192.168.5.0 /24 4 192.168.4.0 /24 3 192.168.3.0 /24 2 192.168.2.0 /24

Nu wij klaar zijn met ingeven van onze ip-addressen en subnetmasken gaan wij de switchen

instellen. Elke switch correspondeert met een verdieping zodanig dat latere

netwerkbeheerders gemakelijk hun weg kunnen vinden als zij het structuur van de netwerk

willen veranderen.

Eerst en vooral moeten wij een straight through kabel tussen onze host en switch aansluiten.

Nu dit gedaan is kunnen wij beginnen met het configureren van onze switch, dit doen wij

dankzij de command line.

Page 8: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

7

Wat moeten wij nu precies configureren op onze switch ?

VLAN’s aanmaken

VLAN’s aan poorten ingeven

Trunk

VLAN’s aanmaken:

Switch(config)#vlan 7

Switch(config-vlan)#name Verdieping7

Switch(config-vlan)#exit

Switch(config)#interface vlan 7

%LINK-5-CHANGED: Interface Vlan7, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan7, changed state

to up

VLAN’s aan poorten aansluiten:

Switch(config)# interface fastethernet 0/17

Switch(config-if)#switchport access vlan 7

Switch(config-if)#switchport mode access

Switch(config-if)#end

Nu wij de VLAN’s hebben aangemaakt en die aan de poorten hebben ingegeven gaan wij nu ervoor

zorgen om de Cross-over kabel tussen de switch en de Multilayer Switch te trunken.

TRUNK:

S1(config)#interface fa0/1

S1(config-if)#switchport mode access

S1(config-if)#switchport mode trunk

S1(config-if)#end

We zijn klaar met het configureren van de switchen, we kunnen eindelijk met de Multilayer Switch aan

de slag gaan.

(Niet vergeten om de command “ip-routing” op uw multilayer switch te doen)

TRUNK

Page 9: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

8

Wat moeten wij erop Configureren?

VLAN’s ip-addressen ingeven

Trunking kabels

Default-gateway van de hosten instellen

VLANS’s ip-addressen ingeven:

Switch(config)#interface vlan8

Switch(config-if)#ip address 192.168.8.1 255.255.255.0

Switch(config-if)#no shutdown

Switch(config-if)#exit

Switch(config)#interface vlan7

Switch(config-if)#ip address 192.168.7.1 255.255.255.0

Switch(config-if)#no shutdown

Switch(config-if)#exit

Trunking kabels:

Default Gateway van de hosten instellen:

Nu wij klaar zijn met het ingeven van ip-addressen aan de multilayerswitch kunnen wij nu de

defaultgateway naar de multilayerswitch sturen. Dit is veel beter dan alles naar de router sturen omdat

het effeciënter en beter is voor de router.

TRUNK

Stemt overeen met de ip-addres die

wij aan vlan 8 hebben ingegeven.

Page 10: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

9

We kunnen perfect nu tussen de verdiepingen pingen:

Wat moeten wij nu instellen om de verdiepingen van 4 tot en met 1 te pingen?

Om de verdiepingen te kunnen pingen zullen wij routers moeten instellen tussen onze twee multilayers

switchen. Zij zullen ervoor zorgen dat de hosten die op verdiepingen 8 -> 5, de hosten op de

verdiepingen 4 -> 1 zullen pingen.

Vooraleer wij de serial kabels tussen de routers kunnen aansluiten moeten wij ze eerst in de router

zelf insteken.

Kies voor WIC-1T (dit zijn de seriele

connecties)

(Vergeet niet uw router eerst te uitschakelen)

Page 11: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

10

Nu de routers geconfigureerd zijn met de nodige hardware gaan we nu de seriale verbindgen tussen

hun aansluiten. We zullen een serial DTE kabel gebruiken zodanig dat wij de clock rate van de routers

kunnen configureren.

Met één ip-address hebben wij genoeg om de 3 routers aan te sluiten:

Subnetting

We gaan de ip-address 192.168.20.xx gebruiken voor de routers met een subnetmask van

255.255.255.252 (/30)

We hebben nu alles om onze router perfect te kunnen configureren.

Verbindingen

192.168.20.1/30 192.168.20.2/30 192.168.20.5/30 192.168.20.6/30 192.168.20.9/30 192.168.20.10/30

Router0(config-if)#interface serial 0/0/0

Router0(config-if)#ip address 192.168.20.1 255.255.255.252

Router0(config-if)#clock rate 64000

Router0(config-if)#no shutdown

Router1(config-if)#interface serial 0/0/0

Router1(config-if)#ip address 192.168.20.2 255.255.255.252

Router1(config-if)#no shutdown

Alles is nu klaar maar waarom kunnen wij niet pingen ?

We moeten een routing-protocol kiezen (in ons geval OSPF) om de netwerken te verbinden.

Routers communiceren door middel van protocollen, zoals het Internet Protocol. Daarnaast

worden er protocollen gebruikt voor het routeren van pakketten door het netwerk.

Page 12: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

11

Implementatie van OSPF op de routers:

We zullen op elke router en Multilayer Switch hun OSPF routing proces moeten instellen.

Vergeet niet dat elke netwerk in de area 0 moet zijn.

Router0(config)#router ospf 1

Router0(config-router)#network 192.168.20.0 0.0.0.3 area 0

Router0(config-router)#network 192.168.20.4 0.0.0.3 area 0

Router0(config-router)#network 192.168.30.0 0.0.0.255 area 0

Router0(config-router)#end

Router0(config)#router ospf

Router0(config-router)#log-adjacency-changes

Router0(config-router)#default-information originate

Router0(config-router)#end

Router2(config)#router ospf 1

Router2(config-router)#network 192.168.20.0 0.0.0.3 area 0

Router2(config-router)#network 192.168.20.8 0.0.0.3 area 0

Router2(config-router)#end

Router2(config)#router ospf

Router2(config-router)#log-adjacency-changes

Router2(config-router)#default-information originate

Router2(config-router)#end

Router0(config)#router ospf 1

Router2(config-router)#network 192.168.31.0 0.0.0.255 area 0

Router2(config-router)#network 192.168.20.8 0.0.0.3 area 0

Router2(config-router)#network 192.168.20.4 0.0.0.3 area 0

Router0(config-router)#end

Router0(config)#router ospf

Router0(config-router)#log-adjacency-changes

Router0(config-router)#default-information originate

Router0(config-router)#end

Implementatie van OSPF op de Multilayer Switch:

Switch#(config)#router ospf 1

Switch#(config-router)#network 192.168.30.0 0.0.0.255 area 0

Switch#(config-router)#network 192.168.5.0 0.0.0.255 area 0

Switch#(config-router)#network 192.168.6.0 0.0.0.255 area 0

Switch#(config-router)#network 192.168.7.0 0.0.0.255 area 0

Switch#(config-router)#network 192.168.8.0 0.0.0.255 area 0

Switch#(config-router)#end

Switch#(config)#router ospf

Switch#(config-router)#log-adjacency-changes

Switch#(config-router)#default-information originate

Switch#(config-router)#end

Page 13: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

12

We komen aan het einde van onze technische gedeelte, alles werd perfect ingesteld en gaan

nu zien of wij tussen de hosten van verschillende verdiepingen kunnen pingen.

Page 14: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

13

Plan

1ste en 2de verdiep 3de verdiep 4de en 5de verdiep

6de verdiep 7de verdiep 8ste verdiep

Page 15: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

14

Kosten

Material Hoeveelheid Prijs Cisco Small Business SG 200-50 48 poort

8

€ 483.95

Cisco WS-C3750G-24TS-E1U Catalyst 24 Port PoE 4 SFP Enh Multilayer 1RU Ethernet Switch 24 Poort

2

€ 502.20

Cisco router: 2911 Integrated Service Router

3

€ 1071.00

TOTAAL:

€ 8089

Dit is het totale van de materiaal die er moet betaald worden. Dit zijn niet de totale kosten want er

moet nog de kosten van de ISP bij komen en de kosten van de dienst die wij geleverd hebben.

Aantaal werknemers Uurloon Aantal uren

1 € 50/uur 240

1 € 50/uur 240

TOTAAL: € 24000

Page 16: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

15

ISP

Belgacom Pro

Fibernet XL

Internet 100 Méga

België Gratis België Gratis België Gratis Hulpdienst Binnen 5 uur Binnen 1 dag Binnen 2 dagen

Download: 30 Mbps

120 Mbps

200 Mbps

3G internet: 2GB

Geen

Geen

62 , 75 /maand

64.95/maand

39,90€/maand

Wij komen nu aan onze totaal kostprijs van dit project. Het heeft voor de onderneming € 32089

gekost om alles te kunnen installeren en doen werken. Natuurlijk komt er nog een extra kost

“ISP” zij moeten € 63 per maand betalen. Natuurlijk dit is de kost voor het eerste jaar. Na het

tweede jaar kunnen ze voor € 5000 per jaar onze diensten gebruiken. Als er een probleem zou

ontstaan dan zijn wij binnen de uur beschikbaar om de problemen op telossen.

Page 17: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

16

Literatuurlijst

Cisco router

http://www.centralpoint.be/fr/routeurs/cisco/2911-integrated-service-router-art-cisco2911-k9-

num-

315432/?utm_source=google&utm_medium=cpc&utm_campaign=productlistingads&gclid=CjgKEAjw

2dqcBRC2q-LXjpfxjnQSJAAeYF5L70p1Xmg-jpnzRrVhX0FpRcBHDShIoZfHj5imB5CEOvD_BwE

ISP vergelijking

http://www.astel.be/operateurs/Belgacom/Pack-Comfort-Telephone-HappyTime-XL-International-

Internet-Partout-TV

Multylayer switch

http://www.alibaba.com/product-detail/Cisco-WS-C3750G-24TS-E1U-Catalyst_1126082079.html

Switch 48 ports

http://www.ldlc.be/fiche/PB00109450.html

Bijlage Portfolio Netwerk 3

Router(config)#interface Fa0/0

Router(config-if)#ip address 10.10.10.1 255.255.255.248

Router(config-if)#no shutdown

Page 18: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

17

Configure the hostname of the switch as Switch1. Switch>enable

Switch#configure terminal

Switch(config)#hostname Switch1

Set the privileged EXEC mode password to cisco Switch1(config)#enable password cisco

Set the privileged EXEC mode secret password to class Switch1(config)#enable secret class

Configure the console and virtual terminal lines to use a password and

require it at login. Switch1(config)#line console 0

Switch1(config-line)#password cisco

Switch1(config-line)#login

Switch1(config-line)#line vty 0 15

Switch1(config-line)#password cisco

Switch1(config-line)#login

Switch1(config-line)#end

Enter the interface configuration mode for VLAN 1. Switch1(config)#interface vlan 1

Switch1(config-if)#ip address 192.168.1.5 255.255.255.0

Switch1(config-if)#no shutdown

Switch1(config-if)#exit

Switch1(config)#ip default-gateway 192.168.1.

R1(config)#banner motd + ************************************************** Authorized Users Only! ************************************************** +

Configure the FastEthernet 0/0 interface with the IP address

192.168.1.1/24. R1(config)#interface fastethernet 0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#no shutdown

Configure the Serial 0/0/0 interface with the IP address

192.168.2.1/24. Set the clock rate to 64000. R1(config-if)#interface serial 0/0/0

R1(config-if)#ip address 192.168.2.1 255.255.255.0

R1(config-if)#clock rate 64000

R1(config-if)#no shutdown

Create a static route to enable R1 to reach the network attached to the R2 Fa0/0 interface. Use the next hop interface on R2 as the path to this network.

Page 19: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

18

R1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2

Perform basic configuration of router R2 R2(config)#interface serial 0/0/0

R2(config-if)#ip address 192.168.2.2 255.255.255.0

R2(config-if)#no shutdown

Configure the FastEthernet 0/0 interface with the IP address

192.168.3.1/24. R2(config-if)#interface fastethernet 0/0

R2(config-if)#ip address 192.168.3.1 255.255.255.0

R2(config-if)#no shutdown

R2(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1

Remove the static route to 192.168.3.0. R1(config)#no ip route 192.168.3.0 255.255.255.0 192.168.2.2

Enable RIP v2 routing and advertise the participating networks. R1(config)#router rip

R1(config-router)#version 2

R1(config-router)#network 192.168.1.0

R1(config-router)#network 192.168.2.0

Remove the static route to 192.168.1.0 R2(config)#noip route 192.168.1.0 255.255.255.0 192.168.2.1

Enable RIP v2 routing and advertise the participating networks. R2(config)#router rip

R2(config-router)#version 2

R2(config-router)#network 192.168.2.0

R2(config-router)#network 192.168.3.0

To allow the switch port FastEthernet 0/1 to accept only one device,

configure port security as follows: Switch1(config)#interface fastethernet 0/1

Switch1(config-if)#switchport mode access

Switch1(config-if)#switchport port-security

Switch1(config-if)#switchport port-security mac-address sticky

Switch1(config-if)#end

View the show mac-address-table options View the options that the show mac-address-table command has available. Switch1(config)#show mac-address-table ?

Set up a static MAC address on FastEthernet interface 0/4. Use the address that was recorded for PC2 in Step 9. The MAC address 00e0.2917.1884 is used in this example statement only. Switch1(config)#mac-address-table static 00e0.2917.1884 vlan 1

Page 20: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

19

interface fastethernet 0/4

On interface FastEthernet 0/4, set the port security maximum MAC count to 1. Switch1(config-if)#switchport port-security maximum 1

In the event of a security violation, the interface should be shut down. To make the port security shut down, enter the following command: Switch1(config-if)#switchport port-security violation shutdown

Check the port security settings. Switch1#show port-security

Disable unused ports Disable any ports not being used on the switch. Switch1(config)#interface range Fa0/2 – 3

Switch1(config-if-range)#shutdown

Switch1(config-if-range)#exit

Switch1(config)#interface range Fa0/5 – 24

Switch1(config-if-range)#shutdown

Switch1(config)#interface range gigabitethernet0/1 - 2

Switch1(config-if-range)#shutdown

Examine the spanning-tree tables on each switch SwitchA show spanning-tree

Determine the options that can be configured for the Spanning Tree

Protocol by issuing this command: SwitchB(config)#spanning-tree ?

Set the priority of the switch to 4096.

Page 21: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

20

SwitchB(config)#spanning-tree vlan 1 priority 4096

SwitchB(config)#exit

(config-if)#spanning-tree port-priority priority

console(config)# spanning-tree priority (VALEUR ENTRE 0 et 61440 par incréments de 4096)

By default, the port priority of an interface is 128. Lowering this value will ensure a specific interface becomes the Root Port: Switch(config)#int fa0/10 Switch(config-if)#spanning-tree port-priority 50 (dat is voor de kabel boss)

Configuring, Verifying, and Troubleshooting VLANs

Page 22: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

21

S1(config)#interface vlan1

S1(config-if)#ip address 172.16.1.2 255.255.255.0

S1(config-if)#no shutdown

S1(config-if)#exit

S1(config)#ip default-gateway 172.16.1.1

Create and name two additional VLANs on S1. S1(config)#vlan 20

S1(config-vlan)#name fred

S1(config-vlan)#exit

S1(config)#vlan 30

S1(config-vlan)#name wilma

S1(config-vlan)#exit

Assign interfaces to VLANs. Assign S1 port Fa0/2 to VLAN 20 and ports Fa0/3 – Fa0/8 to VLAN 30. S1(config)#interface fastethernet 0/2

S1(config-if)#switchport mode access

S1(config-if)#switchport access vlan 20

S1(config-i f)#exit

S1(config)#interface range fastethernet 0/3 - 8

S1(config-if-range)#switchport mode access

S1(config-if-range)#switchport access vlan 30

S1(config-if-range)#end

S1#show vlan

S1#show vlan brief

S1#show vlan id 30

Page 23: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

22

S1#show vlan name fred

Reassign S1 port Fa0/3 to VLAN 20. S1(config)#interface Fa0/3

S1(config-if)#switchport access vlan 20

S1(config)#end

S1#show vlan

Creating VLANs and Assigning Ports

Configure Switch 1 with the VLAN 1 IP address of 172.16.1.2/24. Switch1(config)#interface vlan1

Switch1(config-if)#ip address 172.16.1.2 255.255.255.0

Switch1(config-if)#no shutdown

Switch1(config-if)#exit

Create VLAN 10, named Faculty, and VLAN 20, named Students. Switch1(config)#vlan 10

Switch1(config-vlan)#name Faculty

Switch1(config-vlan)#exit

Switch1(config)#vlan 20

Switch1(config-vlan)#name Students

Switch1(config-vlan)#exit

Page 24: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

23

Configure Switch 1 with thedefault gateway address of 172.16.1.1. Switch1(config)#ip default-gateway 172.16.1.1

Configure Switch 1 to place interfaces Fa0/5 and Fa0/6 in VLAN 10. Switch1(config)#interface Fa0/5

Switch1(config-if)#switchport mode access

Switch1(config-if)#switchport access vlan 10

Switch1(config-if)#interface Fa0/6

Switch1(config-if)#switchport mode access

Switch1(config-if)#switchport access vlan 10

Switch1(config-if)#exit

Configure Switch 1 to place interfaces Fa0/7 and Fa0/8 in VLAN 20. Switch1(config)#interface Fa0/7

Switch1(config-if)#switchport mode access

Switch1(config-if)#switchport access vlan 20

Switch1(config-if)#interface Fa0/8

Switch1(config-if)#switchport mode access

Switch1(config-if)#switchport access vlan 20

Switch1(config-if)#end

Configuring a Trunk Port to Connect Switches

S1(config)#interface fa0/1

S1(config-if)#switchport mode access

Page 25: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

24

S2(config)#interface fa0/1

S2(config-if)#switchport mode access

To allow connectivity within multiple VLANs across multiple switches, trunking can be

configured. Without trunking, each VLAN requires a separate physical connection

between switches

S1(config)#int Fa0/1

S1(config-if)#switchport mode trunk

S1(config-if)#end

S2(config)#int Fa0/1

S2(config-if)#switchport mode trunk

S2(config-if)#end

(Main#show ip interface brief)

On R1, configure RIP version 2 as the routing protocol and advertise the appropriate networks: R1(config)#router rip

R1(config-router)#version 2

R1(config-router)#network 172.16.1.0

R1(config-router)#network 172.16.3.0

From the R3 router to the host simulating the Internet, create a static route to network 0.0.0.0 0.0.0.0,

using the ip route command. This will forward any unknown-destination address traffic to the PC

simulating the Internet by setting a Gateway of Last Resort on the R3 router.

Page 26: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

25

R3(config)#ip route 0.0.0.0 0.0.0.0 209.165.201.2

R3 will advertise this route to the other routers if this command is added to its RIP configuration: R3(config)#router rip

R3(config-router)#default-information originate

Implementing EIGRP

On Gateway, configure EIGRP as the routing protocol with an autonomous system number of 100, and advertise the appropriate networks. Gateway(config)#router eigrp 100

Gateway(config-router)#network 10.0.0.0

Gateway(config-router)#network 10.0.0.4

On Branch1, configure EIGRP as the routing protocol with an autonomous system number of 100, and advertise the appropriate networks: Branch1(config)#router eigrp 100

Branch1(config-router)#network 10.0.0.0

Page 27: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

26

Branch1(config-router)#network 10.0.0.8

Branch1(config-router)#network 172.16.0.0

Branch1(config-router)#network 172.16.1.0

Branch1(config-router)#network 172.16.2.0

Branch1(config-router)#network 172.16.3.0

On each of the three routers, remove automatic summarization to force EIGRP to report all subnets. A sample command is given for Gateway. Gateway(config)#router eigrp 100

Gateway(config-router)# no auto-summary

On Branch2, configure manual summarization to force EIGRP to summarize only the 172.17.0.0 and 172.17.1.0 subnets Branch2(config)#interface s0/0/0

Branch2(config-if)#ip summary-address eigrp 100 172.17.0.0 255.255.252.0

Branch2(config)#interface s0/0/1

Branch2(config-if)#ip summary-address eigrp 100 172.17.0.0 255.255.252.0

Configuring and Verifying Single Area OSPF

Configure an OSPF routingprocess on router R1. Use OSPF process number 1and ensure that all networks are in Area 0. R1(config)#router ospf 1

R1(config-router)#network 192.168.1.128 0.0.0.63 area 0

R1(config-router)#network 192.168.15.0 0.0.0.3 area 0

Page 28: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

27

R1(config-router)#end

R1(config)#router ospf 1

R1(config-router)#log-adjacency-changes

R1(config-router)#end

Configure an OSPF routing process on router R2. Use OSPF process number 1 and ensure that all networks are in Area 0. R2(config)#router ospf 1

R2(config-router)#network 192.168.0.0 0.0.0.255 area 0

R2(config-router)#network 192.168.15.0 0.0.0.3 area 0

R2(config-router)#end

R2(config)#router ospf 1

R2(config-router)#log-adjacency-changes

R2(config-router)#end

Configuring OSPF authentication is a two-step process. First, it is enabledon arouter for an area, and then it is configured on the interfacesin that area. a. Enable MD5 authentication in Area 0 onboth routers. R1(config)#router ospf 1

R1(config-router)#area 0 authentication message-digest

R2(config)#router ospf 1

R2(config-router)#area 0 authentication message-digest

Enable OSPFauthentication on S0/0/0 of R1. R1(config)#interface s0/0/0

R1(config-if)#ip ospf message-digest-key 10 md5 secretpassword

Enable OSPFauthentication on S0/0/0 of R2. R2(config)#interface s0/0/0

R2(config-if)#ip ospf message-digest-key 10 md5 secretpassword

Page 29: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

28

Configure serial and loopback interfaces on Router 3. R3(config)#interface s0/0/1

R3(config-if)#ip address 200.20.20.1 255.255.255.252

R3(config-if)#clock rate 64000

R3(config-if)#no shutdown

R3(config-if)#interface lo0

R3(config-if)#ip address 138.25.6.33 255.255.255.255

R3(config-if)#exit

On Router 3, configure a default route toboth the 192.168.0.0 and the 192.168.1.0 networks. R3(config)#ip route 192.168.1.0 255.255.255.0 200.20.20.2

R3(config)#ip route 192.168.0.0 255.255.255.0 200.20.20.2

Configure loopback, FastEthernet, and serial interfaces on Router 1 and Router 2. R1(config)#interface loopback 0

R1(config-if)#ip address 192.168.31.11 255.255.255.255

R1(config-if)#interface serial 0/0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.252

R1(config-if)#clock rate 64000

R1(config-if)#no shutdown

R1(config-if)#interface fa 0/0

Page 30: Netwerk Case Study - Typepad · 2014-06-11 · Cisco Small Business SG 200-50 ... Remove the static route to 192.168.1.0 ... netwerk bandbreedte vol zal zijn. Die computer moeten

29

R1(config-if)#ip address 192.168.1.129 255.255.255.192

R1(config-if)#no shutdown

R2(config)#interface loopback 0

R2(config-if)#ip address 192.168.31.22 255.255.255.255

R2(config-if)#interface serial 0/0/0

R2(config-if)#ip address 192.168.1.2 255.255.255.252

R2(config-if)#no shutdown

R2(config-if)#interface serial 0/0/1

R2(config-if)#ip address 200.20.20.2 255.255.255.252

R2(config-if)#no shutdown

R2(config-if)#interface fa 0/0

R2(config-if)#ip address 192.168.0.1 255.255.255.0

R2(config-if)#no shutdown

Configure OSPF routing on each router. Use OSPF process number 1 and ensure that all networks are in Area 0. R1(config)#router ospf 1 R1(config-router)#network 192.168.1.128 0.0.0.127 area 0

R1(config-router)#network 192.168.1.0 0.0.0.3 area 0

R2(config)#router ospf 1

R2(config-router)#network 192.168.0.0 0.0.0.255 area 0

R2(config-router)#network 192.168.1.0 0.0.0.3 area 0

On R2 only, enter a static default route. R2(config)#ip route 0.0.0.0 0.0.0.0 200.20.20.1

Propagate the gateway of last resort tothe other routers in the OSPF domain. At the configure router

prompt on R2, enter default-information originate.

R2(config-router)#default-information originate