Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Fri Dec 14, 2018 12:07 am


This forum discusses commands, ideas, implementation steps, thoughts about IPv6 in the net.

Author Message
admin
Post  Post subject: Linux IPv6 interface and route commands  |  Posted: Wed May 25, 2016 11:16 am
Site Admin

Joined: Mon Aug 03, 2009 8:43 am
Posts: 104

Offline
 

Linux IPv6 interface and route commands

Quick list of commands used in Linux for IPv6:

1. Show IPv6 routing table
Code:
# ip -6 route show


2. Show IPv6 route cache
Code:
# ip -6 route show cache

This is used when troubleshooting IPv6 Path MTU Discovery (PMTUD)
Code:
# ip -6 route show cache
2001:470:1:18::1280 via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache  expires 240sec mtu 1280 rtt 144ms rttvar 144ms cwnd 4
2607:f8b0:4002:c03::10c via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache
2607:f8b0:4002:c05::105 via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache
2607:f8b0:4002:c05::109 via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache
2607:f8b0:4002:c05::10b via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache
2607:f8b0:4002:c05::10c via fe80::215:62ff:fe55:6444 dev eth0  metric 0
    cache

For more info, check "man ip" and "man ip-route"

3. Add IPv6 route
Code:
# ip -6 route add default via 2000::1

or
Code:
# ip -6 route add ::/0 via 2000::1


4. Delete IPv6 route
Code:
# ip -6 route del default via 2000::1


6. Check routing table for specific IPv6 destination
Code:
# ip -6 route get 2000::1
2000::1 from :: via fe80::215:62ff:fe55:6444 dev eth0  src 2602:ffa6:700:503::288:1  metric 0
    cache


This is an open topic open to additions.

_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com





Junos IPv6 static route with local-link next-hop.


Top
Display posts from previous:  Sort by  
Print view

Topics related to - "Linux IPv6 interface and route commands"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Junos IPv6 static route with local-link next-hop

admin

0

1242

Thu May 26, 2016 8:09 am

admin View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO