On Tue, May 05, 2009 at 01:27:21PM +0200, LEVAI Daniel wrote: > Hi! > > I have this in my route table: > 10/8 link#1 UC 5 0 - 4 em0 > 10/8 <gw_ip> UGS 0 1072 - 8 tun1 > > How can I delete only the first line, the route with the em0 device? > So far I can only execute this: > # route delete 10/8 > > But this is too ambigious. > > I thought of something like this: > # route delete 10/8 -dev em0 > but of course this will not gonna happen. >
ifconfig em0 delete because this is a interface route and not deletable by route(8) unless you know the magic and the consequences. -- :wq Claudio