From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ipconfig
Date: Fri, 13 Jul 2001 08:53:05 -0400 [thread overview]
Message-ID: <20010713125307.C4D4E199E4@mail.cse.psu.edu> (raw)
[-- 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 --]
next reply other threads:[~2001-07-13 12:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-13 12:53 presotto [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2001-07-13 9:31 Grunditz Mikael - migu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010713125307.C4D4E199E4@mail.cse.psu.edu \
--to=presotto@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).