Multihomed pc

Simon Hobson dhcp1 at thehobsons.co.uk
Sun Nov 12 10:58:44 UTC 2006


Crisfalusi Dan wrote:

>I have a single default router per network ... but I have a large network
>and is not flat ...

Ahh, you have a shared network according to your config file, that 
makes a HUGE difference !

>By the way your sugestion is not working. The server offers only the first
>ip in the list ...

It will do, you didn't say that you have a shared network.

>Please help me a litle bit more ...
>I'll show you below something from my dhcpd.conf file ...
>
>In the tests that I done with ibm4 the server identified correctly the host
>and the gateway but offered always the first ip in the list (I rotated them
>to check this) ...
>
>Please give me more sugestions ...
>
>10x
>
>.......
>deny unknown-clients;
>
>shared-network Timisoara {
>     subnet 172.19.130.0 netmask 255.255.255.0 {
>         option domain-name              "electricabanat.ro";
>         option time-offset              -18000; # Eastern Standard Time
>         default-lease-time 72000; # 20 de ore
>         max-lease-time 72000; # 20 de ore
>         use-host-decl-names on;
>         option routers 172.19.130.254;
>         option subnet-mask 255.255.255.0;
>         option domain-name-servers 172.19.129.16, 172.19.129.17;
>     }
>     subnet 172.19.131.0 netmask 255.255.255.0 {
>         option domain-name              "electricabanat.ro";
>         option time-offset              -18000; # Eastern Standard Time
>         default-lease-time 72000; # 20 de ore
>         max-lease-time 72000; # 20 de ore
>         use-host-decl-names on;
>         option routers 172.19.131.254;
>         option subnet-mask 255.255.255.0;
>         option domain-name-servers 172.19.129.16, 172.19.129.17;
>     }
>
>     subnet 172.19.132.0 netmask 255.255.255.128 {
>         option domain-name              "electricabanat.ro";
>         option time-offset              -18000; # Eastern Standard Time
>         default-lease-time 72000; # 20 de ore
>         max-lease-time 72000; # 20 de ore
>         use-host-decl-names on;
>         option routers 172.19.132.126;
>         option subnet-mask 255.255.255.128;
>         option domain-name-servers 172.19.129.16, 172.19.129.17;
>     }
>     subnet 172.19.132.128 netmask 255.255.255.192 {
>         option domain-name              "electricabanat.ro";
>         option time-offset              -18000; # Eastern Standard Time
>         default-lease-time 72000; # 20 de ore
>         max-lease-time 72000; # 20 de ore
>         use-host-decl-names on;
>         option routers 172.19.132.190;
>         option subnet-mask 255.255.255.192;
>         option domain-name-servers 172.19.129.16, 172.19.129.17;
>     }
>
>     subnet 172.19.133.0 netmask 255.255.255.192 {
>         option domain-name              "electricabanat.ro";
>         option time-offset              -18000; # Eastern Standard Time
>         default-lease-time 72000; # 20 de ore
>         max-lease-time 72000; # 20 de ore
>         use-host-decl-names on;
>         option routers 172.19.133.62;
>         option subnet-mask 255.255.255.192;
>         option domain-name-servers 172.19.129.16, 172.19.129.17;
>     }
>.......
>}
>
>......
># Plimbareti
>group {
>     host ibm4 { hardware ethernet 00:10:c6:dd:01:ae; fixed-address
>172.19.132.81
>, 172.19.130.248, 172.19.133.132; }

OK, first lets be quite certain, do you have a shared network ? In 
other words, are all these subnets ON THE SAME WIRE ? Ie, can you 
take a device, plug it into the network, and move it to any of the 
subnets by giving it the appropriate network settings - without 
moving switch port or altering VLAN assignments ?

Sorry to labour the point, but's it's come up time and time again. 
Looking back at your original post :
>I have pc's that move from time to time in a relative large network 
>(with tens of routers).

I believe that you do NOT have a shared network - but we need to 
confirm that before going any further.



More information about the dhcp-users mailing list