Archan writes:
> Use "route -n" command. Route is taking time to search DNS.
>
> why dont u do as follows
>
> #/etc/init.d/network stop
> #ifconfig eth0 192.9.201.32 netmask 255.255.255.0 up
> #ping -b 192.9.201.0
> #route add default gw <ur gateway IP>
> #ping <some outside network ip>
Hi,
<problem>
Not able to ping computer in my network
</problem>
I have done the above thing. It removed my loopback device lo.
I was not able to ping my own ip(192.9.201.32)
I added the gateway 192.9.201.134, but still I am able to computer outside
or within my network. Later I added lo I was able to my ip.
Right now I am om my PCq Linux which work fine is on my same box.
tarangini:~# mount /dev/hda1 /mnt/ddrive (mounting caldera root partition)
tarangini:~# cat /mnt/ddrive/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=tarangini
GATEWAY=192.9.201.134
GATEWAYDEV="eth0"
IF_LIST='lo eth tr sl ppp'
FORWARD_IPV4="yes"
tarangini:~# cat /etc/sysconfig/network (of pcq linux )
NETWORKING=yes
HOSTNAME="tarangini"
GATEWAY="192.9.201.134"
GATEWAYDEV="eth0"
IPX="no"
IPXINTERNALNETNUM="0"
IPXINTERNALNODENUM="0"
IPXAUTOPRIMARY="on"
IPXAUTOFRAME="on"
FORWARD_IPV4="yes"
tarangini:~# cat /mnt/ddrive/etc/sysconfig/network-scripts/ifcfg-eth0
#!/bin/sh
#>>>Device type: ethernet
#>>>Variable declarations:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.9.201.32
NETMASK=255.255.255.0
NETWORK=192.9.201.0
BROADCAST=192.9.201.255
GATEWAY=192.9.201.134
#>>>End variable declarations
#BASIC=no
tarangini:~# cat /etc/sysconfig/network-scripts/ifcfg-eth0 //Pcq
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.9.201.32
NETMASK=255.255.255.0
GATEWAY=192.9.201.134
Following is the output of route -n in caldera
tarangini:~# cat /mnt/ddrive/root/route.txt
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.9.201.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.9.201.134 0.0.0.0 UG 1 0 0 eth0
Following is the output of route -n in pCQ Linux
tarangini:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.9.201.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.9.201.134 0.0.0.0 UG 0 0 0 eth0
tarangini:~# cat /mnt/ddrive/root/ifconfig.txt
eth0 Link encap:Ethernet HWaddr 00:80:C8:34:91:32
inet addr:192.9.201.32 Bcast:192.9.201.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:111 dropped:0 overruns:0 carrier:222
collisions:0
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:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
tarangini:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:C8:34:91:32
inet addr:192.9.201.32 Bcast:192.9.201.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9369 errors:11 dropped:0 overruns:0 frame:24
TX packets:1093 errors:0 dropped:0 overruns:0 carrier:0
collisions:28 txqueuelen:100
Interrupt:12 Base address:0xe800
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:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
This is some thing strange, My conf file of caldera is same as of pcq
but i not able to ping.
HELP!!
Regards
Liyju Janardhan
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help