I'm having a bit of trouble getting 2 devices to communicate with a router on a stick setup. In short I have a 3825 router, and a 3550 switch.
The switch has a trunk from f0/24 to g0/0 on the router.
The switch has an IP camera on f0/1. (192.168.2.2)
The switch has a laptop on f0/13. (192.168.10.2)
Router:
interface GigabitEthernet0/0
description LAN
ip address 10.10.0.1 255.255.0.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
no cdp enable
!
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
no cdp enable
!
On the switch:
interface FastEthernet0/1
switchport mode access
switchport access vlan 2
!
interface FastEthernet0/13
switchport mode access
switchport access vlan 10
From the laptop I can ping both sub interfaces, and I can ping the camera. However I can not access the web interface of the camera. Is there a reason pings would work, but no other protocol? I should be able to telnet to it as well, but that doesn't work either. I can confirm the web interface and telnet is working, if I put both the laptop and camera in the same subnet and VLAN I can access both just fine.