Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. PING 10.0.0.6 (10.0.0.6) from 10.0.0.5 eth1: 56(84) bytes of data.
  2. From 10.0.0.5 icmp_seq=1 Destination Host Unreachable
  3. From 10.0.0.5 icmp_seq=2 Destination Host Unreachable
  4. From 10.0.0.5 icmp_seq=3 Destination Host Unreachable
  5. From 10.0.0.5 icmp_seq=4 Destination Host Unreachable
  6. From 10.0.0.5 icmp_seq=5 Destination Host Unreachable
  7. From 10.0.0.5 icmp_seq=6 Destination Host Unreachable
  8. ^C
  9. --- 10.0.0.6 ping statistics ---
  10. 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6018ms
  11. pipe 4
  12.  
  13. 21:27:19.666738 ARP, Request who-has 10.0.0.6 tell 10.0.0.5, length 28
  14. 21:27:20.666636 ARP, Request who-has 10.0.0.6 tell 10.0.0.5, length 28
  15. ...
  16.  
  17. eth0 Link encap:Ethernet HWaddr 00:15:5d:0e:f9:09
  18. inet addr:172.16.33.225 Bcast:172.16.39.255 Mask:255.255.248.0
  19. inet6 addr: fe80::215:5dff:fe0e:f909/64 Scope:Link
  20. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  21. RX packets:480545 errors:0 dropped:7810 overruns:0 frame:0
  22. TX packets:10662 errors:0 dropped:0 overruns:0 carrier:0
  23. collisions:0 txqueuelen:1000
  24. RX bytes:50354580 (50.3 MB) TX bytes:1754707 (1.7 MB)
  25.  
  26. eth1 Link encap:Ethernet HWaddr 00:15:5d:0e:f9:0a
  27. inet addr:10.0.0.5 Bcast:10.255.255.255 Mask:255.0.0.0
  28. inet6 addr: fe80::215:5dff:fe0e:f90a/64 Scope:Link
  29. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  30. RX packets:107 errors:0 dropped:0 overruns:0 frame:0
  31. TX packets:506 errors:0 dropped:0 overruns:0 carrier:0
  32. collisions:0 txqueuelen:1000
  33. RX bytes:9293 (9.2 KB) TX bytes:100827 (100.8 KB)
  34.  
  35. eth2 Link encap:Ethernet HWaddr 00:15:5d:0e:f9:0b
  36. inet addr:10.0.0.6 Bcast:10.255.255.255 Mask:255.0.0.0
  37. inet6 addr: fe80::215:5dff:fe0e:f90b/64 Scope:Link
  38. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  39. RX packets:347 errors:0 dropped:0 overruns:0 frame:0
  40. TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
  41. collisions:0 txqueuelen:1000
  42. RX bytes:20373 (20.3 KB) TX bytes:6448 (6.4 KB)
  43.  
  44. lo Link encap:Local Loopback
  45. inet addr:127.0.0.1 Mask:255.0.0.0
  46. inet6 addr: ::1/128 Scope:Host
  47. UP LOOPBACK RUNNING MTU:65536 Metric:1
  48. RX packets:5523 errors:0 dropped:0 overruns:0 frame:0
  49. TX packets:5523 errors:0 dropped:0 overruns:0 carrier:0
  50. collisions:0 txqueuelen:0
  51. RX bytes:2173284 (2.1 MB) TX bytes:2173284 (2.1 MB)
  52.  
  53. # The loopback network interface
  54. auto lo
  55. iface lo inet loopback
  56.  
  57. # The primary network interface
  58. auto eth0
  59. iface eth0 inet static
  60. address 172.16.33.225
  61. netmask 255.255.248.0
  62. ...
  63.  
  64. auto eth1
  65. iface eth1 inet static
  66. address 10.0.0.5
  67. network 10.0.0.0
  68. netmask 255.0.0.0
  69. broadcast 10.255.255.255
  70. up ip route add 10.0.0.0/8 dev eth1 src 10.0.0.5 table eth1table
  71. up ip route add default via 0.0.0.0 dev eth1 table eth1table
  72. up ip rule add from 10.0.0.5 table eth1table
  73. up ip route add 10.0.0.0/8 dev eth1 src 10.0.0.5
  74.  
  75. auto eth2
  76. iface eth2 inet static
  77. address 10.0.0.6
  78. network 10.0.0.0
  79. netmask 255.0.0.0
  80. broadcast 10.255.255.255
  81. up ip route add 10.0.0.0/8 dev eth2 src 10.0.0.6 table eth2table
  82. up ip route add default via 0.0.0.0 dev eth2 table eth2table
  83. up ip rule add from 10.0.0.6 table eth2table
  84. up ip route add default via 0.0.0.0 dev eth2
  85. up ip route add 10.0.0.0/8 dev eth2 src 10.0.0.6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement