cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2771
Views
5
Helpful
15
Replies

Internet For Vlans

Zaxum
Level 1
Level 1

Hello,Switching, 2960, Catalyst 2000

I am really struggling to get internet access to a vlan that is created on C2960. The device does have thSwitching, 2960, Catalyst 2000e sdm lanbase and I have turned on ip routing. I can ping the external address of the switch, but I am unable to ping the router and beyond. Need some help. The setup is a WS-C2960S-24TS-L switch and I have that plugged into a 2911 router. I have internet on VLAN 1 but I am missing something in the path of the router or switch side.

 

Thanks,

15 Replies 15

Hellp

Append the following and you should be good .

 

C2911

no ip route 10.77.71.0 255.255.255.0 171.217.177.1

ip dhcp pool C2911
network 24.1.1.0 /24 secondary
override default-gateway 24.1.1.1

 

int gig0/1.10
enacpsulation dot1q 10
ip address 24.1.1.1 255.255.255.0
ip nat inside

 

access-list 1 permit 10.77.71.0 0.0.0.255
access-list 1 permit 24.1.1.0 0 0.0.0.255

ip route 0.0.0.0 0.0.0.0 gig0/0 dhcp

 


C2960
no ip routing
no ip dhcp pool VLAN-10
no int vlan 10
vlan 10
exit

ip default-gateway 10.77.71.254

 

interface GigabitEthernet1/0/1
description link to rtr
switchport mode trunk


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul