Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use route command to add new route in my routing table. But it my new root is not added. Also it doesn't show any error for my command. Here is the console

#route add ::/0 via fe::2
route: resolving fe::2
#

So when I use route -A inet6, I can't see the newly added route.

share|improve this question

migrated from stackoverflow.com Jul 25 '12 at 13:10

This question came from our site for professional and enthusiast programmers.

    
... You're trying to add a default route via local-link addresses? –  Ignacio Vazquez-Abrams Jul 25 '12 at 5:21
    
I don't know about local address. But I want to assign this address,fe80::02d9:98ff:fec1:8eea as default route to my linux machine. –  theB Jul 25 '12 at 5:23
add comment

1 Answer

I found the answer. The correct syntax to add a route is

#ip -6 route add <destination> dev <device> via <gateway>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.