9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ip/ipconfig question
@ 2008-01-28 17:12 erik quanstrom
  2008-01-28 18:57 ` lucio
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2008-01-28 17:12 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] ip/ipconfig question
  2008-01-28 17:12 [9fans] ip/ipconfig question erik quanstrom
@ 2008-01-28 18:57 ` lucio
  2008-01-28 19:27   ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: lucio @ 2008-01-28 18:57 UTC (permalink / raw)
  To: 9fans

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

why, if you want a default route of 12.51.113.1, do you specify
65.14.39.129 in the line above?

++L


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] ip/ipconfig question
  2008-01-28 18:57 ` lucio
@ 2008-01-28 19:27   ` erik quanstrom
  2008-01-28 20:53     ` lucio
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2008-01-28 19:27 UTC (permalink / raw)
  To: 9fans

> > 	ip/ipconfig -x /net.alt -g 65.14.39.129 ether /net.alt/ether? delete 65.14.39.134 /123
> 
> why, if you want a default route of 12.51.113.1, do you specify
> 65.14.39.129 in the line above?
> 
> ++L

because the verb is "delete."  i don't want to delete the new gateway.

(nonetheless, i did try it and it does not work.)

- erik


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] ip/ipconfig question
  2008-01-28 19:27   ` erik quanstrom
@ 2008-01-28 20:53     ` lucio
  0 siblings, 0 replies; 4+ messages in thread
From: lucio @ 2008-01-28 20:53 UTC (permalink / raw)
  To: 9fans

> because the verb is "delete."  i don't want to delete the new gateway.
> 
> (nonetheless, i did try it and it does not work.)

Oops, blonde moment.  Sorry for the noise.

++L


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-28 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-28 17:12 [9fans] ip/ipconfig question erik quanstrom
2008-01-28 18:57 ` lucio
2008-01-28 19:27   ` erik quanstrom
2008-01-28 20:53     ` lucio

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