Routeur cisco

?bestman? Messages postés 1 Statut Membre -  
geeegeee Messages postés 156 Statut Membre -
Bonjour,

quand je veut configurer une adresse ip sur une interface du routeur ce message me montre

% IP addresses may not be configured on L2 links.

1 réponse

geeegeee Messages postés 156 Statut Membre 10
 
Bonjour,

cela est sur le web en esperant que cela aide:

http://blog.sefic.name/2011/02/26/how-to-resolve-ip-addresses-may-not-be-configured-on-l2-links-issue-on-cisco-800-series-routers/

Cisco 800 series routers are not best documented items on Cisco web site, so it took me couple of hours to find out that even though the router contains 4 port switch, you MUST assign IP address tot he default VLAN 1 and then assign desired port(s) to the default VLAN. What is then point of having other 3 ports? Apparently, no one knows.

Anyway to configure IP address for the VLAN 1 do the following:

router>en
router# conf t
router#(config)interface vlan 1
router#(config-if) ip address 10.10.10.254 255.0.0.0
router#(config-if) no shutdown

Remember that you can assign IP address directly only to a Ethernet WAN port. Connect your network cable to the first port on the switch (FE0) and continue configuring your router using CLI or SDM.

I also found people trying this command: no switchport
on the interface to put it into a layer 3 mode.

https://www.tek-tips.com/viewthread.cfm?qid=1679939
0