03-11-2021 02:08 AM
vlan database
vlan 22,33
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
hostname switch41f6b0
ip telnet server
!
interface vlan 1
ip address 192.168.0.254 255.255.255.0
no ip address dhcp
!
interface vlan 22
ip address 192.168.1.2 255.255.255.0
!
interface vlan 33
ip address 192.168.33.1 255.255.255.0
!
interface fastethernet1
switchport mode access
switchport access vlan 33
!
interface fastethernet2
switchport mode access
switchport access vlan 33
!
interface fastethernet3
switchport mode access
switchport access vlan 33
!
interface fastethernet4
spanning-tree disable
switchport mode access
switchport access vlan 33
!
interface fastethernet5
switchport mode access
switchport access vlan 33
!
interface fastethernet6
switchport mode access
switchport access vlan 33
!
interface fastethernet7
switchport mode access
switchport access vlan 33
!
interface fastethernet8
switchport mode access
switchport access vlan 33
!
interface fastethernet9
switchport mode access
switchport access vlan 33
!
interface fastethernet10
switchport mode access
switchport access vlan 33
!
interface fastethernet13
switchport mode access
switchport access vlan 22
!
interface fastethernet14
switchport mode access
switchport access vlan 22
!
interface fastethernet15
spanning-tree disable
switchport mode access
switchport access vlan 22
!
interface fastethernet16
switchport mode access
switchport access vlan 22
!
interface fastethernet17
switchport mode access
switchport access vlan 22
!
interface fastethernet18
switchport mode access
switchport access vlan 22
!
exit
ip default-gateway 192.168.1.1
ip route 192.168.1.0 /24 192.168.1.1
ip route 192.168.33.0 /24 192.168.1.1
switch41f6b0#
03-11-2021 03:21 AM
what VLAN configuration you added - explain more.
03-11-2021 09:59 PM
Sir i created two vlans 22 and 33 i configured 33 towards my router and 22 to access my local lan
I added default gateway and add local network by static route it ping between VLans but it can not connect to internet
03-12-2021 04:12 AM
Orginal config was :
interface vlan 1
ip address 192.168.0.254 255.255.255.0
no ip address dhcp
===
you have added below route :
ip default-gateway 192.168.1.1
ip route 192.168.1.0 /24 192.168.1.1
ip route 192.168.33.0 /24 192.168.1.1
Since everything was default VLAN it was working - (Looks like one of the port connected to Router also changed to Access port belong to VLAN 22 or 33 - that is the reason it was broken as per my understanding).
what port connected to the router, that port needs to be a trunk port- as per the config i do not see any trunk port?
what router is this connected to? what is the IP address of the router ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide