Link to home
Start Free TrialLog in
Avatar of Fadal
FadalFlag for United Arab Emirates

asked on

Cisco 2950 VLAN

I am trying to configure VLANs on a Cisco 2950 switch with 2 subnets. Subnet 1 is 192.168.126.x & subnet 2 is 192.168.192.x

I have a VPN box which has a default gateway set as 192.168.126.254 & i should be able to ping this default gateway from the 192.168.192.x subnet.

Someone else has done the configuration on this switch & i would like you to review and advise the changes needed.

Currently, i cannot ping 192.168.126.254 from the 192.168.192.x subnet.
vlan10 is connected to 192.168.126.x subnet
vlan20 is connected to 192.168.192.x subnet
vlan30 is not connected


Also, do i have to assign IP address to the VLAN ports?


The current config on cisco 2950 is as under:-

--------------------------
Configure terminal

interface fastethernet0/1 - 0/2
switchport mode access
switchport access vlan 10
switchport mode trunk
switchport trunk allowed vlan remove 2-1001
switchport trunk allowed vlan remove 1003
switchport trunk allowed vlan remove 1004
switchport trunk allowed vlan add 10

interface fastethernet0/9 - 0/10
switchport mode access
switchport access vlan 20
switchport mode trunk
switchport trunk allowed vlan remove 2-1001
switchport trunk allowed vlan remove 1003
switchport trunk allowed vlan remove 1004
switchport trunk allowed vlan add 20

interface fastethernet0/17 - 0/18
switchport mode access
switchport access vlan 30
switchport mode trunk
switchport trunk allowed vlan remove 2-1001
switchport trunk allowed vlan remove 1003
switchport trunk allowed vlan remove 1004
switchport trunk allowed vlan add 30

interface fastethernet0/24
switchport mode trunk
switchport trunk allowed vlan remove 2-1001
switchport trunk allowed vlan remove 1003
switchport trunk allowed vlan remove 1004
switchport trunk allowed vlan add 10
switchport trunk allowed vlan add 20
switchport trunk allowed vlan add 30
switchport trunk allowed vlan add 40
end

show vlan brief
show interfaces trunk
copy running-config startup-config
ASKER CERTIFIED SOLUTION
Avatar of knightrider2k2
knightrider2k2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mkurtzhals
mkurtzhals

The 2950 does not do intervlan routing.
No Intervlan routing built-in to the switch.... hence truncking to the router.  Should work fine with vtp set up.