3. Removing an IPv6 route through a gateway Not so often needed manually, mostly done by network configure scripts on shutdown (full or per interface) 3.1. Using "ip" Usage: # /sbin/ip -6 route del <ipv6network>/<prefixlength> via <ipv6address> ¬ [dev <device>] Save Example: # /sbin/ip -6 route del default via 2001:0db8:0:f101::1 Save 3.2. Using "route" Usage: # /sbin/route -A inet6 del <network>/<prefixlength> gw <ipv6address> [dev ¬ <device>] Save Example for removing upper added route again: # /sbin/route -A inet6 del default gw 2001:0db8:0:f101::1
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter