Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 11:42:18 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        jin@george.lbl.gov
Cc:        freebsd-bugs@freebsd.org, ru@freebsd.org
Subject:   Re: bin/2258: route add/delete [network] xxx.yyy.zzz.0 my-IP
Message-ID:  <200002161942.LAA28955@windsor.research.att.com>

next in thread | raw e-mail | index | archive | help

># route add default 128.33.196.11 1
>add net default: gateway 128.33.196.11

Adding the metric at the end there has been being phased out since 1995
or so.  It has been phased out completely now and means something
else, since the route that you actually added has a netmask of 0.0.0.1:

>Destination        Gateway            Flags      Netif Expire
>0&0x1              128.33.196.11      UGSc        ep0 =>

You need to try deleting the route that you added;

route delete default 128.33.196.11 1

I agree that your "route delete default 128.33.196.11" command should not
have claimed that it deleted the route, but that's the only bug I see here.
(I guess you might claim that removing comaptability for a syntax that
started going away 5 years ago is a bug; I have no strong feeling about
this.)

  Bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002161942.LAA28955>