2013年7月3日星期三

Configuring cisco 861 router for internet usinf static ip address


Question:

I am having a cisco 861 WS-C3750X-24S-S Price series router.
The Cable from the isp was connected to fastethernet4(wan port)

Following are my isp details
IP address:172.16.62.130
subnet:255.255.0.0
default gate way:172.16.62.1
dns primary:202.153.32.2
secondary:202.153.32.3

How do i configure this details in the router and access the internet in my devices.

i want the network to be in 192.168.1.0 to 254.

plz let me know how do i configure my router with this details using cisco configuration professional


Answer:

I haven't seen cisco configuration professional but since its gui based I'm sure you could find your way around or go through a setup procedure? Here is a tutorial i found which may help - the wizard should be able to take you through the whole setup.

http://www.cisco.com/en/US/products/ps9422/products_configuration_example09186a0080b2f103.shtml

Anyway - just incase you are interested in CLI...
There might be a couple of things you have missed here, like DHCP for your LAN and NAT for outbound traffic. So I will assume you need this in the configuration below

If this is a static address assigned by your ISP then you can do this:

ip name-server 202.153.32.2
ip name-server 202.153.32.3
!
interface fa4
ip address 172.16.26.130 255.255.0.0
no shut
!
ip route 0.0.0.0 0.0.0.0 172.16.62.1

If you want to configure your LAN for example on fa1 you can do this:

interface fa1
ip address 192.168.1.1 255.255.255.0
no shut

To configure DHCP for your clients to connect you can do this:

ip dhcp pool INSIDE
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 202.153.32.2 202.153.32.3

To configure NAT using PAT (port address translation you can do this)

access-list 1 permit 192.168.1.0 0.0.0.255
!
ip nat inside source list 1 interface fa4 overload
!
interface fa1
description INSIDE
ip nat inside
!
interface fa4
description OUTSIDE
ip nat WS-C3750X-12S-S  outside

没有评论:

发表评论