summaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-12-12 13:01:43 +0100
committerGuillaume Mazoyer <respawneral@gmail.com>2014-12-12 13:01:43 +0100
commit464ae23f92b5056cc1dc1bf7bf701a58187447c3 (patch)
tree4f4cb47d2cd129ec8358fe0c684d6d73ad81b307 /docs/configuration.md
parent7436934fe3e1d28ca4c1124ccec5bbcdecdc986f (diff)
Improve 'source-interface-id' option.
On software router, an IPv4 and IPv6 addresses need to be specified. Not specifying one of them or both will result in the router trying to use the best address to contact the destination. This fix the bug where software routers could not ping or traceroute IPv6 destination with only a IPv4 source address (obviously).
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index 39257da..3c0061d 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -116,9 +116,12 @@ $config['routers']['router1']['source-interface-id'] = 'lo0';
```
for Cisco and Juniper routers (change lo0 with your interface), and with:
```php
-$config['routers']['router1']['source-interface-id'] = '192.168.1.1';
+$config['routers']['router1']['source-interface-id']['ipv4'] = '192.168.1.1';
+$config['routers']['router1']['source-interface-id']['ipv6'] = '2001:db8::1';
```
-for BIRD and Quagga routers (use your own IP address).
+for BIRD and Quagga routers (use your own IP addresses). Omitting the IPv4 or
+the IPv6 version of the source address will result in the router trying to use
+the best IP address to contact the destination.
After that you need to set the authentication information for the looking
glass to be able to log into the router. For this you select a type of