In article <(E-Mail Removed) >, Iceman wrote:
>I wanted to setup a small "network" (2 PCs), with SuSE Linux 8.1 on
>one and WinXP Pro/SP2 on another. Simple without DHCP, but I wanted
>DHCP.
Why? DHCP and it's predecessor BOOTP were developed for use in situations
where there were more computers than available IP addresses. You can use
any /24 and have room for one hundred times as many computers as you have
IPs.
>The problem is that I need to assign a static IP to my DHCP server on
>SuSE.
Yes - that is how the protocol works.
>It's not a problem to do it, but is there a solution for this:
>- eth0 doesn't have IP
>- eth0 asks DHCP for it's IP
>- DHCP sees that eth0 doesn't have IP, automatically assigns it
>(something like in Windows automatic IP assignment) and returns it.
0951 Bootstrap Protocol. W.J. Croft, J. Gilmore. Sep-01-1985. (Format:
TXT=28354 bytes) (Updated by RFC1395, RFC1497, RFC1532, RFC1542)
(Status: DRAFT STANDARD)
1395 BOOTP Vendor Information Extensions. J. Reynolds. January 1993.
(Format: TXT=16314 bytes) (Obsoletes RFC1084, RFC1048) (Obsoleted by
RFC1497, RFC1533) (Updates RFC0951) (Status: DRAFT STANDARD)
1497 BOOTP Vendor Information Extensions. J. Reynolds. August 1993.
(Format: TXT=16805 bytes) (Obsoletes RFC1395, RFC1084, RFC1048)
(Obsoleted by RFC1533) (Updates RFC0951) (Status: DRAFT STANDARD)
1532 Clarifications and Extensions for the Bootstrap Protocol. W.
Wimer. October 1993. (Format: TXT=51545 bytes) (Obsoleted by RFC1542)
(Updates RFC0951) (Status: PROPOSED STANDARD)
1533 DHCP Options and BOOTP Vendor Extensions. S. Alexander, R. Droms.
October 1993. (Format: TXT=50919 bytes) (Obsoletes RFC1497, RFC1395,
RFC1084, RFC1048) (Obsoleted by RFC2132) (Status: PROPOSED STANDARD)
1542 Clarifications and Extensions for the Bootstrap Protocol. W.
Wimer. October 1993. (Format: TXT=52948 bytes) (Obsoletes RFC1532)
(Updates RFC0951) (Status: DRAFT STANDARD)
2132 DHCP Options and BOOTP Vendor Extensions. S. Alexander, R. Droms.
March 1997. (Format: TXT=63670 bytes) (Obsoletes RFC1533) (Updated by
RFC3442) (Status: DRAFT STANDARD)
3442 The Classless Static Route Option for Dynamic Host Configuration
Protocol (DHCP) version 4. T. Lemon, S. Cheshire, B. Volz. December
2002. (Format: TXT=19370 bytes) (Updates RFC2132) (Status: PROPOSED
STANDARD)
You can get all of those documents on the web. Try
http://www.ietf.org/rfc/rfc0000.txt
http://www.faqs.org/rfcs/rfc0000.html
http://www.rfc-editor.org/rfc/rfc0000.txt
http://www.ccd.bnl.gov/network/general/rfc0000.html
http://www.cis.ohio-state.edu/htbin/rfc/rfc0000.html
replacing the zeros with the _four_ digit number of each one. You have a
bit of reading to do. You also may notice the dates on these documents.
This concept goes back long before microsoft invented networks.
>The scenario could be:
>- DHCP starts and looks for any broadcast network cards
>- It finds eth0, but it has no IP
>- Brings it up and automatically gives an IP.
System doesn't work that way. Read the boot scripts.
>Any suggestions? Thanks in advance!
Use static addresses and avoid all the problems. You have two lousy
computers - there is no need for DHCP. For jollies, read the thread in
this newsgroup titled "checking if a MAC address exist in a LAN and which
is the attached IP address" and see the obvious security nightmare another
user is having. See the thread "RP-PPPoE assigns a new IP address every
time I reboot!" for more problems.
Old guy