Configuring the Router Component - PowerPoint PPT Presentation

1 / 50
About This Presentation
Title:

Configuring the Router Component

Description:

Configuring the Router Component Chaminade University Department of Computer Science Prof. Martins Router Configuration Cisco AGS Two Ethernet Ports Two Serial Ports ... – PowerPoint PPT presentation

Number of Views:67
Avg rating:3.0/5.0
Slides: 51
Provided by: nds5
Category:

less

Transcript and Presenter's Notes

Title: Configuring the Router Component


1
Configuring the Router Component
  • Chaminade University
  • Department of Computer Science
  • Prof. Martins

2
Router Configuration
  • Cisco AGS
  • Two Ethernet Ports
  • Two Serial Ports
  • WAN
  • Console

3
Types of Commands
  • Global Commands apply to the router as a whole
    (e.g. hostname)
  • Interface Commands Apply to the configuration
    of interface (e.g. Ethernet Interface)
  • Line Commands Apply to the configuration of
    serial ports
  • Router Commands apply to different routing
    protocols (e.g. RIP, OSPF)

4
Levels of User Access
  • Hostname gt provide access to a restricted set of
    commands no password required
  • Hostname provide access to all router commands
    require password

5
Protocols to be configured
  • IP Internet Protocols
  • RIP Routing Information Protocol
  • OSPF Open shortest Path First
  • BGP Border Gateway Protocol

6
Global Commands
  • Host Name router 1
  • Enable password martins
  • Enter virtual terminal password martins
  • Configure SNMP Network Management no
  • Configure IP? yes
  • Configure IGRP routing? no
  • Configure RIP routing? yes
  • Configure DECnet? no
  • Configure Novell? no
  • Configure Apollo? no
  • Configure AppleTalk? no

7
Interface Commands
  • Interface Ethernet 0 is the router interface on
    subnet 0.
  • IP address 192.192.192.234
  • bits in subnet field 5
  • Class C network 192.192.192.0
  • Mask 255.255.255.248

8
Interface Commands
  • Interface Ethernet 1 is the router interface on
    subnet 2.
  • IP address 192.192.192.243
  • bits in subnet field 5
  • Class C network 192.192.192.0
  • Mask 255.255.255.248

9
Interface Serial 0
  • Not being used.

10
Interface Serial 1
  • This is the console interface
  • Can be configured from the router main menu

11
Write Memory
  • Global configuration can be saved in non-volatile
    RAM
  • Hostname write memory
  • Hostname write erase

12
Command-Line Configuration
  • Allow specification of more configuration details
  • Open Hyperterminal connection to the console port
    on the router
  • Press Enter and get the prompt router 1gt
  • Press Enter and get the password prompt
  • Get prompt router 1

13
Erasing Non-Volatile RAM
  • It is necessary so that we can start
    configuration with a clean state
  • Type Write Erase at the router 1 prompt
  • Then type configure

14
Global Configuration Commands
  • IP Domain Name raleigh
  • IP Name Server 192.192.192.242

15
Interface Ethernet 0
  • IP address 192.192.192.234
  • Mask 255.255.255.248
  • Encapsulation arpa
  • Arp timeout 1800

16
Encapsulation ARPA
  • Specifies that the router is going to use
    Ethernet II frames
  • The other choice would be ISO1.
  • ISO1 specifies the use of IEEE 802.3 frames.

17
ARP timeout 1800
  • Specifies that the ARP protocol will retain
    Ethernet-IP mappings for 1800 seconds (30 min).
  • The default value is 4 minutes.

18
Ethernet Interface 1
  • Similar to Ethernet Interface 0

19
Configuring Routing Protocols
  • There are two protocols to consider
  • Routing Information Protocol (RIP)
  • Open Shortest Path First Protocol (OSPF)

20
Configuring RIP
  • Use command router rip
  • Subcommand network specifies the attached
    networks to which RIP will send the routing table
  • There are no other routers in this network
  • We specify the address of our class C network.

21
Configuring OSPF
  • Use command router ospf 1

22
Interior Routing Protocols
IRP
OSPF
RIP
OSPF is more efficient than the RIP OSPF sends
the routing tables whenever changes occur. RIP
sends the routing table every 30 seconds.
23
Some definitions .
  • Autonomous Systems (AS)
  • A system under one administration
  • Networks use the same routing protocols
  • Have one or more areas connected
  • Areas are connected by Area Border Routers (ABR)
  • Area border routers use the Border Gateway
    Protocol (BGP)

24
Some definitions
  • A router can be classified as
  • Area border router connect two or more areas
    inside the AS
  • Area boundary router connect to a router in
    another AS

25
Autonomous System (AS)
26
Router ospf 1
Subcommand Network
  • Network 192.192.192.232 0.0.0.1 area
    192.192.192.232
  • area 192.192.192.232 is an area of a AS we are
    making subnet 1 this area
  • Network 192.192.192.232 This router will
    advertise to other routers that it has access to
    addresses in the range 192.192.192.233 to
    192.192.192.239

27
WildCard Mask
  • 0.0.0.1 is a wildcard
  • Similar to an IP maks
  • Meaning The last digit in the last field of the
    IP address can be anything in the allowed device
    addresses.
  • The other decimal digits are fixed.

28
Subcommand Network
Router OSPF 1
  • Network 0 255.255.255.255 Area 0

Area 0 Router
Area
Area
Backbone Area
29
Backbone Area
  • A Backbone area
  • Must be specified for any Autonomous System
  • Is the network that provides the inter-area
    connectivity
  • The router being configured is in the backbone
    area.

30
Backbone Area (Figure)
31
Backbone Area
  • The backbone area contain border routers that
    connect areas to the backbone
  • The router being configured is an Area border
    router.

32
WildCard Parameter
  • 255.255.255.255
  • Means that the router will advertise all devices
    in the backbone area
  • There is only one device in the backbone area
    the router.
  • Therefore, there is nothing to be advertised.

33
Subcommand Network
  • Network 192.192.192.240 0.0.0.1 Area
    192.192.192.240
  • Area 192.192.192.240 This is an area of the
    Autonomous system it corresponds to subnet 2
  • Network 192.192.192.240 0.0.0.1 The router will
    advertise that it has access to addresses in the
    range 192.192.192.241 to 192.192.192.192.249 to
    all other routers

34
Router BGP1
  • Starts the BGP routing process
  • 1 is used to identify this router to BGP routers
    on other AS and tag information sent.

35
Subcommand Network
  • Network 192.192.192.0 advertises that network
    192.192.192.0 is in Autonomous System 1

36
Serial Interface
  • Connect to a Modem
  • Command Interface serial 0
  • See page 141 for more details

37
Figures
38
Figure 5.37
39
Figure 5.38
40
Figure 5.39
41
Figure 5.40
42
(No Transcript)
43
Figure 5.42
44
Figure 5.43
45
Figure 5.44
46
Figure 5.45
47
Figure 5.46
48
Figure 5.47
49
Figure 5.48
50
Figure 5.49
Write a Comment
User Comments (0)
About PowerShow.com