Está en la página 1de 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#

También podría gustarte