dhcp server ansd shared-network declaration

John O'Loughlin j.oloughlin at qmul.ac.uk
Sat Dec 9 00:46:20 UTC 2006



> Oh...maybe I misunderstood the answer.
>
> Are we saying, then, that if eth1 is on 192.168.1, then all connections
> coming in on that interface will get an IP on 192.168.1, as long as
> 192.168.1 is declared in dhcpd.conf, and vice versa for eth0/192.168.0?
>
> If so...then "Cool!!!"

Yes, that is indeed what happens.

John


>> The dhcp server should accept connections on the interfaces for which it
>> has a subnet decleration for.
>>
>> Regards
>> John
>>
>> On Thu, 7 Dec 2006, tamer amr wrote:
>>
>>> thank you for helping me
>>>
>>> but  i want to know
>>> which interface  the dhcpd server will work on  eth0 or eth1 and how
>>> come ?
>>> Suppose i have two subnets 192.168.1.0 and 192.168.0.0  which interface
>>> will i use it ?
>>>
>>>
>>>
>>>
>>> John O'Loughlin <j.oloughlin at qmul.ac.uk> wrote:
>>>> hi i want to know what is the shared-network declaration option in
>>>> dhcpd server  configurtion
>>>
>>>> and i want to know how the dhcp server is serving two different subnets
>>>
>>> Suppose you have a dhcp server with two interfaces on different subnets,
>>> they will probably have a number of common configurations, such as
>>> domain-name, maybe domain-name-servers, so you could have something that
>>> looks like:
>>>
>>> shared-network my-network {
>>>
>>> option domain-name etc
>>>
>>> subnet {
>>>
>>> }
>>>
>>> subnet {
>>>
>>> }
>>>
>>> }
>>>
>>>
>>>
>>>
>>>> thank you
>>>>
>>>> please answer me as soon as possible
>>>>
>>>> good bye
>>>>
>>>>
>>>> ---------------------------------
>>>> Check out the all-new Yahoo! Mail beta - Fire up a more powerful email
>>>> and get things done faster.
>>>> --
>>>> redhat-list mailing list
>>>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>>>> https://www.redhat.com/mailman/listinfo/redhat-list
>>>>
>>>
>>> --
>>> redhat-list mailing list
>>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>>> https://www.redhat.com/mailman/listinfo/redhat-list
>>>
>>>
>>>
>>> ---------------------------------
>>> Access over 1 million songs - Yahoo! Music Unlimited.
>>> --
>>> redhat-list mailing list
>>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>>> https://www.redhat.com/mailman/listinfo/redhat-list
>>>
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
>
> -- 
> Mike Burger
> http://www.bubbanfriends.org
>
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
>
> To be notified of updates to the web site, visit:
>
> https://www.bubbanfriends.org/mailman/listinfo/site-update
>
> or send a blank email message to:
>
> site-update-subscribe at bubbanfriends.org
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list