User Tools

Site Tools


documentation:examples:ecmp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:examples:ecmp [2020/01/26 19:46] – [Testing Load balancing] olivierdocumentation:examples:ecmp [2020/09/19 17:41] – [Testing Load balancing] olivier
Line 151: Line 151:
  recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire  recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
                                     1500       100         0                                     1500       100         0
 +
 [root@VM2]~# netstat -4onW [root@VM2]~# netstat -4onW
 Nexthop data Nexthop data
Line 156: Line 157:
 Internet: Internet:
 Idx   Type         IFA                Gateway             Flags      Use Mtu         Netif     Addrif Refcnt Prepend Idx   Type         IFA                Gateway             Flags      Use Mtu         Netif     Addrif Refcnt Prepend
 +1       v4/resolve 127.0.0.1          lo0/resolve        HS            2  16384        lo0               1
 +2       v4/resolve 10.0.12.2          vtnet0/resolve                     1500     vtnet0               1
 +3       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet0     1
 4       v4/resolve 10.0.23.2          vtnet1/resolve                     1500     vtnet1               1 4       v4/resolve 10.0.23.2          vtnet1/resolve                     1500     vtnet1               1
 +5       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet1     1
 6       v4/resolve 10.0.24.2          vtnet2/resolve                     1500     vtnet2               1 6       v4/resolve 10.0.24.2          vtnet2/resolve                     1500     vtnet2               1
-2       v4/resolve 10.0.12.2          vtnet0/resolve                     1500     vtnet0               1 
-1       v4/resolve 127.0.0.1          lo0/resolve        HS            6  16384        lo0               1 
 7       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet2     1 7       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet2     1
-5       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet1     1 +           v4/gw 10.0.23.2          10.0.23.         GS              1500     vtnet1               2 
-3       v4/resolve 127.0.0.1          lo0/resolve        HS            0  16384        lo0    vtnet0     1 +           v4/gw 10.0.24.2          10.0.24.         GS              1500     vtnet2               2 
-           v4/gw 10.0.24.2          10.0.24.         GS              1500     vtnet2               2 +           
-           v4/gw 10.0.23.2          10.0.23.         GS              1500     vtnet1               2 +[root@VM2]~# route -n6 get 2001:db8:56::/64 
-Nexthop groups data +   route to: 2001:db8:56:: 
-BUF192 +destination: 2001:db8:56:
- +       mask: ffff:ffff:ffff:ffff:: 
-Internet+    gateway: 2001:db8:24::4 
-MpIdx NHIdx Weigh Slots            Gateway Netif      Refcnt +        fib: 0 
-1      ---- ---- ----              ----      ----    1 +  interface: vtnet2 
-            100              10.0.24.4    vtnet2 +      flags: <UP,GATEWAY,DONE,STATIC> 
-            100              10.0.23.3    vtnet1+ recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire 
 +                                    1500                 0
 </code> </code>
 ==== VM 3 (router) ==== ==== VM 3 (router) ====
Line 299: Line 303:
 | 10.0.12.1 | 10.0.35.5 | VM3 | VM4 | | 10.0.12.1 | 10.0.35.5 | VM3 | VM4 |
 | 10.0.12.1 | 10.0.45.5 | VM4 | VM4 | | 10.0.12.1 | 10.0.45.5 | VM4 | VM4 |
-| 10.0.12.1 | 10.0.56.6 | VM3 | VM4 | +| 10.0.12.1 | 10.0.56.6 | VM4 | VM4 | 
-| 10.0.12.11 | 10.0.56.16 | VM3 | VM4 | +| 10.0.12.11 | 10.0.56.16 | VM4 | VM4 | 
-| 10.0.12.21 | 10.0.56.26 | VM3 | VM4 | +| 10.0.12.21 | 10.0.56.26 | VM4 | VM4 | 
-| 10.0.12.31 | 10.0.56.36 | VM3 | VM4 | +| 10.0.12.31 | 10.0.56.36 | VM4 | VM4 | 
-| 10.0.12.41 | 10.0.56.46 | VM3 | VM4 | +| 10.0.12.41 | 10.0.56.46 | VM4 | VM4 | 
-| 10.0.12.51 | 10.0.56.56 | VM3 | VM4 | +| 10.0.12.51 | 10.0.56.56 | VM4 | VM4 | 
-| 2001:db8:12::1 | 2001:db8:56::6 | error error +| 2001:db8:12::1 | 2001:db8:56::6 | VM4 VM4 
-| 2001:db8:12::11 | 2001:db8:56::16 | error error +| 2001:db8:12::11 | 2001:db8:56::16 | VM4 VM4 
-| 2001:db8:12::21 | 2001:db8:56::26 | error error +| 2001:db8:12::21 | 2001:db8:56::26 | VM4 VM4 
-| 2001:db8:12::31 | 2001:db8:56::36 | error error +| 2001:db8:12::31 | 2001:db8:56::36 | VM4 VM4 
-| 2001:db8:12::41 | 2001:db8:56::46 | error error +| 2001:db8:12::41 | 2001:db8:56::46 | VM4 VM4 
-| 2001:db8:12::51 | 2001:db8:56::56 | error error | +| 2001:db8:12::51 | 2001:db8:56::56 | VM4 VM4 |
- +
- +
-Notice inet6 bug: Cannot ping itself neither neighbor +
-<code> +
-[root@VM1]~# ifconfig vtnet0 inet6 +
-vtnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 +
-        options=80028<VLAN_MTU,JUMBO_MTU,LINKSTATE> +
-        inet6 fe80::5a9c:fcff:fe01:201%vtnet0 prefixlen 64 scopeid 0x1 +
-        inet6 2001:db8:12::1 prefixlen 64 +
-        inet6 2001:db8:12::11 prefixlen 64 +
-        inet6 2001:db8:12::21 prefixlen 64 +
-        inet6 2001:db8:12::31 prefixlen 64 +
-        inet6 2001:db8:12::41 prefixlen 64 +
-        inet6 2001:db8:12::51 prefixlen 64 +
-        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> +
-[root@VM1]~# ping6 -c 1 fe80::5a9c:fcff:fe01:201%vtnet0 +
-PING6(56=40+8+8 bytes) fe80::5a9c:fcff:fe01:201%vtnet0 --> fe80::5a9c:fcff:fe01:201%vtnet0 +
- +
---- fe80::5a9c:fcff:fe01:201%vtnet0 ping6 statistics --- +
-1 packets transmitted, 0 packets received, 100.0% packet loss +
-[root@VM1]~# ping6 -c 12001:db8:12::+
-ping6: illegal number of packets -- 12001:db8:12::+
-[root@VM1]~# ping6 -c 1 2001:db8:12::+
-PING6(56=40+8+8 bytes) 2001:db8:12::1 --> 2001:db8:12::+
- +
---- 2001:db8:12::2 ping6 statistics --- +
-1 packets transmitted, 0 packets received, 100.0% packet loss +
-</code> +
 ==== Testing Fail Over ==== ==== Testing Fail Over ====
  
documentation/examples/ecmp.txt · Last modified: 2024/03/28 23:19 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki