• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
[root@localhost root]# ifconfig
eth0
Link encap:Ethernet HWaddr 00:50:BA:62:8D:52
inet addr:10.252.242.201 Bcast:10.252.242.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3676 errors:0 dropped:0 overruns:0 frame:0
TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:282915 (276.2 Kb) TX bytes:10648 (10.3 Kb)
Interrupt:11 Base address:0x6c00

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:24257 errors:0 dropped:0 overruns:0 frame:0
TX packets:24257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1655990 (1.5 Mb) TX bytes:1655990 (1.5 Mb)

[root@localhost root]# ifconfig eth0 192.168.20.4 netmask 255.255.0.0 broadcast
192.168.255.255 up
[root@localhost root]# ping 192.168.20.5
PING 192.168.20.5 (192.168.20.5) 56(84) bytes of data.
64 bytes from 192.168.20.5: icmp_seq=1 ttl=128 time=0.285 ms
64 bytes from 192.168.20.5: icmp_seq=2 ttl=128 time=0.189 ms
64 bytes from 192.168.20.5: icmp_seq=3 ttl=128 time=0.183 ms
64 bytes from 192.168.20.5: icmp_seq=4 ttl=128 time=0.196 ms
64 bytes from 192.168.20.5: icmp_seq=5 ttl=128 time=0.211 ms
64 bytes from 192.168.20.5: icmp_seq=6 ttl=128 time=0.189 ms
64 bytes from 192.168.20.5: icmp_seq=7 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=8 ttl=128 time=0.195 ms
64 bytes from 192.168.20.5: icmp_seq=9 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=10 ttl=128 time=0.184 ms
64 bytes from 192.168.20.5: icmp_seq=11 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=12 ttl=128 time=0.196 ms
64 bytes from 192.168.20.5: icmp_seq=13 ttl=128 time=0.182 ms
64 bytes from 192.168.20.5: icmp_seq=14 ttl=128 time=0.196 ms
64 bytes from 192.168.20.5: icmp_seq=15 ttl=128 time=0.199 ms
64 bytes from 192.168.20.5: icmp_seq=16 ttl=128 time=0.187 ms
64 bytes from 192.168.20.5: icmp_seq=17 ttl=128 time=0.181 ms
64 bytes from 192.168.20.5: icmp_seq=18 ttl=128 time=0.173 ms
64 bytes from 192.168.20.5: icmp_seq=19 ttl=128 time=0.189 ms
64 bytes from 192.168.20.5: icmp_seq=20 ttl=128 time=0.185 ms
64 bytes from 192.168.20.5: icmp_seq=21 ttl=128 time=0.179 ms
64 bytes from 192.168.20.5: icmp_seq=22 ttl=128 time=0.182 ms

64 bytes from 192.168.20.5: icmp_seq=23 ttl=128 time=0.195 ms

\u00ad\u00ad\u00ad 192.168.20.5 ping statistics \u00ad\u00ad\u00ad
23 packets transmitted, 23 received, 0% packet loss, time 21997ms
rtt min/avg/max/mdev = 0.173/0.193/0.285/0.027 ms
[root@localhost root]# ping 192.168.20.5
PING 192.168.20.5 (192.168.20.5) 56(84) bytes of data.
64 bytes from 192.168.20.5: icmp_seq=1 ttl=128 time=0.294 ms
64 bytes from 192.168.20.5: icmp_seq=2 ttl=128 time=0.199 ms
64 bytes from 192.168.20.5: icmp_seq=3 ttl=128 time=0.193 ms
64 bytes from 192.168.20.5: icmp_seq=4 ttl=128 time=0.191 ms
64 bytes from 192.168.20.5: icmp_seq=5 ttl=128 time=0.192 ms
64 bytes from 192.168.20.5: icmp_seq=6 ttl=128 time=0.195 ms
64 bytes from 192.168.20.5: icmp_seq=7 ttl=128 time=0.180 ms
64 bytes from 192.168.20.5: icmp_seq=8 ttl=128 time=0.189 ms
64 bytes from 192.168.20.5: icmp_seq=9 ttl=128 time=0.199 ms
64 bytes from 192.168.20.5: icmp_seq=10 ttl=128 time=0.187 ms
64 bytes from 192.168.20.5: icmp_seq=11 ttl=128 time=0.197 ms
64 bytes from 192.168.20.5: icmp_seq=12 ttl=128 time=0.188 ms
64 bytes from 192.168.20.5: icmp_seq=13 ttl=128 time=0.193 ms
64 bytes from 192.168.20.5: icmp_seq=14 ttl=128 time=0.191 ms
64 bytes from 192.168.20.5: icmp_seq=15 ttl=128 time=0.202 ms
64 bytes from 192.168.20.5: icmp_seq=16 ttl=128 time=0.184 ms
64 bytes from 192.168.20.5: icmp_seq=17 ttl=128 time=0.186 ms
64 bytes from 192.168.20.5: icmp_seq=18 ttl=128 time=0.190 ms
64 bytes from 192.168.20.5: icmp_seq=19 ttl=128 time=0.192 ms
64 bytes from 192.168.20.5: icmp_seq=20 ttl=128 time=0.197 ms
64 bytes from 192.168.20.5: icmp_seq=21 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=22 ttl=128 time=0.193 ms
64 bytes from 192.168.20.5: icmp_seq=23 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=24 ttl=128 time=0.196 ms
64 bytes from 192.168.20.5: icmp_seq=25 ttl=128 time=0.194 ms
64 bytes from 192.168.20.5: icmp_seq=26 ttl=128 time=0.192 ms
64 bytes from 192.168.20.5: icmp_seq=27 ttl=128 time=0.199 ms
64 bytes from 192.168.20.5: icmp_seq=28 ttl=128 time=0.193 ms
64 bytes from 192.168.20.5: icmp_seq=29 ttl=128 time=0.206 ms
64 bytes from 192.168.20.5: icmp_seq=30 ttl=128 time=0.197 ms
64 bytes from 192.168.20.5: icmp_seq=31 ttl=128 time=0.201 ms
64 bytes from 192.168.20.5: icmp_seq=32 ttl=128 time=0.200 ms
64 bytes from 192.168.20.5: icmp_seq=33 ttl=128 time=0.185 ms
64 bytes from 192.168.20.5: icmp_seq=34 ttl=128 time=0.202 ms
64 bytes from 192.168.20.5: icmp_seq=35 ttl=128 time=0.185 ms
64 bytes from 192.168.20.5: icmp_seq=36 ttl=128 time=0.181 ms
64 bytes from 192.168.20.5: icmp_seq=37 ttl=128 time=0.200 ms

64 bytes from 192.168.20.5: icmp_seq=38 ttl=128 time=0.191 ms 64 bytes from 192.168.20.5: icmp_seq=39 ttl=128 time=0.200 ms 64 bytes from 192.168.20.5: icmp_seq=40 ttl=128 time=0.206 ms 64 bytes from 192.168.20.5: icmp_seq=41 ttl=128 time=0.203 ms 64 bytes from 192.168.20.5: icmp_seq=42 ttl=128 time=0.196 ms 64 bytes from 192.168.20.5: icmp_seq=43 ttl=128 time=0.204 ms 64 bytes from 192.168.20.5: icmp_seq=44 ttl=128 time=0.197 ms 64 bytes from 192.168.20.5: icmp_seq=45 ttl=128 time=0.188 ms 64 bytes from 192.168.20.5: icmp_seq=46 ttl=128 time=0.194 ms 64 bytes from 192.168.20.5: icmp_seq=47 ttl=128 time=0.184 ms 64 bytes from 192.168.20.5: icmp_seq=48 ttl=128 time=0.187 ms 64 bytes from 192.168.20.5: icmp_seq=49 ttl=128 time=0.197 ms 64 bytes from 192.168.20.5: icmp_seq=50 ttl=128 time=0.181 ms 64 bytes from 192.168.20.5: icmp_seq=51 ttl=128 time=0.195 ms 64 bytes from 192.168.20.5: icmp_seq=52 ttl=128 time=0.174 ms 64 bytes from 192.168.20.5: icmp_seq=53 ttl=128 time=0.195 ms 64 bytes from 192.168.20.5: icmp_seq=54 ttl=128 time=0.205 ms 64 bytes from 192.168.20.5: icmp_seq=55 ttl=128 time=0.181 ms 64 bytes from 192.168.20.5: icmp_seq=56 ttl=128 time=0.195 ms 64 bytes from 192.168.20.5: icmp_seq=57 ttl=128 time=0.187 ms 64 bytes from 192.168.20.5: icmp_seq=58 ttl=128 time=0.194 ms 64 bytes from 192.168.20.5: icmp_seq=59 ttl=128 time=0.177 ms 64 bytes from 192.168.20.5: icmp_seq=60 ttl=128 time=0.191 ms 64 bytes from 192.168.20.5: icmp_seq=61 ttl=128 time=0.178 ms 64 bytes from 192.168.20.5: icmp_seq=62 ttl=128 time=0.173 ms 64 bytes from 192.168.20.5: icmp_seq=63 ttl=128 time=0.190 ms 64 bytes from 192.168.20.5: icmp_seq=64 ttl=128 time=0.194 ms 64 bytes from 192.168.20.5: icmp_seq=65 ttl=128 time=0.193 ms

\u00ad\u00ad\u00ad 192.168.20.5 ping statistics \u00ad\u00ad\u00ad
65 packets transmitted, 65 received, 0% packet loss, time 63992ms
rtt min/avg/max/mdev = 0.173/0.193/0.294/0.023 ms
[root@localhost root]# cd /proc/sys/net/ipv4/
[root@localhost ipv4]# ls

conf
ip_local_port_range tcp_mem
icmp_echo_ignore_all
ip_nonlocal_bind
tcp_orphan_retries
icmp_echo_ignore_broadcasts
ip_no_pmtu_disc
tcp_reordering
icmp_ignore_bogus_error_responses neigh
tcp_retrans_collapse
icmp_ratelimit
route
tcp_retries1
icmp_ratemask
tcp_abort_on_overflow tcp_retries2
igmp_max_memberships
tcp_adv_win_scale
tcp_rfc1337
inet_peer_gc_maxtime
tcp_app_win
tcp_rmem
inet_peer_gc_mintime
tcp_dsack
tcp_sack
inet_peer_maxttl
tcp_ecn
tcp_stdurg
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...