IPaddresses may not be configured on L2 links
Romain2525
Messages postés
17
Date d'inscription
Statut
Membre
Dernière intervention
-
Romain2525 Messages postés 17 Date d'inscription Statut Membre Dernière intervention -
Romain2525 Messages postés 17 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je dispose d'un routeur cisco 878 que je n'arrive pas à configurer. Il m'a été donné formaté, donc il n'y a rien dessus.
Voilà le problème que j'ai quand j'essaye de configurer une carte réseau.
Router(config)#interface FastEthernet 1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
% IP addresses may not be configured on L2 links.
On m'a donc dit de passer par le vlan.
Le problème est que pour le faire je dois ajouter des vlans à la database.
Or la database ne peut avoir maximum qu'un seul vlan.
Et quand j'essaye d'ajouter un vlan à la database voilà ce que j'ai :
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre6.jpg
Et voilà la configuration finale que j'ai sur les interfaces :
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre8.jpg
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre5.jpg
Et je ne peut toujours pas configurer mes cartes réseaux ethernet 0, 1 2 ou 3. J'ai toujours le même message IPaddresses may not be configured on L2 links.
J'ai essayé via une configuration graphique depuis un navigateur web mais à partir d'une certaine étape j'ai beau cliquer sur suivant rien ne se passe. Pas de messages d'erreurs, pas de plantages, simplement ça clique dans le vide.
J'ai ouvert un autre sujet avec beaucoup de captures d'écrans à cette adresse :
https://openclassrooms.com/forum/sujet/probleme-routeur-cisco-configurer-une-carte-reseau
Merci d'avance à ceux qui pourront m'aider.
Cordialement.
Je dispose d'un routeur cisco 878 que je n'arrive pas à configurer. Il m'a été donné formaté, donc il n'y a rien dessus.
Voilà le problème que j'ai quand j'essaye de configurer une carte réseau.
Router(config)#interface FastEthernet 1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
% IP addresses may not be configured on L2 links.
On m'a donc dit de passer par le vlan.
Le problème est que pour le faire je dois ajouter des vlans à la database.
Or la database ne peut avoir maximum qu'un seul vlan.
Et quand j'essaye d'ajouter un vlan à la database voilà ce que j'ai :
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre6.jpg
Et voilà la configuration finale que j'ai sur les interfaces :
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre8.jpg
http://image.noelshack.com/fichiers/2014/16/1397828607-sans-titre5.jpg
Et je ne peut toujours pas configurer mes cartes réseaux ethernet 0, 1 2 ou 3. J'ai toujours le même message IPaddresses may not be configured on L2 links.
J'ai essayé via une configuration graphique depuis un navigateur web mais à partir d'une certaine étape j'ai beau cliquer sur suivant rien ne se passe. Pas de messages d'erreurs, pas de plantages, simplement ça clique dans le vide.
J'ai ouvert un autre sujet avec beaucoup de captures d'écrans à cette adresse :
https://openclassrooms.com/forum/sujet/probleme-routeur-cisco-configurer-une-carte-reseau
Merci d'avance à ceux qui pourront m'aider.
Cordialement.
A voir également:
- % Ip addresses may not be configured on l2 links.
- Ethernet n'a pas de configuration ip valide - Guide
- Télévision ip - Guide
- Comment connaître son adresse ip - Guide
- Ip local - Guide
- Signal cable not connected ✓ - Forum Ecran
3 réponses
Bonjour
Sur cette gamme de routeurs, on ne peut pas configurer directement une adresse sur un port fastethernet.
En fait , les FA0-FA03 c'est comme un switch .
IL faut creer des vlans, assigner une adresse au vlan , et assigner le port au vlan .
voir exemples ici
Sur cette gamme de routeurs, on ne peut pas configurer directement une adresse sur un port fastethernet.
En fait , les FA0-FA03 c'est comme un switch .
IL faut creer des vlans, assigner une adresse au vlan , et assigner le port au vlan .
voir exemples ici
Quel IOS est utilisé ?
Il faut Advanced IP Services pour supporter les multiple VLANs .
Advanced Security ne les supporte pas ...
Il faut Advanced IP Services pour supporter les multiple VLANs .
Advanced Security ne les supporte pas ...
Comment je peux faire pour le savoir ? C'est un cisco 878.
Quand je fais un show configure j'ai ça (je ne sais pas si ça t'aide):
routeur2#show configuration
Using 3060 out of 131072 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname routeur2
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool sdm-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
!
no ip domain lookup
ip domain name yourdomain.com
!
!
crypto pki trustpoint TP-self-signed-319006384
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-319006384
revocation-check none
rsakeypair TP-self-signed-319006384
!
!
crypto pki certificate chain TP-self-signed-319006384
certificate self-signed 01 nvram:IOS-Self-Sig#3401.cer
username cisco privilege 15 secret 5 $1$HyHw$/olHc8OFKMAm4IK8PPXZC/
!
!
controller DSL 0
line-term cpe
!
!
crypto isakmp policy 100
encr aes
group 2
crypto isakmp key VpnK3! address 10.10.10.1
!
!
crypto ipsec transform-set IPSECSET esp-aes esp-sha-hmac
!
crypto map IPSECMAP 100 ipsec-isakmp
set peer 10.10.10.1
set transform-set IPSECSET
match address CRYPTOACL
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address 10.10.10.2 255.0.0.0
ip access-group IPSECACL out
ip tcp adjust-mss 1452
crypto map IPSECMAP
!
ip classless
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip access-list extended CRYPTOACL
permit ip 10.10.10.0 0.0.0.255 10.10.10.0 0.0.0.255
ip access-list extended IPSECACL
permit ahp host 10.10.10.2 host 10.10.10.1
permit esp host 10.10.10.2 host 10.10.10.1
permit udp host 10.10.10.2 host 10.10.10.1 eq isakmp
!
access-list 23 permit 10.10.10.0 0.0.0.7
no cdp run
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege level of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to https://www.cisco.com/c/en/us/products/cloud-systems-management/managed-services-accelerator/index.html
-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
speed 115200
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
end
Quand je fais un show configure j'ai ça (je ne sais pas si ça t'aide):
routeur2#show configuration
Using 3060 out of 131072 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname routeur2
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool sdm-pool
import all
network 10.10.10.0 255.255.255.248
default-router 10.10.10.1
lease 0 2
!
!
no ip domain lookup
ip domain name yourdomain.com
!
!
crypto pki trustpoint TP-self-signed-319006384
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-319006384
revocation-check none
rsakeypair TP-self-signed-319006384
!
!
crypto pki certificate chain TP-self-signed-319006384
certificate self-signed 01 nvram:IOS-Self-Sig#3401.cer
username cisco privilege 15 secret 5 $1$HyHw$/olHc8OFKMAm4IK8PPXZC/
!
!
controller DSL 0
line-term cpe
!
!
crypto isakmp policy 100
encr aes
group 2
crypto isakmp key VpnK3! address 10.10.10.1
!
!
crypto ipsec transform-set IPSECSET esp-aes esp-sha-hmac
!
crypto map IPSECMAP 100 ipsec-isakmp
set peer 10.10.10.1
set transform-set IPSECSET
match address CRYPTOACL
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$
ip address 10.10.10.2 255.0.0.0
ip access-group IPSECACL out
ip tcp adjust-mss 1452
crypto map IPSECMAP
!
ip classless
!
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
ip access-list extended CRYPTOACL
permit ip 10.10.10.0 0.0.0.255 10.10.10.0 0.0.0.255
ip access-list extended IPSECACL
permit ahp host 10.10.10.2 host 10.10.10.1
permit esp host 10.10.10.2 host 10.10.10.1
permit udp host 10.10.10.2 host 10.10.10.1 eq isakmp
!
access-list 23 permit 10.10.10.0 0.0.0.7
no cdp run
!
control-plane
!
banner login ^C
-----------------------------------------------------------------------
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username "cisco"
with the password "cisco". The default username and password have a privilege level of 15.
Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want to use.
For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to https://www.cisco.com/c/en/us/products/cloud-systems-management/managed-services-accelerator/index.html
-----------------------------------------------------------------------
^C
!
line con 0
login local
no modem enable
speed 115200
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
end
Oui je viens de trouver de moi même ;) . Voilà :
routeur2#sh ver
Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(4)T7, RELEASE SOFTWARE (fc1)
Technical Support: https://www.cisco.com/c/en/us/support/index.html
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 29-Nov-06 00:43 by kellythw
ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
routeur2 uptime is 2 hours, 23 minutes
System returned to ROM by power-on
System image file is "flash:c870-advsecurityk9-mz.124-4.T7.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
https://pepd.cloudapps.cisco.com/legal/export/pepd/Search.do
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco 878 (MPC8272) processor (revision 0x200) with 118784K/12288K bytes of memory.
Processor board ID FCZ113311H1
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ISDN Basic Rate interface
128K bytes of non-volatile configuration memory.
24576K bytes of processor board System flash (Intel Strataflash)
Configuration register is 0x3922
routeur2#sh ver
Cisco IOS Software, C870 Software (C870-ADVSECURITYK9-M), Version 12.4(4)T7, RELEASE SOFTWARE (fc1)
Technical Support: https://www.cisco.com/c/en/us/support/index.html
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Wed 29-Nov-06 00:43 by kellythw
ROM: System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
routeur2 uptime is 2 hours, 23 minutes
System returned to ROM by power-on
System image file is "flash:c870-advsecurityk9-mz.124-4.T7.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
https://pepd.cloudapps.cisco.com/legal/export/pepd/Search.do
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco 878 (MPC8272) processor (revision 0x200) with 118784K/12288K bytes of memory.
Processor board ID FCZ113311H1
MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
4 FastEthernet interfaces
1 ISDN Basic Rate interface
128K bytes of non-volatile configuration memory.
24576K bytes of processor board System flash (Intel Strataflash)
Configuration register is 0x3922
C'est bien ce qu'il me semblait. Un professionnel m'a fait téléchargé ça et m'a dit de procéder à la mise à jour. Seulement je ne parvient pas à faire passer ce fichier de mon pc vers le routeur. J'ai essayé via FTP mais sans succès. Et c'est assez complexe pour moi n'ayant jamais fait de cisco de ma vie.
Merci de ton aide en tout cas, je sais au moins dans quelle direction je dois aller.
Merci de ton aide en tout cas, je sais au moins dans quelle direction je dois aller.
https://openclassrooms.com/forum/sujet/probleme-routeur-cisco-configurer-une-carte-reseau
routeur2#
routeur2#sh
routeur2#show ip
routeur2#show ip inter
routeur2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0 unassigned YES unset up down
FastEthernet1 unassigned YES unset up down
FastEthernet2 unassigned YES unset up down
FastEthernet3 unassigned YES unset up down
BRI0 unassigned YES NVRAM administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
Vlan1 10.10.10.2 YES NVRAM up down
routeur2#conf t
routeur2#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
routeur2(config)#inter
routeur2(config)#interface fa
routeur2(config)#interface fastEthernet 0
routeur2(config-if)#ip
routeur2(config-if)#ip add
routeur2(config-if)#ip address 192.168.1.1 255.255.255.0
% IP addresses may not be configured on L2 links.
routeur2(config-if)#exit
routeur2(config)#vlan 2
^
% Invalid input detected at '^' marker.
routeur2(config)#exit
routeur2#vla
*Mar 1 00:15:42.243: %SYS-5-CONFIG_I: Configured from console by cisco on consolen
routeur2#vlan dat
routeur2#vlan database
routeur2(vlan)#vlan
routeur2(vlan)#vlan 2
Vlan can not be added. Maximum number of 1 vlan(s) in the database.
routeur2(vlan)#exit
APPLY completed.
Exiting....
routeur2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
routeur2(config)#conf t
routeur2(config)#conf t
^
% Invalid input detected at '^' marker.
routeur2(config)#inter
routeur2(config)#interface fa
routeur2(config)#interface fastEthernet 0
routeur2(config-if)#sw
routeur2(config-if)#switchport acce
routeur2(config-if)#switchport access vlan
routeur2(config-if)#switchport access vlan 1
routeur2(config-if)#exit
routeur2(config)#exit
routeur2#
*Mar 1 00:16:17.155: %SYS-5-CONFIG_I: Configured from console by cisco on consolesh
routeur2#show ip
routeur2#show ip inter
routeur2#show ip interface breif
routeur2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0 unassigned YES unset up down
FastEthernet1 unassigned YES unset up down
FastEthernet2 unassigned YES unset up down
FastEthernet3 unassigned YES unset up down
BRI0 unassigned YES NVRAM administratively down down
BRI0:1 unassigned YES unset administratively down down
BRI0:2 unassigned YES unset administratively down down
Vlan1 10.10.10.2 YES NVRAM up down
routeur2#trololo