* [9fans] DHCP weirdness?
@ 2003-04-24 16:09 Dan Cross
2003-04-24 16:24 ` David Presotto
2003-04-24 16:43 ` [9fans] DHCP weirdness? ron minnich
0 siblings, 2 replies; 12+ messages in thread
From: Dan Cross @ 2003-04-24 16:09 UTC (permalink / raw)
To: 9fans
After pulling to my fileserver yesterday for the first time in a couple
of weeks and rebooting, I found that DHCP was no longer working.
Here's the configuration: I have a standalone file server on the same
network with a diskless CPU server (well, it boots locally and has a
disk to hold swap and a secstore, but I don't think that's relevant).
From what I can see, dhcpd on the CPU server responds to the client,
but the client ignores the response. That is, I can see dhcp requests
and on the network while running snoopy, and /sys/log/ipboot shows that
responses are being sent, but the client eventually times out and asks
me for other boot information.
I rebuilt everything on the system, including kernels and 9load (on the
client), but no luck. Has anyone else seen this behavior?
- Dan C.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:09 [9fans] DHCP weirdness? Dan Cross
@ 2003-04-24 16:24 ` David Presotto
2003-04-24 16:50 ` Sam
2003-04-24 20:03 ` [9fans] ipconfig Sam
2003-04-24 16:43 ` [9fans] DHCP weirdness? ron minnich
1 sibling, 2 replies; 12+ messages in thread
From: David Presotto @ 2003-04-24 16:24 UTC (permalink / raw)
To: 9fans
I think rob saw this also. Could you send me the ip/ipconfig line
that you're using. I changed it to fix arg processing and sysname
defaulting (i.e. setting something useful in /net/ndb's sys= entry)
but can't see what would have caused things to be completely ignored.
All our systems run at boot. Perhaps I broke something for systems
running ipconfig out of termrc.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:24 ` David Presotto
@ 2003-04-24 16:50 ` Sam
2003-04-24 16:53 ` David Presotto
` (2 more replies)
2003-04-24 20:03 ` [9fans] ipconfig Sam
1 sibling, 3 replies; 12+ messages in thread
From: Sam @ 2003-04-24 16:50 UTC (permalink / raw)
To: 9fans
Oddly enough, we're currently experiencing problems
that we only just discovered about 30 minutes ago.
It started with Brantley noting that our clients
were sending dhcp request messages on average about
one every two seconds. He rebooted to see if it
would go away and now he can't get a terminal.
We replaced dhcpd on April 20 via replica/pull.
I guess we haven't rebooted our terminals since then.
We're using the ``proper'' plan9 setup with diskless
terminals and separate cpu/fs servers.
/sys/log/ipboot contains lines of the form:
edsac Apr 24 12:42:37 not bootrequest
We replaced dhcpd with an older version, restarted it,
and all seems to be back to normal. It is indeed
hard to use yesterday without singing. :)
Sam
On Thu, 24 Apr 2003, David Presotto wrote:
> I think rob saw this also. Could you send me the ip/ipconfig line
> that you're using. I changed it to fix arg processing and sysname
> defaulting (i.e. setting something useful in /net/ndb's sys= entry)
> but can't see what would have caused things to be completely ignored.
>
> All our systems run at boot. Perhaps I broke something for systems
> running ipconfig out of termrc.
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:50 ` Sam
@ 2003-04-24 16:53 ` David Presotto
2003-04-24 16:58 ` Charles Forsyth
2003-04-24 16:59 ` Russ Cox
2 siblings, 0 replies; 12+ messages in thread
From: David Presotto @ 2003-04-24 16:53 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
Odd, our sources for dhcpd haven't changed since sep 2002 and our
binary was last made Feb 15th. However, I see that the dhcpd on
sources was made Apr 20th by rsc. It looks like there's something
rotten in sources, perhaps a library.
[-- Attachment #2: Type: message/rfc822, Size: 2657 bytes --]
From: Sam <sah@softcardsystems.com>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] DHCP weirdness?
Date: Thu, 24 Apr 2003 12:50:13 -0400 (EDT)
Message-ID: <Pine.LNX.4.30.0304241236160.25655-100000@athena>
Oddly enough, we're currently experiencing problems
that we only just discovered about 30 minutes ago.
It started with Brantley noting that our clients
were sending dhcp request messages on average about
one every two seconds. He rebooted to see if it
would go away and now he can't get a terminal.
We replaced dhcpd on April 20 via replica/pull.
I guess we haven't rebooted our terminals since then.
We're using the ``proper'' plan9 setup with diskless
terminals and separate cpu/fs servers.
/sys/log/ipboot contains lines of the form:
edsac Apr 24 12:42:37 not bootrequest
We replaced dhcpd with an older version, restarted it,
and all seems to be back to normal. It is indeed
hard to use yesterday without singing. :)
Sam
On Thu, 24 Apr 2003, David Presotto wrote:
> I think rob saw this also. Could you send me the ip/ipconfig line
> that you're using. I changed it to fix arg processing and sysname
> defaulting (i.e. setting something useful in /net/ndb's sys= entry)
> but can't see what would have caused things to be completely ignored.
>
> All our systems run at boot. Perhaps I broke something for systems
> running ipconfig out of termrc.
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:50 ` Sam
2003-04-24 16:53 ` David Presotto
@ 2003-04-24 16:58 ` Charles Forsyth
2003-04-24 16:59 ` Russ Cox
2 siblings, 0 replies; 12+ messages in thread
From: Charles Forsyth @ 2003-04-24 16:58 UTC (permalink / raw)
To: 9fans
the change to dhcpd.c was to set and use oldheaders
which would explain the diagnostic (it's reading
part of the udp header as a boot request), but on the other
hand, the modified code looks all right to me.
which udp implementation are you using in /sys/src/9/ip? nudp.c or udp.c?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:50 ` Sam
2003-04-24 16:53 ` David Presotto
2003-04-24 16:58 ` Charles Forsyth
@ 2003-04-24 16:59 ` Russ Cox
2 siblings, 0 replies; 12+ messages in thread
From: Russ Cox @ 2003-04-24 16:59 UTC (permalink / raw)
To: 9fans
You might check which ipconfig binary you have.
The correct one is
--rwxrwxr-x M 543586 glenda sys 102975 Apr 24 12:27 /n/sources/plan9/386/bin/ip/ipconfig
There was a bad one on sources for a little while,
and the current source code (if you were to compile it)
doesn't quite work for reasons I don't know.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [9fans] ipconfig
2003-04-24 16:24 ` David Presotto
2003-04-24 16:50 ` Sam
@ 2003-04-24 20:03 ` Sam
2003-04-24 20:56 ` David Presotto
1 sibling, 1 reply; 12+ messages in thread
From: Sam @ 2003-04-24 20:03 UTC (permalink / raw)
To: 9fans
Just to clarify this for me, is there any reason
ipconfig needs to be in termrc for bootp'd terminals?
I think our termrc has been around since 3rd ed
which had ipconfig by default (iirc). If it's
redundant I'd like to pull it.
Sam
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] DHCP weirdness?
2003-04-24 16:09 [9fans] DHCP weirdness? Dan Cross
2003-04-24 16:24 ` David Presotto
@ 2003-04-24 16:43 ` ron minnich
1 sibling, 0 replies; 12+ messages in thread
From: ron minnich @ 2003-04-24 16:43 UTC (permalink / raw)
To: 9fans
On Thu, 24 Apr 2003, Dan Cross wrote:
> >From what I can see, dhcpd on the CPU server responds to the client,
> but the client ignores the response. That is, I can see dhcp requests
> and on the network while running snoopy, and /sys/log/ipboot shows that
> responses are being sent, but the client eventually times out and asks
> me for other boot information.
check the mac-level addressing too, not just IP level. Are the mac
addresses correct?
ron
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [9fans] ipconfig
@ 2001-07-13 12:53 presotto
0 siblings, 0 replies; 12+ messages in thread
From: presotto @ 2001-07-13 12:53 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
The options have to happen before any of the ppsitional arguments.
You really want
ip/ipconfig -g 192.168.0.1 ether /dev/ether0 192.168.0.2 255.255.255.0
Alternately, you could leave out the '-g 192.168.0.1' and just use
echo -n 'add 0 0 192.168.0.1' > /net/iproute
I think the ipconfig is easier but the other lets you change it later.
[-- Attachment #2: Type: message/rfc822, Size: 2792 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 218 bytes --]
Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0
give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ?
Or how do I set my default gateway ?
/Michael Grunditz
[-- Attachment #2.1.2: Type: text/html, Size: 663 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [9fans] ipconfig
@ 2001-07-13 9:31 Grunditz Mikael - migu
0 siblings, 0 replies; 12+ messages in thread
From: Grunditz Mikael - migu @ 2001-07-13 9:31 UTC (permalink / raw)
To: 9fans@cse.psu.edu (E-mail)
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
Does ip/ipconfig ether /dev/ether0 192.168.0.2 -g 192.168.0.1 255.255.255.0
give me an interface with 192.168.0.2 and with default gateway 192.168.0.1 ?
Or how do I set my default gateway ?
/Michael Grunditz
[-- Attachment #2: Type: text/html, Size: 663 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2003-04-27 21:20 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-24 16:09 [9fans] DHCP weirdness? Dan Cross
2003-04-24 16:24 ` David Presotto
2003-04-24 16:50 ` Sam
2003-04-24 16:53 ` David Presotto
2003-04-24 16:58 ` Charles Forsyth
2003-04-24 16:59 ` Russ Cox
2003-04-24 20:03 ` [9fans] ipconfig Sam
2003-04-24 20:56 ` David Presotto
2003-04-27 21:20 ` Russ Cox
2003-04-24 16:43 ` [9fans] DHCP weirdness? ron minnich
-- strict thread matches above, loose matches on Subject: below --
2001-07-13 12:53 [9fans] ipconfig presotto
2001-07-13 9:31 Grunditz Mikael - migu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).