cisco 877 add ip address fe1

Unanswered Question
Sep 22nd, 2010

Hi all!

I have a 877 cisco router.

I want to put 2 ip addresses on this router.

This addresses are in different networks and differents vlan untagged.

I want to use port fastethernet0 and fastethernet1 to connect the router to another switch router.

My switch did vlan by port.

I use switchport access for the first vlan and I can put the IP on the FE0.
But when I try to put the second vlan and second IP I can't add a new vlan because the router is blocked for 2 vlan and first vlan is not deletable.

When I try to put directly the ip to interface I issue an error message.

How can I put 2 ip from diffrents network on my router (on two differents physical ports) in order to communicate with my other switch router?

Thanks

Alex

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Kostas Kyriakos Sun, 09/26/2010 - 08:29

Hello.

The 4 FastEthernet ports you see at the back of your Cisco 877 are not L3 ports. In other words you cannot configure an IP address directly on them. You have to use VLANs for that matter. Use the following as a recommendation because it is not very clear what you are trying to achieve:

View Configured VLANs:

Router#show vlan-switch

Add VLAN:

Router#vlan database

Router(vlan)#vlan 2 name FIRST-TWO-SWITCHPORTS

Router(vlan)#vlan 3 name LAST-TWO-SWITCHPORTS

Router(vlan)#exit

Remove VLAN:

Router#vlan database

Router(vlan)#no vlan 2

Router(vlan)#exit

Assign Switchport(s) to Existing VLAN:

Interface FastEthernet0/0

switchport access vlan 2

Interface FastEthernet0/1

switchport access vlan 2

Interface FastEthernet0/2

switchport access vlan 3

Interface FastEthernet0/3

switchport access vlan 3

Assign IP address to VLAN:

Interface Vlan2

ip address 1.1.1.1 255.255.255.0

Hope this helps.

Actions

This Discussion