cancel
Showing results for 
Search instead for 
Did you mean: 

dhcp ip allocation for particular vlan

dhcp ip allocation for particular vlan

sumeet
New Contributor
hi , we have extreme networks summit x460-24t switch . I want to do the following
switch should assign ip to dhcp client for particular vlan . All packet IP's unknown to switch should be passed from port 1 .

example in cisco we had

ip dhcp pool vlan200
network 172.16.120.0 255.255.255.0
dns-server 196.1.105.47
default-router 172.16.120.1
lease infinite
!
interface Vlan34
ip address 192.168.0.11 255.255.255.0
!
interface GigabitEthernet0/1
switchport access vlan 34
mls qos vlan-based
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.0.1

I tried following in extreme

create vlan "vlan200"
configure vlan vlan131 tag 200
configure vlan vlan200 ipaddress 10.10.10.1 255.255.255.0
configure vlan vlan200 dhcp-address-range 10.10.10.2 - 10.10.10.10

Where am I going wrong ?
15 REPLIES 15

sumeet
New Contributor
Understood view dhcp address allocation & setting lease timer .

Paul_Russo
Extreme Employee
Sumeet To see DHCP address allocation use the command show VLAN DHCP address-allocation to set a lease timer use the command configure VLAN DHCP lease-timer. The command you used configure IP route add default is for the switch to route out not to give to the end station. You need to set the Default gateway server address for the DHCP scope in the configure VLAN DHCP default-gateway . P

sumeet
New Contributor
so far ,
following has worked . data coming into & going out of summit-x460-24t switch is tagged . My system accepts tagged data from summit & gives untagged data to PC . For every vlan , dhcp pool has been assigned so PC's get IP & are able to ping each other even if having different vlan because ip forwarding has been enabled in summit.
Now my questions are
(1)Can I set dhcp lease interval ? How can I find what IP's have been distributed by switch & can I ping those from putty console of summit ?
(2)Our LAN gives IP in range 192.168.8.something . So I connected LAN port to port of x460-24t having vlan 8 (ip address 192.168.8.122/24) untagged . Then I tried
# configure ip route add default 192.168.8.122
%% Ambiguous command: "configure ip route add default 192.168.8.122"
I was hoping that a computer with ip , say 192.168.1.19, will be able to ping 192.168.8.something computer on LAN. What went wrong here ?

Paul_Russo
Extreme Employee
Hey Sumeet

A port will only be tagged if you add it with the tag word at the end. In your example the two are not the same. If a port is set as tagged all packets for that VLAN are tagged on the port.

P
GTM-P2G8KFN