One network per port on a cisco catalyst

Hi,
I'm trying to create 1 network per port on the cisco catalyst.
I would like 1 port to be the 10.0.0.1 /8 network
Another port being 192.168.1.1 /24 network
And another port being an actual external class C network we own.
Each port is connected to a Layer 2 HP Switch (so 3 switches minimum).

The Catalyst is connecting to a Cisco 2800 series router that goes out to the internet.
My problem right now is configuring the catalyst, how should these ports be configured, everytime I put a port in routed mode i can't seem to connect outside the switch.

Any ideas would be great, actual commands would be even more helpful :)
Thanks again
Should I be using VLANS for this?


Should I be using Vla
ntmyfltAsked:
Who is Participating?
 
r0ssc0Connect With a Mentor Commented:
On the switch will do, enable routing, assign ip to each interface, add a default route. I am assuming that the  2800 is on the 10.0.0.0/8 network and its address is 10.0.0.254 then the config will look like below.  If you situation dramatically different then repost

ip routing
ip route 0.0.0.0 0.0.0.0 10.0.0.254

interface FastEthernet0/1
no switchport
ip address 10.0.0.1 255.0.0.0


interface FastEthernet0/2
no switchport
ip address 192.168.1.1 255.255.255.0

Interface FastEthernet0/3
no switchport
description Class C Network
ip address x.x.x.x 255.255.255.0



0
 
benhansonCommented:
I would.  As long as you don't foresee saturating the 100mbit port on the 2800, set it up with 3 subinterfaces, trunk the connectino from the 2800 to the Catalyst, trunk the interconnects between switches and define ports as VLAN access ports on whatever VLAN you want them to be.  Thats just me though, I'd rather have the router do the routing as it affords more flexibility in that realm.

If you really want to use the switch as a router, follow the following:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008019e74e.shtml


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.