RE: default route problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



here is  my ifconfig & route -n

eth0      Link encap:Ethernet  HWaddr 00:20:AF:CC:1B:15  
          inet addr:194.108.144.200  Bcast:194.108.144.255
Mask:255.255.255.128
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:45
          collisions:0 txqueuelen:100 
          Interrupt:5 Base address:0x260 

eth1      Link encap:Ethernet  HWaddr 00:60:97:26:99:37  
          inet addr:192.168.1.5  Bcast:192.168.1.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:1 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xfc40 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:326 errors:0 dropped:0 overruns:0 frame:0
          TX packets:326 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 Am Montag,  9. April 2001 15:07 schrieb
Kola?ík Michal:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.5     0.0.0.0         255.255.255.255 UH    0      0        0 eth1
194.212.70.185  0.0.0.0         255.255.255.255 UH    0      0        0 eth0
194.108.144.128 0.0.0.0         255.255.255.128 U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         194.108.144.220 0.0.0.0         UG    0      0        0 eth0

			Thanx for any help

> hello everyone,
> I've got this problem.
> If I add default route #route add -net default gw x.x.x.x
> comand seems to be OK, if I run netstat I can see my default route here.
> But I can't ping nothing include my own iterface IP adres, if I delete
> default
> route -> ping runs.
> This happend when I took my PC at home here I need diferent configuration
> than at work.
> At work everything works OK.
> can anybody help me please?
> RH 6.2 kernel 2.2.19

You should post the outputs from ifconfig and netstat -rn and so on.
Otherwise nobody can help you.

You have to reconfigure your IP interface (ifconfig eth0 a.b.c.d) - only 
changing the default route is not enough.

Also: the gw must be reachable from your interface.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux