The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Where are routes stored ? hcclnoodles SUN Solaris 5 10-16-2006 11:41 PM
how to add default routes in SCO tayyabq8 SCO 1 08-31-2005 11:35 AM
Setting Routes and such djsal Debian 2 06-17-2004 07:49 AM
newbie questions on ntp and routes jalburger Linux 1 06-15-2004 02:31 PM
How to add 2 gateway routes? cstovall UNIX for Dummies Questions & Answers 3 07-25-2003 11:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-21-2007
phalcos phalcos is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 4
How to delete some ipv6 routes?

Hi,

How can i delete the following routes on my OpenBSD 4.1 system?

Code:
# route -n show (including only relevant ipv6-routes)
Code:
Internet6: 
Destination        Gateway       Flags        Refs      Use         Mtu         Interface

::/104             ::1           UGRS         1         0           -           lo0
2002::/24          ::1           UGRS         0         0           -           lo0
2002:7f00::/24     ::1           UGRS         0         0           -           lo0
fe80::%sk0/64      link#2        UC           0         0           -           sk0
fe80::%lo0/64      fe80::1%lo0   U            0         0           -           lo0
ff01::%lo0/32      ::1           UC           0         0           -           lo0
It is the rest of the routing values that i didn't manage to remove after reading "man 8 route" so, will you please help me? :-)

Thank you,
James
  #2 (permalink)  
Old 08-21-2007
phalcos phalcos is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 4
Solved

I solved it. Here are some example solutions;

To remove ::/104 you type;
Code:
route delete -inet6 :: -prefixlen 104
To remove fe80::%sk0/64 you type:
Code:
route delete -inet6 fe80::%sk0 -prefixlen 24
To remove ff01::%lo0/32 you type:
Code:
route delete -inet6 ff01::%lo0 -prefixlen 32
Without any concern for the gateway. Yay.

Hope this will help someone.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0