cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
543
Views
0
Helpful
3
Replies

vlans on 2950 dhcp ?

 

I will try to descibe what i want

two vlan2

 

vlan 10 is using 192.168.21.x network

vlan 40 is using 192.168.11.x network

 

some ports I want to have in 10 network and some as trunk to Accesspoints 

my access points are on 18 till 22

 

and two ports that go to their ISP routers.

 

below is the config.

 

My issue, DHCP and traffic from accesspoints don't work.

 

what am i doing wrong ?

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

!

!

!

interface FastEthernet0/1

 description naar Grandstream GW1

 switchport access vlan 10

 switchport mode access

!

interface FastEthernet0/2

 description naar Grandstream GW2

 switchport access vlan 10

!

interface FastEthernet0/3

 description naar 3CX Server

 switchport access vlan 10

!

interface FastEthernet0/4

 description naar Wireless controller

 switchport access vlan 10

!

interface FastEthernet0/5

 description naar Video opname

 switchport access vlan 10

!

interface FastEthernet0/6

 description naar video opname extern

 switchport access vlan 40

!

interface FastEthernet0/7

 switchport access vlan 10

!

interface FastEthernet0/8

 switchport access vlan 10

!

interface FastEthernet0/9

 switchport access vlan 10

!

interface FastEthernet0/10

 switchport access vlan 10

!

interface FastEthernet0/16
 description to adsl router
 switchport access vlan 10
!
interface FastEthernet0/17
 description to poe switch
 switchport access vlan 10
!
interface FastEthernet0/18
 description to wifi AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 10,40
 switchport mode trunk
!
interface FastEthernet0/19
 description to wifi AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 10,40
 switchport mode trunk
!
interface FastEthernet0/20
 description to wifi AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 10,40
 switchport mode trunk
!
interface FastEthernet0/21
 description to wifi AP
 switchport trunk native vlan 10
 switchport trunk allowed vlan 10,40
 switchport mode trunk
!
interface FastEthernet0/22
 description naar enginius ander gebouw
 switchport access vlan 10
!
interface FastEthernet0/23
 description naar 3e verdieping
 switchport trunk allowed vlan 10,40
 switchport mode trunk
!
interface FastEthernet0/24
 description naar isp router
 switchport access vlan 40
 switchport mode access
!

interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan10
 ip address 192.168.21.5 255.255.255.0
 ip helper-address 192.168.21.1
 no ip route-cache
!
interface Vlan40
 no ip address
 ip helper-address 192.168.11.1
 no ip route-cache
 shutdown
!
ip default-gateway 192.168.21.1

1 Accepted Solution

Accepted Solutions

Nut sure if I understand u right. But let's try ;).

 

dhcp problem on all ports. Add the following "spanning-tree portfast enable

 

your interface vlan 40 is shutdown. So it will not work also for dhcp. But u can only enable one svi on that kind of switch. As long as your dhcp is on the same vlan you don't need an ip helper.

View solution in original post

3 Replies 3

Nut sure if I understand u right. But let's try ;).

 

dhcp problem on all ports. Add the following "spanning-tree portfast enable

 

your interface vlan 40 is shutdown. So it will not work also for dhcp. But u can only enable one svi on that kind of switch. As long as your dhcp is on the same vlan you don't need an ip helper.

Didn't think about that.

 

Will change it tomorrow and give it a try.

 

on the vlan 40

 

On the 2950 I can get only one ip address enabled on a vlan.

But I only need one (for management of the switch).

so I should be able to give on vlan 40 and vlan 10 separate dhcp right ?

i have a port in access mode 10 with dhcp from a draytek

and another port in access mode 40 with dhcp from an cisco cable modem.

 

further comments on this welcome ?

 


 

problem solved, it was the spanning tree portfast line

 

regarsd

martin

Review Cisco Networking products for a $25 gift card