Hello,
I'm currently trying to set up a DHCP Server for 2 VLANs.
The setup:
1 DHCP Server with 1 NIC connected to a LevelOne GES-1652 Switch, which has 2 VLANs configured
VLAN50 (Port 1,2,4,6,8,10,12,14,16)
VLAN60 (Port 1, 3,5,7)
Port 1 is the "Uplink" where the DHCP-Server is connected.
/etc/network/interfaces:
Code:
#vlan config part:
auto vlan50
iface vlan50 inet static
address 192.168.50.1
subnet 255.255.255.0
vlan_raw_device eth1
auto vlan60
iface vlan60 inet static
address 192.168.60.1
subnet 255.255.255.0
vlan_raw_device eth1
dhcpd.conf
Code:
authoritative;
log-facility local7;
#########################Subnetconfig for seaking.lan#############
subnet 192.168.50.0 netmask 255.255.255.0 {
range 192.168.50.20 192.168.50.150;
option domain-name-servers 192.168.50.1;
option domain-name "seaking.lan";
option routers 192.168.50.1;
option broadcast-address 192.168.50.255;
default-lease-time 3600;
max-lease-time 7200;
}
subnet 192.168.60.0 netmask 255.255.255.0 {
range 192.168.60.2 192.168.60.150;
option domain-name-servers 192.168.60.1;
option domain-name "testing.seaking.lan";
option routers 192.168.60.1;
option broadcast-address 192.168.60.255;
default-lease-time 3600;
max-lease-time 7200;
}
vlan package is installed and the networking and isc-dhcp-server services starting without any problems but if I connect a device to port 6 (vlan50) on the switch the dhcp server does not get any dhcp request
Some ideas?
Bookmarks