• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3359
  • Last Modified:

Configure Switch Port as WAN port Cisco 877

I have a business internet connection terminating at an ADSL NTU onsite installed for a client - the unit is fully managed without NAT or firewalling and we need to plug a Cisco 877 into it to route traffic to the rest of the internal small business network. We have from the ISP the static IP of the service (119.225.221.x), subnet (, gateway ( and DNS servers

I'd like to configure the eth0 port to assign itself the service public IP address (while plugged into the Optus NTU) and then do NAT, DHCP, DNS to the rest of the network as usual on the other three ports.

Essentially what I am trying to do is to setup a Cisco 877 ADSL router as a Cisco 871 Ethernet based router. (i.e. not using the ADSL port, and using one of the switch ports as a WAN port)

My Cisco skills aren't quite up to the task... I'm sure this is a simple one.

I've tried setting up an additional VLAN and configuring the eth0 port with the static IP (through the SDM wizard) but I'm getting an error saying the unit has reached it's maximum number of VLANs (I thought these supported 4). I believe this is a limitation of the SDM version I am using

Anyone able to help with some config code I can put into the config for the interface?
  • 2
1 Solution
Jody LemoineNetwork ArchitectCommented:
This is actually pretty easy as long as you only need basic configuration.  The 877's switch ports can't be configured as layer 3 interfaces, so we need to use a VLAN for this.  Start by creating a VLAN at the command line (SDM/CCP is a sure way to create a bad configuration) and see if that works:

Router#configure terminal
Router(config)#vlan 1000
Router(config-vlan)#name WAN

Then you disable spanning tree on that VLAN because ISPs sometimes take issue with that sort of thing.

Router(config-vlan)#no spanning-tree vlan 1000

Then you assign the VLAN to FastEthernet0:

Router(config)#interface FastEthernet0
Router(config-if)#switchport access vlan 1000
Router(config-if)#switchport mode access
Router(config-if)#no cdp enable

From this point on, you can treat VLAN1000 as your WAN interface and configure the unit normally.
Jody LemoineNetwork ArchitectCommented:
If you're still using SDM and need some more functionality, consider downloading the Cisco Configuration Professional (which is the replacement for SDM) from Cisco's web site.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now