0% found this document useful (0 votes)
104 views4 pages

Router Configuration Guide

The document describes the configuration of two routers, Router 0 (R1) and Router 1. R1 is configured with IP address 192.168.10.1 on interface Fa0/0 and 192.168.30.1 on interface Se0/1/0. Router 1 is configured with IP address 192.168.20.1 on interface Fa0/0 and 192.168.30.2 on interface Se0/1/0. Static routes are added on both routers to route between networks through their connected serial interface.

Uploaded by

Yamina Gh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views4 pages

Router Configuration Guide

The document describes the configuration of two routers, Router 0 (R1) and Router 1. R1 is configured with IP address 192.168.10.1 on interface Fa0/0 and 192.168.30.1 on interface Se0/1/0. Router 1 is configured with IP address 192.168.20.1 on interface Fa0/0 and 192.168.30.2 on interface Se0/1/0. Static routes are added on both routers to route between networks through their connected serial interface.

Uploaded by

Yamina Gh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

TP2 : Configuration de deux Routeurs

Configuration Routeur 0
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R1(config-if)#
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#en
R1#exit

R1 con0 is now available


Press RETURN to get started.
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int serial0/1/0
R1(config-if)#ip address 192.168.30.1 255.255.255.0
R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down


R1(config-if)#
R1#
%SYS-5-CONFIG_I: Configured from console by console
Configuration Routeur 1 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 192.168
^
% Invalid input detected at '^' marker.
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#exit
Router con0 is now available
Press RETURN to get started.
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int serial0/1/0
Router(config-if)#ip address 192.168.30.2 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up

Router#
%SYS-5-CONFIG_I: Configured from console by console

Configuration entre deux réseaux


Routeur0 :
R1#en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int serial0/1/0
R1(config-if)#^Z
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip ?
access-list Named access-list
cef Cisco Express Forwarding
default-gateway Specify default gateway (if not routing IP)
default-network Flags networks as candidates for default routes
dhcp Configure DHCP server and relay parameters
domain IP DNS Resolver
domain-lookup Enable IP Domain Name System hostname translation
domain-name Define the default domain name
flow-export Specify host/port to send flow statistics
forward-protocol Controls forwarding of physical and directed IP broadcasts
ftp FTP configuration commands
host Add an entry to the ip hostname table
inspect Context-based Access Control Engine
ips Intrusion Prevention System
local Specify local options
name-server Specify address of name server to use
nat NAT configuration commands
route Establish static routes
routing Enable IP routing
ssh Configure ssh options
tcp Global TCP parameters
R1(config)#ip route 0.0.0.0 0.0.0.0 se0/1/0
R1(config)#
Routeur1 :
Router#en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 0.0.0.0 0.0.0.0 se0/1/0
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#

You might also like