Solved

How to configure these on Cisco Router 881?

Posted on 2013-12-11
8
1,541 Views
Last Modified: 2013-12-17
I want to setup this router as an Internet router for the following objectives:

   1. There are 2 interfaces - VLAN1 for internal network, and FE4 as WAN interface for Internet line. I have subscribed a Internet line with the ISP on dynamic IP plan. What I have to configure on the WAN interface is just set it to DHCP, and all ip addressing will be allocated. These include, IP assigned to the WAN interface, subnet mask, default gateway, dns server ips, etc.

      How should set these settings on the FastEthernet4 interface? How about the default gateway? Shall I point it to the FE4 or else?

   2. I also need to setup this router as a DHCP server for my network - 192.168.100.0/24. There are few IPs have been assigned to few servers, and no-changeable. These IPs are,
.100.5, .100.25, .100.144, .100.188; how can I exclude these IPs on my router, suppose my DHCP pool is ranging - .100.51 - .100.200?


thanks in advance.
0
Comment
Question by:MichaelBalack
  • 4
  • 3
8 Comments
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39711448
I nearly forget, how to set the NAT on this router?
0
 
LVL 22

Assisted Solution

by:Matt V
Matt V earned 100 total points
ID: 39714804
DHCP Pool:

ip dhcp pool DHCPPOOL
  network 192.168.100.0 255.255.255.0
  default-router 192.168.100.1 (this is your LAN IP of router)
  dns-server x.x.x.x x.x.x.x (specify DNS server here)
 
Allow DCHP to set the default route, specifying the interface does not always work.
0
 
LVL 22

Accepted Solution

by:
Jody Lemoine earned 400 total points
ID: 39715028
mattmvotas has covered the basics of your DHCP pool for your VLAN1 clients, but you still need to restrict the pool. Cisco routers assume that they can assign the entire subnet, so to set your pool you need to tell the router what range to exclude. Use the following for a pool of 192.168.51-200.

ip dhcp excluded-address 192.168.100.1 192.168.100.50
ip dhcp excluded-address 192.168.100.201 192.168.100.254

To exclude the individual hosts with static IPv4 addresses, a simplified version of the same command it used. You don't actually need to exclude the first two of these because they're already covered by the ranges used to restrict your DHCP pool.

ip dhcp excluded-address 192.168.100.5
ip dhcp excluded-address 192.168.100.25
ip dhcp excluded-address 192.168.100.144
ip dhcp excluded-address 192.168.100.188

For the WAN interface on FastEthernet4, go with this. The "ip dhcp client request" line is actually a default, but I'm including it to illustrate what's going on.

interface FastEthernet4
 ip address dhcp
 ip dhcp client request router dns-nameserver
 ip dhcp client default-router distance 1
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39715649
Hi mattvmotas and jodylemoine,

How about the nat? for vlan1 and fa4?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 22

Expert Comment

by:Jody Lemoine
ID: 39715653
That's fairly straight-forward.

object-group network og-rfc1918
 10.0.0.0 /8
 172.16.0.0 /12
 192.168.0.0 /16
!
ip access-list extended acl-nat
 permit ip object-group og-rfc1918 any
!
ip nat inside source list acl-nat interface FastEthernet4 overload
!
interface Vlan1
 ip nat inside
!
interface FastEthernet4
 ip nat outside
0
 
LVL 1

Author Comment

by:MichaelBalack
ID: 39715658
Hi jodylemoine,

Thanks for the speedy reply.

Then for the default gateway, is this command: ip route 0.0.0.0 0.0.0.0 interface fastethernet4
works?
0
 
LVL 22

Expert Comment

by:Jody Lemoine
ID: 39715664
If you want to define your default gateway manually, "ip route 0.0.0.0 0.0.0.0 dhcp" will do the trick, but if you're getting the default gateway from DHCP, it shouldn't be needed. I would set up your DHCP connection and do a "show ip route" to see if it has installed the route for you before adding it manually. If you already have a 0.0.0.0/0 route, you don't need to add one.
0
 
LVL 1

Author Closing Comment

by:MichaelBalack
ID: 39725640
Excellence, it works like a charm
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now