[9fans] ip/ipconfig question - Plan9

This is a discussion on [9fans] ip/ipconfig question - Plan9 ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [9fans] ip/ipconfig question

  1. [9fans] ip/ipconfig question

    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

  2. Re: [9fans] ip/ipconfig question

    > 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


  3. Re: [9fans] ip/ipconfig question

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

  4. Re: [9fans] ip/ipconfig question

    > 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


+ Reply to Thread