Susant Sahani
203d4df573
network: Add support to advertie ipv6 route
Implements https://tools.ietf.org/html/rfc4191
cat veth99.network
```
[Match]
Name=veth99
[Network]
DHCP=no
IPv6PrefixDelegation=yes
Address=2001:db8:0:1::1/64
[IPv6Prefix]
Prefix=2001:db8:0:1::4/64
[IPv6RoutePrefix]
Route=2001:db0:fff::/48
```
Wireshark
```
Frame 481: 142 bytes on wire (1136 bits), 142 bytes captured (1136 bits) on interface 0
Ethernet II, Src: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4), Dst: IPv6mcast_01 (33:33:00:00:00:01)
Internet Protocol Version 6, Src: fe80::1c04:f8ff:feb8:2fd4, Dst: ff02::1
Internet Control Message Protocol v6
Type: Router Advertisement (134)
Code: 0
Checksum: 0xec77 [correct]
[Checksum Status: Good]
Cur hop limit: 0
Flags: 0x00, Prf (Default Router Preference): Medium
Router lifetime (s): 0
Reachable time (ms): 0
Retrans timer (ms): 0
ICMPv6 Option (Source link-layer address : 1e:04:f8:b8:2f:d4)
Type: Source link-layer address (1)
Length: 1 (8 bytes)
Link-layer address: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4)
ICMPv6 Option (MTU : 1500)
Type: MTU (5)
Length: 1 (8 bytes)
Reserved
MTU: 1500
ICMPv6 Option (Prefix information : 2001:db8:0:1::4/64)
Type: Prefix information (3)
Length: 4 (32 bytes)
Prefix Length: 64
Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A)
Valid Lifetime: 2592000
Preferred Lifetime: 604800
Reserved
Prefix: 2001:db8:0:1::4
ICMPv6 Option (Route Information : Medium 2001:db0:fff::/48)
Type: Route Information (24)
Length: 3 (24 bytes)
Prefix Length: 48
Flag: 0x00, Route Preference: Medium
...0 0... = Route Preference: Medium (0)
000. .000 = Reserved: 0
Route Lifetime: 604800
Prefix: 2001:db0:fff::
```
2019-09-17 12:09:59 +02:00
..
2019-07-30 02:30:09 +09:00
2019-09-11 21:15:22 +09:00
2019-07-16 14:39:02 +02:00
2019-02-25 12:35:51 +09:00
2019-03-12 19:30:05 +01:00
2019-03-12 19:30:05 +01:00
2019-07-17 06:59:12 +09:00
2019-09-09 20:01:54 +05:30
2019-07-15 21:52:06 +09:00
2019-03-13 11:59:18 +09:00
2019-05-07 16:55:19 +02:00
2019-03-01 15:52:12 +09:00
2019-08-27 15:31:48 +02:00
2019-03-13 11:59:18 +09:00
2019-07-05 16:37:34 +09:00
2019-06-30 04:45:56 +09:00
2019-05-22 17:58:46 +09:00
2019-05-11 06:24:00 +09:00
2019-06-01 10:24:47 +09:00
2019-09-17 08:09:44 +09:00
2019-06-30 04:45:56 +09:00
2019-08-26 15:40:30 +09:00
2019-06-30 04:46:04 +09:00
2019-08-16 22:02:17 +09:00
2019-07-10 17:33:09 +09:00
2019-06-30 04:46:27 +09:00
2019-06-30 04:46:27 +09:00
2019-08-27 15:31:48 +02:00
2019-07-11 22:22:29 +09:00
2019-06-01 10:24:47 +09:00
2019-09-15 22:33:11 +09:00
2019-06-30 04:45:56 +09:00
2019-05-09 03:21:31 +02:00
2019-03-13 11:59:18 +09:00
2019-07-17 06:59:12 +09:00
2019-07-17 06:59:12 +09:00
2019-09-15 22:33:11 +09:00
2019-09-15 22:33:11 +09:00
2019-07-24 18:23:08 +09:00
2019-05-11 06:14:39 +09:00
2019-07-24 18:23:08 +09:00
2019-05-11 06:14:39 +09:00
2019-07-17 06:59:12 +09:00
2019-07-17 06:59:12 +09:00
2019-09-15 22:33:11 +09:00
2019-08-12 20:28:19 +09:00
2019-07-15 21:52:06 +09:00
2019-05-19 22:23:06 +09:00
2019-08-12 20:28:19 +09:00
2019-08-12 20:28:19 +09:00
2019-06-30 05:12:51 +09:00
2019-06-30 05:12:51 +09:00
2019-09-17 12:09:59 +02:00
2019-09-17 12:09:59 +02:00
2019-09-17 12:09:59 +02:00
2019-09-17 12:09:59 +02:00
2019-09-17 12:09:59 +02:00
2019-09-15 22:33:11 +09:00
2019-08-07 20:32:36 +09:00
2019-09-15 22:33:11 +09:00
2019-08-16 22:02:17 +09:00
2019-06-16 09:13:12 +09:00
2019-06-01 10:24:47 +09:00
2019-08-16 22:02:17 +09:00
2019-08-16 22:02:17 +09:00
2019-08-12 20:28:19 +09:00
2019-06-01 10:24:47 +09:00
2019-07-17 06:59:12 +09:00
2019-09-12 18:35:49 +02:00
2019-08-16 22:02:17 +09:00
2019-05-09 02:33:33 +02:00
2019-08-19 09:54:06 +02:00
2019-08-16 22:01:17 +09:00