On Thu, 14 Dec 2006 10:45:26 -0800, KAL wrote:
> Hi,
>
> I have the DHCP setup and working on my Red Hat Linux box. Here is the
> initial setup -
>
> subnet 10.10.10.0/24
> 10.10.10.1 is the option router
> dhcp client range is between 10.10.10.15 and 10.10.10.200
>
> This interface has only one NIC and I assigned 10.10.10.16 IP to it. It
> was able to hand out DHCP addresses to the clients and all was well.
>
> Later I assigned some VLANs to that NIC on the same machine. Here is
> how the output of "ifconfig" command:
>
>
> eth0 Link encap:Ethernet HWaddr 00:15:C5:4E:C3:36
> inet addr:10.10.10.16 Bcast:10.10.10.255 Mask:255.255.255.0
> inet6 addr: fe80::215:c5ff:fe4e:c336/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:46 errors:0 dropped:0 overruns:0 frame:0
> TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5616 (5.4 KiB) TX bytes:10752 (10.5 KiB)
> Interrupt:193
>
> eth0.2 Link encap:Ethernet HWaddr 00:15:C5:4E:C3:36
> inet addr:172.16.84.1 Bcast:172.16.84.255
> Mask:255.255.255.0
> inet6 addr: fe80::215:c5ff:fe4e:c336/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> eth0.3 Link encap:Ethernet HWaddr 00:15:C5:4E:C3:36
> inet addr:172.16.229.1 Bcast:172.16.229.255
> Mask:255.255.255.0
> inet6 addr: fe80::215:c5ff:fe4e:c336/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:8357 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8357 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:4662052 (4.4 MiB) TX bytes:4662052 (4.4 MiB)
>
>
> As listed "eth0" has the same IP assigned as before. On top of that I
> assigned two subinterfaces that belong to 2 different networks.
>
> Since then my DHCP server stopped working. I haven't changed anything
> in the dhcpd.conf file except adding two additional lines at the
> bottom. Here is the file in its entirity -
So why did you add these subnets to the config file?
> dddns-update-style interim;
> ignore client-updates;
>
> subnet 10.10.10.0 netmask 255.255.255.0 {
>
> # --- default gateway
> option routers 10.10.10.1;
> option subnet-mask 255.255.255.0;
>
>
> # option nis-domain "domain.org";
> # option domain-name "domain.org";
> # option domain-name-servers 192.168.1.1;
Why aren't you providing a name server to the client?
How do they know to resolve names?
> # option time-offset -18000;# Eastern Standard Time
> # option ntp-servers 192.168.1.1;
> # option netbios-name-servers 192.168.1.1;
>
> # --- Selects point-to-point node (default is hybrid). Don't change
> this unless
> # -- you understand Netbios very well
> # option netbios-node-type 2;
>
> range dynamic-bootp 10.10.10.15 10.10.10.200;
Seeing how your eth0 is 10.10.10.16 you should either exclude this ip
address from your range or change your range altogether so 10.10.10.16
isn't included.
> default-lease-time 21600;
> max-lease-time 43200;
>
>
> # we want the nameserver to appear at a fixed address
> # host ns {
> # next-server marvin.redhat.com;
> # hardware ethernet 12:34:56:78:AB:CD;
> # fixed-address 207.175.42.254;
> # }
> }
>
>
> subnet 172.16.229.0 netmask 255.255.255.0 {
> }
>
> subnet 172.16.84.0 netmask 255.255.255.0 {
> }
Again, why did you add these?
--
Regards
Robert
Smile... it increases your face value!
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----