Hi Wajid,
when the server can reach the the gateways and you're using VLAN 1 only, we can assume that Layer-2 works.
1) Check the IP configuration of the SVI:
show ip interface vlan1
Vlan1 is up, line protocol is up
Internet address is 192.168.1.4/24
(...)
2) Check that the default-gateway is within the same subnet as VLAN 1
show run | i default-gateway
ip default-gateway 192.168.1.1
3) Check ARP resolution for the default-gateway:
show ip arp 192.168.1.1
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.1 55 0000.0c08.bc01 ARPA Vlan1
4) Check CAM table entry for the MAC-address:
show mac address-table address 0000.0c08.bc01
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 0000.0c08.bc01 DYNAMIC Gi0/1
HTH
Rolf