> For the complete documentation index, see [llms.txt](https://anida-huang.gitbook.io/computer-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anida-huang.gitbook.io/computer-network/qi-zhong/20201014-introduction-ipv6.md).

# 20201014 Introduction IPV6

## 課堂資料

### IPV6

![](/files/-MJ_1NddX19jjTZfDz0m)

## 課堂練習

![](/files/-MLTYxpy-HTY0Fi6Oa0T)

{% tabs %}
{% tab title="Router 指令" %}

```
conf t
```

>

```
ipv6 unicast-routing
```

>

```
ipv6 route 2001:1::/64 2012::1
```

>

```
int lo 0
```

>

```
ipv6 addr 2001:2::1/64
```

```
no shut
```

>

```
int e 0/0
```

>

```
ipv6 addr 2012::2/64
```

```
no shut
```

![](/files/-MLTNODVjzoxIiLh99Xh)
{% endtab %}

{% tab title="Switch 指令" %}

>

```
ipv6 unicast-routing
```

>

```
ipv6 route ::/0 2012::2
```

>

```
int e 0/0
```

>

```
no switchport
```

>

```
ipv6 enable
```

>

```
ipv6 addr 2012::1/64
```

>

```
no shut
```

![](/files/-MLTN4PuteM8XC8umkjB)

```
do ping 2012::1
```

```
do ping 2012::2
```

```
do ping 2001:2::1
```

![](/files/-MLTPbljQgKKOrz2MRjt)

```
ipv6 route ::/0 2012::2
```

```
do ping 2001:2::1
```

![](/files/-MLTR1zNEpdyDzikASwb)

### VLAN 10&#x20;

>

```
int vlan 10
```

>

```
ipv6 enable
```

>

```
ipv6 addr 2001:1::FFFF/64
```

>

```
no shut
```

>

```
int e 0/1
```

>

```
switch mode access
```

>

```
sw access vlan 10
```

![](/files/-MLTTobalS9NnR51BJ-a)

```
int vlan 10
```

```
no ipv6 nd suppress-ra
```

![](/files/-MLTYaa5pNSV5nkNKty3)

![](/files/-MLT_CE01cQSI1-j4Rhd)
{% endtab %}

{% tab title="VPC 指令" %}

>

```
ip 2001:1::1/64 2001:1::FFFF
```

```
sh ipv6
```

```
ping 2001:1::1
```

```
ping 2001:1::FFFF
```

```
ping 2012::1
```

```
ping 2012::2
```

![](/files/-MLTV19HEmfMFWdZLwd6)

```
sh ipv6
```

```
sh ip
```

![](/files/-MLTaH40_YONTGbyb4Jg)

```
ping 2012::2
```

![](/files/-MLTbb97VB7n-KzcpfG9)
{% endtab %}
{% endtabs %}

#### Router

{% hint style="info" %}
**ECMP：equal cost multiple path routing**
{% endhint %}
