Question : Configuring Router (3725) IOS 12.3(0-8)T Adv IP

I am physically at the datacenter trying to configure this new
3725.

We have an ip range off a Class A with a /24 giving us 254 usable
addresses. The router has two FastE ports and I am using 0/0 to connect
to our ISP.

The router is up and communicating fine with the outside world.
The issue I am having right now is getting the 2 x 16port Network Modules
setup (NM-16-ESW= w/1Gig Ports)

The modules are all up and enabled, and I am showing all interfaces up.
I've configured a VLAN with 192.168.2.1 w/Subnet 255.255.255.0. IP Routing is enabled in RIP mode
and I have all the appropriate network entries.

When I plug in and configure two seperate hosts they are able to communicate with
one another, but for whatever reason they aren't seeing the outside world (as in google.com or thhe VLAN IP for that matter.
192.168.2.2 w/Subnet 255.255.255.0 w/Default Gateway 192.168.2.1 (the VLAN)
192.168.2.3 w/Subnet 255.255.255.0 w/Default Gateway 192.168.2.1 (the VLAN)

Now when I do a "show vlans" command I get the following:
No Virtual LANs configured.

What I am really going after here is sharing our connection via the FastE connection, while assigning public IP's to each host (well most hosts :)). But I'll settle for all right now. I'll need to be able to throttle the bandwidth to each port.

Any and all help is appreciated.

Answer : Configuring Router (3725) IOS 12.3(0-8)T Adv IP

On a Cisco router you have to designate NAT "inside" and NAT "outside" interfaces:
 
  interface vlan1
    ip address 192.168.1.1 255.255.255.0
    ip nat inside
  interface vlan 2
    ip address 192.168.2.1 255.255.255.0
    ip nat inside
  interface fast 0/0
    ip nat outside

!-- then set up the rules to permit NAT
!-- two choices - use a NAT pool of IP's or use a single PAT
!-- in this example, I'll use a NAT pool of your public IP's

  ip nat pool POOL1 prefix-length 24
 
!-- create a rule to identify traffic that needs to be natt'ed as it passes from "inside" interface through the "outside" interface
!-- then apply the rule to use POOL1

  access-list 1 permit 192.168.1.0 0.0.0.255
  access-list 1 permit 192.168.2.0 0.0.0.255
  ip nat inside source list 1 pool POOL1

!-- You must also have a default route on your router. If you don't have other routers behind this one, then you don't need RIP or any other dynamic routing protocol running.
!-- since you are using an Ethernet interface as the gateway, it is best practice to specify the ip address of the next hop

    ip route 0.0.0.0 0.0.0.0

!-- DONE!
Random Solutions  
 
programming4us programming4us