121.XYZ.184.ABC is my static IP address. 121.XYZ.184.1 is my gateway's IP address. Below is the output from ifconfig, route and ping 121.XYZ.184.1
eth0 Link encap:Ethernet HWaddr <deleted/> inet addr:121.XYZ.184.ABC Bcast:121.XYZ.184.255 Mask:255.0.0.0 inet6 addr: <deleted/> Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:12 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:124 (124.0 b) TX bytes:0 (0.0 b) Interrupt:5 Base address:0x6000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1256 (1.2 Kb) TX bytes:1256 (1.2 Kb) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 121.XYZ.184.1 255.0.0.0 UG 0 0 0 eth0 121.0.0.0 * 255.0.0.0 U 0 0 0 eth0 PING 121.XYZ.184.1 (121.XYZ.184.1) 56(84) bytes of data.
From 121.XYZ.184.ABC icmp_seq=1 Destination Host Unreachable From 121.XYZ.184.ABC icmp_seq=2 Destination Host Unreachable From 121.XYZ.184.ABC icmp_seq=3 Destination Host Unreachable
--- 121.XYZ.184.1 ping statistics --- 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3017ms , pipe 3 Rohit On 4/8/07, Kaustubh Gadkari <[EMAIL PROTECTED]> wrote:
> > ifconfig eth0 <static_ip> netmask 255.0.0.0 > route add default gw <gateway_ip> netmask 255.0.0.0 > Can you post the output of ifconfig and route? -- Kaustubh Gadkari [EMAIL PROTECTED] -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
-- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.