DHCP Server configuration

Post Reply
robse

DHCP Server configuration

Post by robse »

Hi everybody,

I bought an Omniswitch 6400 and had done some basic configuration:

ip interface vlan_1_name address 192.168.1.1 vlan 1
aaa authentication default local
changing passwort and name

The switch currently runs AOS 6.4.4.342.R01.

After that, I uploaded dhcpd.conf with the following content:
server-identifier vxTarget;
subnet 192.168.1.0 netmask 255.255.255.0 {
dynamic-dhcp range 192.168.1.100 192.168.1.255 {
option subnet-mask 255.255.255.0;
option dhcp-lease-time 8600;
}
}

Furthermore I have created an empty dhcpd.pcy file and uploaded both to /flash/switch

After that i promted the following commands
dhcp-server enable
dhcp-server restart

The output was: +++ /flash/switch/dhcpd.conf processed with 1 subnets

But by connecting a client to the switch, no ip address is given from the switch. What is wrong?

Thank you for your replies!
L_lefante

Re: DHCP Server configuration

Post by L_lefante »

Hi,

It doesnt seems to be something wrong.
Try write memory and copy working certified, and then reload.

Have you seen something capturing traffic???
robse

Re: DHCP Server configuration

Post by robse »

Thank you for your reply! No, the client does not send any packages and get a 169.x.x.x ip address. But I havent done write memory and copy working certified.

I want to use the switch for a LAN party and bought it because it was a smart offer. Is there anything else that needs to be focused on regarding the switch configuration? Port Rules etc?
devnull

Re: DHCP Server configuration

Post by devnull »

I'd update to a more current code (just to be sure)
The ports for you clients are in vlan 1?
normally you should not need any addtitional commands if you need just a plain switch.
robse

Re: DHCP Server configuration

Post by robse »

Hi devnull,

what do you mean with a more current code?

I have just done the setup written in my first post. Do I need to assign all the ports to vlan 1 or are they autmatically in vlan 1 with the command "ip interface vlan_1_name address 192.168.1.1 vlan 1"? I just want one vlan with a dhcp server assigning the ip addresses to the clients.

Yes, I just need a plain switch. If I understand you right, I just need to do the following:
dhcp-server enable
dhcp-server restart
write memory
copy working certified
reload

Correct?

Thank you in advance!
devnull

Re: DHCP Server configuration

Post by devnull »

The lateste maintenance Version for 6.4.4 is 6.4.4.707 the version i would install is 6.4.5.635
There have been plenty of dhcp related fixes if i remember correctly hence test the current code first.

If you have nothing configured all ports are in vlan 1 - having an IP interface in vlan 1 has nothing to do with that (but is afaik needed to act as dhcp server)

you have a dhcpd.pcy file as well ?

Have you tested with examples out of the manuals and/or example files from https://service.esd.alcatel-lucent.com/ ... c6ToRdx5gi

edit: i think manual says restart first (to read configs) then enable..
robse

Re: DHCP Server configuration

Post by robse »

yes, i tried these files and the included dhcpd.pcy file is not working for me -> parsing error. So I created an empty dhcpd.pcy file on the switch.

I have nothing configured on the switch regarding vlan and ports. I have just done this "ip interface vlan_1_name address 192.168.1.1 vlan 1"

ok, so i will try
dhcp-server restart
dhcp-server enable
Post Reply

Return to “OmniSwitch 6400”