9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: [9fans] ip/ipconfig question
Date: Mon, 28 Jan 2008 12:12:56 -0500	[thread overview]
Message-ID: <7bda58dd38b633438760d4809a2d7b56@quanstro.net> (raw)

i can't seem to get unconfiguring an ip address
from an interface correct.  here's the external
routes on one of our main machines

	minooka; cat /net.alt/iproute
	0.0.0.0         /96  65.14.39.129    4    none   0
	65.0.0.0        /128 65.0.0.0        4b   ifc    -
	65.14.39.128    /123 65.14.39.128    4i   ifc    0
	65.14.39.128    /128 65.14.39.128    4b   ifc    -
	65.14.39.134    /128 65.14.39.134    4u   ifc    0
	65.14.39.159    /128 65.14.39.159    4b   ifc    -
	65.255.255.255  /128 65.255.255.255  4b   ifc    -
	12.0.0.0        /128 12.0.0.0        4b   ifc    -
	12.51.113.0     /123 12.51.113.0     4i   ifc    0
	12.51.113.0     /128 12.51.113.0     4b   ifc    -
	12.51.113.6     /128 12.51.113.6     4u   ifc    0
	12.51.113.31    /128 12.51.113.31    4b   ifc    -
	12.255.255.255  /128 12.255.255.255  4b   ifc    -

i want to delete all the 65. routes and make the default
gw 12.51.113.1.  this does not seem to work

	ip/ipconfig -x /net.alt -g 65.14.39.129 ether /net.alt/ether? delete 65.14.39.134 /123

the default route remains.  deleting the default route by hand
results in a number of odd looking ip6 routes.  (unfortunately
i killed that window.)  using the "unbind" verb instead hangs.

- erik


             reply	other threads:[~2008-01-28 17:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 17:12 erik quanstrom [this message]
2008-01-28 18:57 ` lucio
2008-01-28 19:27   ` erik quanstrom
2008-01-28 20:53     ` lucio

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=7bda58dd38b633438760d4809a2d7b56@quanstro.net \
    --to=quanstro@quanstro.net \
    --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).