OpenSuse 11 DHCP Server

hi all

ive been using opensuse since 10.x
and it really served my needs

i just wana as if Opensuse 11 is capable of being a MULTISCOPE Dhcp Server , i tried it as a single scope dhcp server a long time ago , it worked like a charm…im planning to make it as a backup dhcp of our network

thanks all in advance

What is a multiscope server? More than one interface? For sure. It’s ISC DHCPD.

a DHCP server serving around 5 VLANS

192.168.20.x
192.168.24.x

subnets sirs

Should be no problem. See the ISC DHCPD doco. You probably have to configure with a text editor, I don’t think YaST caters for such a complex use case.

On Wed, 2010-04-14 at 14:26 +0000, campilank wrote:
> hi all
>
> ive been using opensuse since 10.x
> and it really served my needs
>
> i just wana as if Opensuse 11 is capable of being a MULTISCOPE Dhcp
> Server , i tried it as a single scope dhcp server a long time ago , it
> worked like a charm…im planning to make it as a backup dhcp of our
> network
>

backup dhcp? Well anyhow… yes… it supports multiscope and VLAN
combo ranges, bootp, failover and a TON of features.

is this the YAST DHCP config or the isc dhcp…?

thanks for all the replies keep it coming

more power

YaST is only a frontend to the ISC DHCP config files and it won’t do complex stuff.

so in my case ill have to do this manually on the CLI or kwrite?

sirs?

So sad, but yes.

oki…trying this out…

here’s my sample conf

hope you can check this out sirs

authoritative;

option domain-name “Officenetwork.org”;
option domain-name-servers 192.168.20.11, 192.168.20.2;

max-lease-time 600;

shared-network Visitor VLAN (
subnet 192.168.24.224 netmask 255.255.255.248 {
range 192.168.24.226 192.168.24.230;
option routers 192.168.20.129;

hi all

i did some reserch and made my own conf

######### DHCP Server by xxx ##################

ddns-update-style interim;
ignore client-updates;
default-lease-time 43200;
max-lease-time 43200;
authoritative;
subnet 192.168.20.0 netmask 255.255.255.0{}
subnet 192.168.24.0 netmask 255.255.255.0{}

-----------VLAN 201--------------#

subnet 192.168.20.0 netmask 255.255.255.0{
range 192.168.20.150 192.168.20.254;
option routers 192.168.20.129;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.0.255;
option domain-name-servers 192.168.20.11;
}

#-----subnet mask-- broadcast-- gateway-#

option subnet-mask 255.255.255.0;
#option broadcast-address 192.168.1.1;
option routers 192.168.20.129;
option domain-name-servers 192.168.20.11;

-----------VLAN 201--------------#

subnet 192.168.20.0 netmask 255.255.255.0{
range 192.168.20.150 192.168.20.254;
option routers 192.168.20.129;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.0.255;
option domain-name-servers 192.168.20.11;
}

----------- -VLAN 243 -------------#

subnet 192.168.24.0 netmask 255.255.255.0{
range 192.168.24.226 192.168.24.230;
option routers 172.27.1.1;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.1.255;
option domain-name-servers 192.168.20.11;
}

this is just the 1st 2 VLANS , ill be ading soon the others if the initial issues willl be solved
i tried to debug this and no error

tests

leased from VLAN 201 is succesful, thats good
BUT, if i erase the whole VLAN 201 "

# -----------VLAN 201--------------#
subnet 192.168.20.0 netmask 255.255.255.0{
range 192.168.20.150 192.168.20.254;
option routers 192.168.20.129;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.0.255;
option domain-name-servers 192.168.20.11;
}

i cant lease addresses from VLAN 243…

any suggestion on the conf is very welcomed sirs

this will be a very long journey …

Thanks all in advance

keep the replies coming

up…

On Fri, 2010-04-16 at 13:56 +0000, campilank wrote:
> up…
>
>

Create a shared-network def in dhcpd.conf and
place the subnet declarations inside.

hi sir… this sounds silly , can i request a sample dhcpd.conf u mentioned , just 2 vlans and ill do the rest…

Thanks in advance…

more power to all

please guys … i just need this to replace w/our windows dhcp server , or wana make this a backup of our windows dhcp server

thanks all in advance

anyone …please

may i ask for an example sir ??

thanks in advance

hi all

i change the title coz i think its a little bit confusing

heres what i want to do and my scenario

we are on a VLAN Network my issue is on the dhcpd.conf side coz wana configure My opensuse 11 box to serve ip’s (DHCP Server) on diffrent VLAN , Wana Replace our Windows DHCP Server for some Technical Reasons , my susebux has only one phsysical Network interface (eth0), is this possible to serve all VLAN? iphelper is already confgured on our L3 Switches , actually OUr Windows DHCP Server is already runnning and serving this vlans , but i just wana replace it with linux

is this a dhcpd issue to vconfig?

heres is our VLAN Scheme

Dept.1

VLAN # xx
Range : 192.168.24.xxx-xxx

Dept.2
VLAN # xx
Range : 192.168.24.xxx – xxx

Dept.3
VLAN # xx
Range : 192.168.24.xxx-xxx

Dept.4
VLAN #xx
Range : 192.168.24.xxx-xxx

Dept. 5
VLAN # xx
Range 192.168.20.xxx.xxx

here is my dhcpd.conf

-----------VLAN 201--------------#

subnet 192.168.20.0 netmask 255.255.255.0{
range 192.168.20.150 192.168.20.254;
option routers 192.168.20.129;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.0.255;
option domain-name-servers 192.168.20.11;
}

----------- -VLAN 243 -------------#

subnet 192.168.24.0 netmask 255.255.255.0{
range 192.168.24.226 192.168.24.230;
option routers 172.27.1.1;
option subnet-mask 255.255.255.0;
#option broadcast-address 172.27.1.255;
option domain-name-servers 192.168.20.11;
}

is my config right for my need?

thanks all in advance