I don't know why, but I decided to try a lab utilizing vlans, layer 3 ports, and the routing engine on the 3550.
I connect a pc to port fa0/9, the port is in vlan 5, vlan 5 has an ip address of 192.168.1.1/24.
The pc has an ip address of 192.168.1.100/24 and a default gateway of 192.168.1.1
So I enabled ip routing with config)#ip routing
I then connected a cheap linksys with working internet up to port fa0/1 on the 3550.
I setup port fa0/1 with "no switchport" and "ip address 192.168.2.10 255.255.255.0"
The link sys has a working wan connection and an internal lan ip of 192.168.2.1 for 192.168.2.0/24.
So i put ip route 0.0.0.0 0.0.0.0 192.168.2.1 into the 3550.
Now I can ping the 192.168.2.10 from the pc and I can ping the 192.168.2.1 from the router.
I cannot access the internet or ping 192.168.2.1 from the pc.
I have read that you need an actual proper router connected to the routed port of a 3550 so that the router can redirect traffic into the 192.168.1.0/24 network via the 3550 192.168.2.10 next hop address.
Any ideas why no net access?
Here is the 3550 config...
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
!
username holmesjrh privilege 15 secret 5 $1$M.A1$/LPF1K3EIUPDIRav.oHUz.
!
!
aaa new-model
!
!
aaa authentication login default local
!
!
!
aaa session-id common
authentication mac-move permit
ip subnet-zero
ip routing
ip name-server 4.2.2.1
!
!
!
!
crypto pki trustpoint TP-self-signed-885241216
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-885241216
revocation-check none
rsakeypair TP-self-signed-885241216
!
!
crypto pki certificate chain TP-self-signed-885241216
certificate self-signed 01
3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 38383532 34313231 36301E17 0D393330 33303130 30303130
335A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3838 35323431
32313630 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
D9820BBE 4769131C E1BA1EAC 4C5FED6A 324574DA 58ECF980 C40D4A69 0873AFB2
2288748D F32084C1 2556E7FA 8E7BC0E7 E22F579E 96C80FD1 0423631C 9A30B292
F39683A2 C2A8235A 7DE9AB98 5487330E B0BEF744 7014FEFA 1BBDE6A3 40A2044B
AD4310BE 119B0B94 8404A754 FA651AA6 361EE9D5 1C178326 9C61B8B1 A037C9B1
02030100 01A36730 65300F06 03551D13 0101FF04 05300301 01FF3012 0603551D
11040B30 09820753 77697463 682E301F 0603551D 23041830 1680144C CBF7E718
ED9CA9EE EDBD9A29 DAB90546 71082D30 1D060355 1D0E0416 04144CCB F7E718ED
9CA9EEED BD9A29DA B9054671 082D300D 06092A86 4886F70D 01010405 00038181
00D4DA81 BF77B2D9 1A778C65 275AA8ED BA772031 3BE17827 DDD16635 286B0BDF
25FCBB44 BE795A1E A12BCD0A C043A791 DC4E9322 A4228BD5 14E4F5B1 58341158
2166FC63 E57EDBDC F845704B AF3D6887 6A1DF07E FB97E9F7 FB4FBE4A A39F7B4B
47CF9233 13A37338 25E4FD12 44D57127 C2C5DA80 BA9554CD 104E320B 70178030 82
quit
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface Port-channel1
switchport mode dynamic desirable
!
interface FastEthernet0/1
no switchport
ip address 192.168.2.33 255.255.255.0
!
interface FastEthernet0/2
switchport mode dynamic desirable
!
interface FastEthernet0/3
switchport mode dynamic desirable
!
interface FastEthernet0/4
switchport mode dynamic desirable
!
interface FastEthernet0/5
switchport mode dynamic desirable
!
interface FastEthernet0/6
switchport mode dynamic desirable
!
interface FastEthernet0/7
switchport mode dynamic desirable
!
interface FastEthernet0/8
switchport mode dynamic desirable
!
interface FastEthernet0/9
switchport access vlan 5
switchport mode access
!
interface FastEthernet0/10
switchport mode dynamic desirable
!
interface FastEthernet0/11
switchport mode dynamic desirable
!
interface FastEthernet0/12
switchport mode dynamic desirable
!
interface FastEthernet0/13
switchport mode dynamic desirable
!
interface FastEthernet0/14
switchport mode dynamic desirable
!
interface FastEthernet0/15
switchport mode dynamic desirable
!
interface FastEthernet0/16
switchport mode dynamic desirable
!
interface FastEthernet0/17
switchport mode dynamic desirable
!
interface FastEthernet0/18
switchport mode dynamic desirable
!
interface FastEthernet0/19
switchport mode dynamic desirable
!
interface FastEthernet0/20
switchport mode dynamic desirable
!
interface FastEthernet0/21
switchport mode dynamic desirable
!
interface FastEthernet0/22
switchport mode dynamic desirable
!
interface FastEthernet0/23
switchport mode dynamic desirable
!
interface FastEthernet0/24
switchport mode dynamic desirable
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
channel-group 1 mode on
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
shutdown
!
interface Vlan5
ip address 192.168.1.1 255.255.255.0
!
ip default-gateway 192.168.2.1
ip classless
no ip route static inter-vrf
ip route profile
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
ip http server
ip http secure-server
!
!
ip sla enable reaction-alerts
!
control-plane
!
!
line con 0
line vty 0 4
transport input ssh
line vty 5 15
transport input ssh
!
end