So is there something I have missed?
Yes, you've got the following machines that you want in the same /24 subnet:
- squid proxy (192.168.1.4)
- web server (192.168.1.6)
- client (192.168.1.11)
However, you're trying to put each one of them on their own routed interface; this is a very common mistake. The simplest solution to your problem is to create what Cisco calls a Switched Vlan Interface (SVI) for all of 192.168.1.0/24 on your 3550.
Let's assume you're going to use Vlan 10 for all these systems; it doesn't really matter what vlan number you use, although people tend to avoid vlan 1 for security reasons. I will make assumptions about which switchport you connected these systems to, however the port numbers should not matter; just be sure that you configure their actual port number in vlan 10
. The configuration you want to use is:
ip routing
!
! many people set vtp to transparent to avoid future problems...
vtp mode transparent
!
vlan 10
state active
!
interface FastEthernet0/1
description [Squid Proxy]
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/2
description [Web Server]
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/3
description [Client]
switchport access vlan 10
switchport mode access
!
interface Vlan10
ip address 192.168.1.254 255.255.255.0
no ip proxy-arp
no ip directed-broadcast
no shut
!
! Add a default route on a different SVI if you want these systems
! to route through the 3550 to other networks
Now configure your squid proxy, web server, and client to use 192.168.1.254 as the default gateway.
Finally, consider using switchport nonnegotiate
on Fa0/1, Fa0/2, and Fa0/3.