The C1111-8p has 2 WAN ports and 8 switch ports. I am trying to set up the WAN port to an optical fiber modem, the ISP provided:

  • IP address
  • Mask
  • Gateway
  • DNS1 and DN2

I need to set up the port GE 0/0/0 as WAN port. I couldn't find anything in the manual, it's the first time I setup a Cisco router.

interface gig 0/0/0
ip address NOT_LOCAL_IP
  • How to setup the gateway?

More widely, the router will be connected to a single Cisco wifi AP through a single RJ45 Ethernet trunk port in one of the 8 LAN switch ports present in the router. The wifi AP needs to support 2 VLANs with 2 SSIDs. (1 VLAN = 1 SSID


1 Answer 1


You are on the correct path. The IP information is set on the interface, as you have already started. The default gateway should be the default route on the router. The DNS is set on the host.

interface GigabitEthernet0/0/0
 ip address YOUR_ISP_IP_ADD


Now the router should be able to access the internet. You will have to setup a few other things for hosts to access the internet, like private IP subnet, VLAN, maybe NAT and DHCP etc.

You can test the connection via the router CLI:

ping source gi0/0/0

  • 1
    I definitely have to add 2 LAN subnets, 2 VLANs, a NAT (if I want both VLANs access the Internet) and DHCP if I want my computers connected through wifi to have an IP address. Thanks!
    – None
    Apr 24, 2019 at 6:39
  • I will have 2 VLANs with two different subnets in the router, will ip route ISPGW be a problem? includes the internal local subnets.`
    – None
    Apr 25, 2019 at 4:34
  • @Alexis_FR_JP if both subnets need internet, then yes, the default route will allow that for both.
    – Cow
    Apr 25, 2019 at 5:43
  • Thank you, do you know how to provide DNS to hosts connected? I used ip name-server DNS1 DNS2, I can ping a domain name from the router but not from the local network.
    – None
    Apr 25, 2019 at 6:04
  • @Alexis_FR_JP do you mean DNS for the router itself? Then yes, you need to use ip name-server DNS1 DNS2. For your hosts, you need to add the DNS servers to your DHCP scope, example: ip dhcp pool YOUR_DHCP_SCOPE_NAME then dns-server DNS1 DNS2
    – Cow
    Apr 25, 2019 at 6:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.