9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ipconfig
@ 2001-07-13  9:31 Grunditz Mikael - migu
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Re: [9fans] ipconfig
@ 2001-07-13 12:53 presotto
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread
* Re: [9fans] DHCP weirdness?
@ 2003-04-24 16:24 David Presotto
  2003-04-24 20:03 ` [9fans] ipconfig Sam
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2003-04-27 21:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13  9:31 [9fans] ipconfig Grunditz Mikael - migu
2001-07-13 12:53 presotto
2003-04-24 16:24 [9fans] DHCP weirdness? David Presotto
2003-04-24 20:03 ` [9fans] ipconfig Sam
2003-04-24 20:56   ` David Presotto
2003-04-27 21:20     ` Russ Cox

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).