|
I have some basic networking now!
After Linux boots, I run the following commands:
route add 192.168.164.8 eth0 /etc/rc.d/init.d/routed restart Now I can ping and receive pings from the network. However, the first two receives and sends take an abnormally long time to complete. After that, everything is in the 1.0-2.0 ms range. Is that normal?
[root@callisto /]# ping 192.168.164.1 PING 192.168.164.1 (192.168.164.1): 56 data bytes 64 bytes from 192.168.164.1: icmq_seq=10 ttl=64 time=205.8 ms 64 bytes from 192.168.164.1: icmq_seq=9 ttl=64 time=1214.8 ms 64 bytes from 192.168.164.1: icmq_seq=11 ttl=64 time=1.0 ms 64 bytes from 192.168.164.1: icmq_seq=12 ttl=64 time=1.1 ms 64 bytes from 192.168.164.1: icmq_seq=13 ttl=64 time=1.0 ms I get similar results from the machine pinging this one.
[root@leda /]# ping 192.168.164.8 PING 192.168.164.8 (192.168.164.8): 56 data bytes 64 bytes from 192.168.164.1: icmq_seq=2 ttl=255 time=783.7 ms 64 bytes from 192.168.164.1: icmq_seq=1 ttl=255 time=1784.3 ms 64 bytes from 192.168.164.1: icmq_seq=0 ttl=255 time=2779.5 ms 64 bytes from 192.168.164.1: icmq_seq=3 ttl=255 time=0.6 ms 64 bytes from 192.168.164.1: icmq_seq=4 ttl=255 time=0.6 ms Is the best bet to add the route and routed lines to /etc/rc.d/rc.local script? Or is there another, more relevant place to put this? Thanks! Loyd
|
Messages