Skip to main content

Thread: getting dhcpd-server to work


i tried how on forum , still not serve webpages. comp said conected , router said connected no web. understands walk through me.

dhcp.conf



ddns-update-style interim
ignore client-updates

subnet 192.168.1.0 netmask 255.255.255.0 {

# range of ip addresses server
# issue dhcp enabled pc clients
# booting on network

range 192.168.1.201 192.168.1.220;
when router sees internet changes it's range 10.0.0.2 10.0.0.100 giving 10.0.0.1
need asigned 1 ip router. router asign ip addresses comps.
router translation comps.
seems me since rouer sees other router not using dhcp server.

# set amount of time in seconds that
# client may keep ip address

default-lease-time 86400;
max-lease-time 86400;
can 9's
# set default gateway used by
# pc clients

heres think problem is. default gate seen router should dhcp server not roadrunner gateway.

option routers 192.168.1.1;
# don't forward dhcp requests this
# nic interface other nic
# interfaces

option ip-forwarding off;
ok!

# set broadcast address , subnet mask
# used dhcp clients

option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
this should changed address range right.

# set ntp server used the
# dhcp clients

option ntp-servers 192.168.1.100;
i use rr now.

# set dns server used the
# dhcp clients

option domain-name-servers 192.168.1.100;
i use bind9 ned research this. installed dns server may have remove?

# if specify wins server windows clients,
# need include following option in dhcpd.conf file:

option netbios-name-servers 192.168.1.100;
need research if don't know answer no.

# can assign specific ip addresses based on clients'
# ethernet mac address follows (host's name "laser-printer":

host laser-printer {
hardware ethernet 08:00:2b:4c:59:23;
fixed-address 192.168.1.222;
}
}
have lexmark printer fax play with.

#
# list unused interface here
#
subnet 192.168.2.0 netmask 255.255.255.0 {
}
what , why.


thing did in how-to ip fowarding 1 interface other. not know why. seems me router should see comp. not routed other ethernet. right router asking roadrunner gateway ip address not dhcp server. route abetter way go. , how eth1 ask dhcp server assign ip unless system assigning ip. i.e. send requests to.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] getting dhcpd-server to work


Ubuntu

Comments