Advertisement
casaper

Router Network Stuff

Jan 22nd, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.42 KB | None | 0 0
  1. # ifconfig br0;
  2. br0        Link encap:Ethernet  HWaddr 60:A4:4C:68:F0:80
  3.            inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  4.            inet6 addr: 2001:1620:$MY_IPV6_NETWORK::1/48 Scope:Global
  5.            inet6 addr: fe80::62a4:4cff:fe68:f080/64 Scope:Link
  6.            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  7.            RX packets:42007 errors:0 dropped:0 overruns:0 frame:0
  8.            TX packets:35460 errors:0 dropped:0 overruns:0 carrier:0
  9.            collisions:0 txqueuelen:0
  10.            RX bytes:5302983 (5.0 MiB)  TX bytes:8447249 (8.0 MiB)
  11.            
  12. # ifconfig eth0;
  13. eth0       Link encap:Ethernet  HWaddr 02:8A:07:40:DE:76
  14.            inet addr: $MY_WAN_IPV4.184.108  Bcast: $MY_WAN_IPV4.185.255  Mask:255.255.254.0
  15.            inet6 addr: fe80::8a:7ff:fe40:de76/64 Scope:Link
  16.            inet6 addr: 2001:1620:5:1::$MY_WAN_IPV6:/64 Scope:Global
  17.            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  18.            RX packets:246126 errors:0 dropped:0 overruns:0 frame:0
  19.            TX packets:161297 errors:0 dropped:0 overruns:0 carrier:0
  20.            collisions:0 txqueuelen:1000
  21.            RX bytes:234300580 (223.4 MiB)  TX bytes:20700611 (19.7 MiB)
  22.            Interrupt:4 Base address:0x2000
  23.  
  24. # route -A inet6
  25. Kernel IPv6 routing table
  26. Destination                                 Next Hop                                Flags Metric Ref    Use Iface
  27. 2001:1620:5:1::1/128                        ::                                      U     1      1        0 eth0
  28. 2001:1620:5:1::/64                          ::                                      U     256    0        0 eth0
  29. 2001:1620:$MY_IPV6_NETWORK:0:a10d:e594:9179:81da/128    2001:1620:$MY_IPV6_NETWORK:0:a10d:e594:9179:81da    UC    0      43       0 br0
  30. 2001:1620:$MY_IPV6_NETWORK::/48                         ::                                      U     256    0        0 br0
  31. fe80::8a:7ff:fe40:de76/128                  fe80::8a:7ff:fe40:de76                  UC    0      15       0 eth0
  32. fe80::219:7ff:fe65:741a/128                 fe80::219:7ff:fe65:741a                 UC    0      9        0 eth0
  33. fe80::/64                                   ::                                      U     256    0        0 eth1
  34. fe80::/64                                   ::                                      U     256    0        0 eth2
  35. fe80::/64                                   ::                                      U     256    0        0 br0
  36. fe80::/64                                   ::                                      U     256    0        0 eth0
  37. ::/0                                        2001:1620:5:1::1                        UG    1      381       0 eth0
  38. ::1/128                                     ::                                      U     0      0        1 lo
  39. 2001:1620:5:1::/128                         ::                                      U     0      0        2 lo
  40. 2001:1620:5:1::$MY_WAN_IPV6:/128                       ::                                      U     0      160       1 lo
  41. 2001:1620:$MY_IPV6_NETWORK::/128                        ::                                      U     0      0        2 lo
  42. 2001:1620:$MY_IPV6_NETWORK::1/128                       ::                                      U     0      87       1 lo
  43. fe80::/128                                  ::                                      U     0      0        2 lo
  44. fe80::/128                                  ::                                      U     0      0        2 lo
  45. fe80::/128                                  ::                                      U     0      0        2 lo
  46. fe80::62a4:4cff:fe68:f080/128               ::                                      U     0      0        1 lo
  47. fe80::62a4:4cff:fe68:f080/128               ::                                      U     0      93       1 lo
  48. fe80::62a4:4cff:fe68:f084/128               ::                                      U     0      0        1 lo
  49. ff02::1/128                                 ff02::1                                 UC    0      169       0 br0
  50. ff02::66/128                                ff02::66                                UC    0      1063       0 eth0
  51. ff00::/8                                    ::                                      U     256    0        0 eth1
  52. ff00::/8                                    ::                                      U     256    0        0 eth2
  53. ff00::/8                                    ::                                      U     256    0        0 br0
  54. ff00::/8                                    ::                                      U     256    0        0 eth0
  55.  
  56. # ping6 -c 3 2001:1620:5:1::1;
  57. PING 2001:1620:5:1::1 (2001:1620:5:1::1): 56 data bytes
  58. 64 bytes from fe80::219:7ff:fe65:741a: seq=0 ttl=64 time=669.083 ms
  59. 64 bytes from fe80::219:7ff:fe65:741a: seq=1 ttl=64 time=6.826 ms
  60. 64 bytes from fe80::219:7ff:fe65:741a: seq=2 ttl=64 time=0.689 ms
  61.  
  62. --- 2001:1620:5:1::1 ping statistics ---
  63. 3 packets transmitted, 3 packets received, 0% packet loss
  64. round-trip min/avg/max = 0.689/225.532/669.083 ms
  65.  
  66. # ping6 -c 3 google.com
  67. PING google.com (2a00:1450:400a:807::1008): 56 data bytes
  68. 64 bytes from 2a00:1450:400a:807::1008: seq=0 ttl=58 time=664.791 ms
  69. 64 bytes from 2a00:1450:400a:807::1008: seq=1 ttl=58 time=0.963 ms
  70. 64 bytes from 2a00:1450:400a:807::1008: seq=2 ttl=58 time=0.963 ms
  71.  
  72. --- google.com ping statistics ---
  73. 3 packets transmitted, 3 packets received, 0% packet loss
  74. round-trip min/avg/max = 0.963/222.239/664.791 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement