On Tue, May 5, 2009 at 4:27 AM, LEVAI Daniel <l...@ecentrum.hu> wrote: > 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.
You've assigned an address on 10/8 to em0. Delete that address from the interface if you don't want to have that route. (If you're trying to have 10/8 on both ends of a tunnel then you need to back up and rethink what you're trying to do.) Philip Guenther