Question : Cisco Catalyst 4948> Device can't be seen by others unless they are on the same subnet

Earlier I posted a question about configuring an IP for my Cisco 4948..

I got a solid response from Kvistofta and here it is:

"
enable
(password)
conf t
hostname cisco4948noca
ip http server
int vlan1
 ip address 10.1.98.3 255.255.0.0
exit
ip default-gateway 10.1.2.1
line vty 0 4
login
password <your password>
exit
enable secret <your password>

http to your switch and login with blank username and the enable-password you entered above as password. "

This worked fine but from a workstation not using 10.1.2.1 as it's gateway the device is not pingable. I know the problem is with the 4948 switch because when I use the cat5 connected to the 'MAIN' switch  and directly connect it to my laptop instead of thru the 4948 the laptop pulls 10.1.98.112 and it is pingable from everywhere. What do you think I'm missing in the configuration of the 4948 that is preventing it from being seen by those not on the 10.1.2.1 gateway?

Thanks again

Answer : Cisco Catalyst 4948> Device can't be seen by others unless they are on the same subnet

Depending on your image, it would be something like:

no ip default-gateway 10.1.2.1
ip route 0.0.0.0 0.0.0.0 10.1.2.1

interface Vlan100
 description subnet 100
 ip address 192.168.100.0 255.255.255.0
 ip access-group 2100 in
 no ip redirects
 no ip unreachables
 no ip proxy-arp


interface Vlan101
 description subnet 101
 ip address 192.168.101.0 255.255.255.0
 ip access-group 2101 in
 no ip redirects
 no ip unreachables
 no ip proxy-arp

access-list 2100 remark subnet 100
access-list 2100 permit ip 192.168.100.0 0.0.0.255 any

access-list 2100 remark subnet 101
access-list 2100 permit ip 192.168.101.0 0.0.0.255 any

interface GigabitEthernet1/2
switchport mode access
switchport access vlan 100

interface GigabitEthernet1/3
switchport mode access
switchport access vlan 101


Billy
Random Solutions  
 
programming4us programming4us