Ignore:
Timestamp:
2011-05-08T19:03:07+02:00 (5 years ago)
Author:
thepeople
Message:

Deployment of IPv6 has opened up many more prefixes than just the
2000::/3 space, so a default route of ::/0 is more correct.
Thanks Dave Taht

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/6to4/files/6to4.sh

    r24219 r26857  
    161161                [ "$defaultroute" = 1 ] && { 
    162162                        logger -t "$link" " * Adding default route" 
    163                         ip -6 route add 2000::/3 via ::192.88.99.1 metric ${metric:-1} dev $link 
     163                        ip -6 route add ::/0 via ::192.88.99.1 metric ${metric:-1} dev $link 
    164164                        uci_set_state network "$cfg" defaultroute 1 
    165165                } 
     
    240240 
    241241                [ "$defaultroute" = "1" ] && { 
    242                         ip -6 route del 2000::/3 via ::192.88.99.1 dev $link metric 1 
     242                        ip -6 route del ::/0 via ::192.88.99.1 dev $link metric 1 
    243243                } 
    244244 
Note: See TracChangeset for help on using the changeset viewer.