Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2010
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. root@debian-router:~# ifconfig
  2. eth0 Link encap:Ethernet HWaddr 6c:f0:49:16:46:5e
  3. inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
  4. inet6 addr: fe80::6ef0:49ff:fe16:465e/64 Scope:Link
  5. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  6. RX packets:60 errors:0 dropped:0 overruns:0 frame:0
  7. TX packets:438 errors:0 dropped:0 overruns:0 carrier:0
  8. collisions:0 txqueuelen:1000
  9. RX bytes:5107 (4.9 KiB) TX bytes:25784 (25.1 KiB)
  10. Interrupt:26 Base address:0xc000
  11.  
  12. eth1 Link encap:Ethernet HWaddr 00:22:b0:00:09:92
  13. inet addr:87.194.212.214 Bcast:87.194.215.255 Mask:255.255.252.0
  14. inet6 addr: fe80::222:b0ff:fe00:992/64 Scope:Link
  15. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  16. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  17. TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
  18. collisions:0 txqueuelen:1000
  19. RX bytes:0 (0.0 B) TX bytes:13670 (13.3 KiB)
  20. Interrupt:20 Base address:0x6000
  21.  
  22. lo Link encap:Local Loopback
  23. inet addr:127.0.0.1 Mask:255.0.0.0
  24. inet6 addr: ::1/128 Scope:Host
  25. UP LOOPBACK RUNNING MTU:16436 Metric:1
  26. RX packets:493 errors:0 dropped:0 overruns:0 frame:0
  27. TX packets:493 errors:0 dropped:0 overruns:0 carrier:0
  28. collisions:0 txqueuelen:0
  29. RX bytes:68741 (67.1 KiB) TX bytes:68741 (67.1 KiB)
  30.  
  31. root@debian-router:~# ping google.com
  32. ping: unknown host google.com
  33. root@debian-router:~# ping 208.100.5.1
  34. PING 208.100.5.1 (208.100.5.1) 56(84) bytes of data.
  35. From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
  36. From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
  37. From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
  38. From 192.168.0.1 icmp_seq=4 Destination Host Unreachable
  39. From 192.168.0.1 icmp_seq=5 Destination Host Unreachable
  40. From 192.168.0.1 icmp_seq=6 Destination Host Unreachable
  41. ^C
  42. --- 208.100.5.1 ping statistics ---
  43. 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6023ms
  44. , pipe 3
  45. root@debian-router:~# ifdown eth1
  46. root@debian-router:~# ifup eth1
  47. root@debian-router:~# ping google.com
  48. PING google.com (209.85.229.147) 56(84) bytes of data.
  49. 64 bytes from ww-in-f147.1e100.net (209.85.229.147): icmp_seq=1 ttl=55 time=35.4 ms
  50. 64 bytes from ww-in-f147.1e100.net (209.85.229.147): icmp_seq=2 ttl=55 time=35.7 ms
  51. ^C
  52. --- google.com ping statistics ---
  53. 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
  54. rtt min/avg/max/mdev = 35.487/35.608/35.729/0.121 ms
  55. root@debian-router:~# ifconfig
  56. eth0 Link encap:Ethernet HWaddr 6c:f0:49:16:46:5e
  57. inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
  58. inet6 addr: fe80::6ef0:49ff:fe16:465e/64 Scope:Link
  59. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  60. RX packets:408 errors:0 dropped:0 overruns:0 frame:0
  61. TX packets:568 errors:0 dropped:0 overruns:0 carrier:0
  62. collisions:0 txqueuelen:1000
  63. RX bytes:28314 (27.6 KiB) TX bytes:32065 (31.3 KiB)
  64. Interrupt:26 Base address:0xc000
  65.  
  66. eth1 Link encap:Ethernet HWaddr 00:22:b0:00:09:92
  67. inet addr:87.194.212.214 Bcast:87.194.215.255 Mask:255.255.252.0
  68. inet6 addr: fe80::222:b0ff:fe00:992/64 Scope:Link
  69. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  70. RX packets:1481 errors:0 dropped:0 overruns:0 frame:0
  71. TX packets:1751 errors:0 dropped:0 overruns:0 carrier:0
  72. collisions:0 txqueuelen:1000
  73. RX bytes:657966 (642.5 KiB) TX bytes:224226 (218.9 KiB)
  74. Interrupt:20 Base address:0x6000
  75.  
  76. lo Link encap:Local Loopback
  77. inet addr:127.0.0.1 Mask:255.0.0.0
  78. inet6 addr: ::1/128 Scope:Host
  79. UP LOOPBACK RUNNING MTU:16436 Metric:1
  80. RX packets:1088 errors:0 dropped:0 overruns:0 frame:0
  81. TX packets:1088 errors:0 dropped:0 overruns:0 carrier:0
  82. collisions:0 txqueuelen:0
  83. RX bytes:139243 (135.9 KiB) TX bytes:139243 (135.9 KiB)
  84.  
  85. root@debian-router:~#
  86.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement