Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

cisco 877 add ip address fe1

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

1 REPLY
New Member

Re: cisco 877 add ip address fe1

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.

3443
Views
5
Helpful
1
Replies