01-04-2023 08:11 AM
Hello, I'm new in cisco router configurations. I have Cisco 887VA model router i'm trying to add ip address on ports but it is showing that % IP addresses may not be configured on L2 links. I'm also trying to convert ports in L3 but when in use no switchport it's coming like '' % Incomplete command'' is there any way to add ip address on ports. i want to do nating outside and inside.
Thanks in advance.
Solved! Go to Solution.
01-05-2023 02:27 AM - edited 01-05-2023 02:29 AM
thank you georg now it's working i understand but you helped me to do this. but now i've one more counfusion i've mad two vlans
vlan 10: 192.168.100.1
vlan 20: 192.168.1.1
Thing is that when i ping from vlan 10 to 20 it's pinging but i've not performed ip routing command in router then how different subnets are pinging.
01-04-2023 08:14 AM - edited 01-04-2023 08:18 AM
as i remember only 2 ports on that router act as WAN / Layer3 ports 0 or 1 as i remmeber
you can do below way if you looking to use that ports
vlan 10
!
interface fas 0
switchport access vlan 10
no shut
interface vlan 10
ip address x.x.x.x 25.25.255.X
no shutdown
still have issue post below interface from router:
show version
show ip interface brief
show run
below guide help you :
01-04-2023 11:08 PM - edited 01-05-2023 02:58 AM
Hi i.ve tried but not working. below are details.
Router>show version
Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.1(4)M5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Tue 04-Sep-12 21:03 by prod_rel_team
ROM: System Bootstrap, Version 12.4(22r)YB5, RELEASE SOFTWARE (fc1)
Router uptime is 28 minutes
System returned to ROM by power-on
System restarted at 06:28:45 UTC Wed Feb 6 2036
System image file is "flash:c880data-universalk9-mz.151-4.M5.bin"
Last reload type: Normal Reload
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:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco 887VA (MPC8300) processor (revision 1.0) with 236544K/25600K bytes of memory.
Processor board ID.....
1 DSL controller
1 Ethernet interface
4 FastEthernet interfaces
1 ATM interface
1 Virtual Private Network (VPN) Module
256K bytes of non-volatile configuration memory.
125440K bytes of ATA CompactFlash (Read/Write)
License Info:
License UDI:
-------------------------------------------------
License Information for 'c880-data'
License Level: advsecurity Type: Permanent
Next reboot license Level: advsecurity
Configuration register is 0x2102
Show IP int bri
Router>show ip int bri
Interface IP-Address OK? Method Status Protocol
ATM0 unassigned YES unset administratively down down
Ethernet0 unassigned YES unset administratively down down
FastEthernet0 unassigned YES unset down down
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
Vlan1 unassigned YES unset down down
Router>
show run
Router#show run
Building configuration...
Current configuration : 958 bytes
!
! Last configuration change at 06:56:44 UTC Wed Feb 6 2036
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
!
!
ip source-route
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
interface Ethernet0
no ip address
shutdown
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input all
!
end
01-04-2023 11:39 PM
Hello,
what have you tried ? What does not work ? Post the command sequence you are entering and the resulting error message.
01-04-2023 11:59 PM - edited 01-05-2023 12:02 AM
Hi gerog, firstly don't get angry i'm just a beginner.
int
CiscoR1(config)#interface f
CiscoR1(config)#interface fastEthernet 0
CiscoR1(config-if)#ip add
CiscoR1(config-if)#ip address 192.168.1.2 255.255.255.0
% IP addresses may not be configured on L2 links.
01-05-2023 12:24 AM
Hello,
the 4 FastEthernet interfaces are layer 2 only. Does this work ?
CiscoR1(config)#interface fastEthernet 0
CiscoR1(config-if)#switchport access vlan 10
CiscoR1(config-if)#exit
CiscoR1(config)#interface Vlan 10
CiscoR1(config-if)#ip address 192.168.10.1 255.255.255.0
01-05-2023 12:34 AM
yes this is working but only with one interface i want to assign ip to 2 interface apart from that is this compulsory to make vlan? is there no any other way to assign ip to ports?
01-05-2023 01:29 AM
Hello,
what do you mean by 'it works only with one interface' ? It is difficult to follow what you are doing...post a screenshot of the command sequence you are entering...
01-05-2023 01:46 AM - edited 01-05-2023 01:49 AM
Router(config)#interface vl
Router(config)#interface vlan 10
Router(config-if)#ip add
Router(config-if)#ip address
Feb 6 09:33:34.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed stanterface vlan 10
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#ip na
Router(config-if)#ip nat ou
Router(config-if)#ip nat outside
Feb 6 09:34:04.323: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
Router(config-if)#no n
Interface IP-Address OK? Method Status Protocol
ATM0 unassigned YES unset administratively down down
Ethernet0 unassigned YES unset administratively down down
FastEthernet0 unassigned YES unset down down
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
NVI0 unassigned NO unset up up
Vlan1 unassigned YES unset down down
Vlan10 192.168.1.2 YES manual down down
Router(config)#int
Router(config)#interface f
Router(config)#interface fastEthernet 1
Router(config-if)#s
Router(config-if)#sw
Router(config-if)#switchport mo
Router(config-if)#switchport mode a
Router(config-if)#switchport mode access
Router(config-if)#sw
Router(config-if)#switchport a
Router(config-if)#switchport access vl
Router(config-if)#switchport access vlan 20
Router(config-if)#exit
Router(config)#int
Router(config)#interface vl
Router(config)#interface vlan 20
Router(config-if)#ip add
Router(config-if)#ip address 192
Feb 6 09:35:06.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed
Router(config-if)#ip address 192.168.100.1 255.255.255.0
Router(config-if)#ip na
Router(config-if)#ip nat in
Router(config-if)#ip nat inside
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#exit
01-05-2023 01:48 AM
Hello,
you get no errors, you are typing the correct commands. Where is the problem, what do you want to accomplish ?
01-05-2023 02:27 AM - edited 01-05-2023 02:29 AM
thank you georg now it's working i understand but you helped me to do this. but now i've one more counfusion i've mad two vlans
vlan 10: 192.168.100.1
vlan 20: 192.168.1.1
Thing is that when i ping from vlan 10 to 20 it's pinging but i've not performed ip routing command in router then how different subnets are pinging.
01-05-2023 02:39 AM
Hello,
you got it ! It is working...
IP routing is enabled by default, if it is disabled, you would see 'no ip routing' in the running configuration. You won't see 'ip routing'...which means it is enabled.
01-05-2023 02:50 AM
Georg you helped me. thank you. I've one more thing to ask what is VDSL and atm0, i not understand this what's this work.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide