cancel
Showing results for 
Search instead for 
Did you mean: 

how to use dhcp relay agent in extreme summit x460-24t

how to use dhcp relay agent in extreme summit x460-24t

sumeetinanicdot
New Contributor

Here are my settings for vlan 113

 

configure vlan vlan113 tag 113
configure vlan vlan113 add ports 21-24 tagged
configure vlan vlan113 ipaddress 172.16.113.1 255.255.255.0
enable ipforwarding vlan vlan113
configure vlan vlan113 dhcp-address-range 172.16.113.2 - 172.16.113.200
configure vlan vlan113 dhcp-options default-gateway 172.16.113.1
configure vlan vlan113 dhcp-options dns-server 196.1.105.47
enable dhcp ports 21-24 vlan vlan113

as you can see that this allows my L2 devices dealing with tagged packets of vlan 113 to get automatic IP.

My understanding is that DHCP relay agent allows getting IP from DHCP server of another network.

How can I configure my vlan 114 so that devices in vlan 114 get IP from DHCP server of vlan 113 ?

Actually , once I verify DHCP relay feature in this switch then I will test DHCP relay feature of another device.

I guess verifying DHCP option 82 is same as DHCP relay agent.

Thanks.

8 REPLIES 8

sumeetinanicdot
New Contributor

actually , i don’t have a separate dhcp server .

i was hoping to use dhcp server of extreme switch itself .

is it possible to use one vlan (114) as dhcp relay and another vlan (113) as dhcp server ? 

Stefan_K_
Valued Contributor

I am guessing server-vlan in your example is different from 113 and 114.

Yes, this is the VLAN where the DHCP-Server is located.

The IP-Address of the server, in your example 192.168.2.2.

 

In this case you don’t need this configuration:

configure vlan vlan113 dhcp-address-range 172.16.113.2 - 172.16.113.200
configure vlan vlan113 dhcp-options default-gateway 172.16.113.1
configure vlan vlan113 dhcp-options dns-server 196.1.105.47
enable dhcp ports 21-24 vlan vlan113

This configures a DHCP-Server on the switch itself, but in your Link the DHCP-Server is another device. 

This is basically right. If the DHCP-Server is on VLAN113 you need to remove this configuration:

configure vlan vlan113 dhcp-address-range 172.16.113.2 - 172.16.113.200
configure vlan vlan113 dhcp-options default-gateway 172.16.113.1
configure vlan vlan113 dhcp-options dns-server 196.1.105.47
enable dhcp ports 21-24 vlan vlan113

and add this configuration

configure bootprelay add <IP-Address of DHCP-Server> vr VR-Default
enable bootprelay vlan VLAN113
enable bootprelay vlan VLAN114

Do you have a separate DHCP-Server already?

sumeetinanicdot
New Contributor

I am guessing server-vlan in your example is different from 113 and 114.

what is <ip-address> ?

My purpose is to verify DHCP relay functionality .

I want to execute setup shown in https://www.geeksforgeeks.org/dhcp-relay-agent-in-computer-network/ .

Suppose vlan 114 config is

configure vlan vlan114 tag 114
configure vlan vlan114 add ports 21-24 tagged 

 

i thought that vlan 114 clients will get ip from dhcp pool of vlan 113 if i add dhcp relay in vlan 114 to point to dhcp server in vlan 113 . is that wrong ?

 

 

Stefan_K_
Valued Contributor

Hi,

I don’t really understand what you are trying to achieve.

You have DHCP-Server configured directly on your switch for VLAN113. And now you want to relay VLAN114 to this DHCP-Server? This won’t be possible I guess and also Clients on VLAN114 would receive the same IP-Addresses as on VLAN113!? Why don’t you configure DHCP-Server for VLAN114 directly on the switch like for VLAN113?

DHCP Relay is used to forward DHCP packets to an “external” (e.g. Windows Server) DHCP-Server, that is on another VLAN than the clients.

This would be done like this:

configure bootprelay add <IP-Address> vr VR-Default
enable bootprelay vlan VLAN113
enable bootprelay vlan VLAN114
enable bootprelay vlan Server-VLAN

 

GTM-P2G8KFN