Dhcp / Dhcp-relay question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a network at my office where i have a DHCP server, i have also
another small network at home, where my ADSL CPE can act as a DHCP
server o DHCP relay,

When acting as Server it gives the clients itself as DNS server (but
it is a bad DNS server) so I wanted to use the server at my office to
lease address trough my CPE working as dhcp-relay.

Ok,
the server at my office has to NICs

eth0 connected to the internet, and eth1 to my private network
10.1.1.0/24

My dhcpd.conf file is as follows.

ddns-update-style interim;
ignore client-updates;
authoritative;
option  local-wpad      code    252     =       text;

subnet  10.1.1.0 netmask 255.255.255.0 {

# --- default gateway
       option routers                  10.1.1.1;
       option subnet-mask              255.255.255.0;

       option broadcast-address        10.1.1.255;

       option nis-domain               "foo.com";
       option domain-name              "foo.com";
       option domain-name-servers      166.114.152.10, 4.2.2.2;

       option time-offset              0;      # Eastern Standard Time
       option  local-wpad      "http://10.1.1.1/proxy.pac\n";;

       option netbios-name-servers     10.1.1.1;

       range 10.1.1.30 10.1.1.50;
       ddns-update-style none;
       default-lease-time 604800;
       max-lease-time 252000;

}


subnet 192.168.129.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}

When i tried to introduce here the range of the my home, following the
same model as above.

subnet the.ip.of.my.home netmask 255.255.255.240
{
etc. etc.
}

i got an error saying that, there no range configured for eth0 so
ignoring request coming to that NIC.

is this possible to do? or i am trying to do something not possible.

best regards.

Guillermo.


--
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC5, CentOS4.4 and Ubuntu 6.06)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux