2010/3/27 Eero Volotinen <eero.volotinen@xxxxxx>
2010/3/27 cahit Eyigünlü <cahit.eyigunlu@xxxxxxxxx>:
> check fedora's txt i've send it is working perfect
> my gateway : 217.20.117.1
> my ip 188.72.255.289
> subnet 255.255.255.0
> fedora 12 is working when i set ip directly but any other linux dist is not
> :( please i need help :(
maybe you need to run something like
route add -host 188.72.255.289, but it's uncommon that gateway is not
in the same net..
--
Eero
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
login as: root root@xxxxxxxxxxxx's password: Last login: Sat Mar 27 02:46:19 2010 from 212.253.233.143 root@lin [~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:27:73:A8 inet addr:78.159.97.15 Bcast:78.159.97.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe27:73a8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33341414 errors:2409 dropped:5344 overruns:0 frame:0 TX packets:22285968 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:479420277 (457.2 MiB) TX bytes:3286848027 (3.0 GiB) Interrupt:19 Base address:0x2000 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:216475 errors:0 dropped:0 overruns:0 frame:0 TX packets:216475 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:42560827 (40.5 MiB) TX bytes:42560827 (40.5 MiB) root@lin [~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 217.20.117.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth0 78.159.97.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 217.20.117.1 0.0.0.0 UG 0 0 0 eth0
[root@lin2 ~]# service network restart eth0 arabirimi durduruluyor: [ TAMAM ] Geridönüþ arayüzü durduruluyor: [ TAMAM ] Að parametreleri ayarlanýyor: [ TAMAM ] Geridönüþ arayüzü etkinleþtiriliyor: [ TAMAM ] eth0 arayüzü etkinleþtiriliyor: [ TAMAM ] [root@lin2 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:20:C0:28 inet addr:188.72.255.190 Bcast:188.72.255.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe20:c028/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1109 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:83430 (81.4 KiB) TX bytes:1652 (1.6 KiB) Interrupt:193 Base address:0x2024 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:2884 errors:0 dropped:0 overruns:0 frame:0 TX packets:2884 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4985288 (4.7 MiB) TX bytes:4985288 (4.7 MiB) [root@lin2 ~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 188.72.255.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 [root@lin2 ~]# ping 217.20.117.1 connect: Network is unreachable
root@lin2 ~]# service network restart eth0 arabirimi durduruluyor: [ TAMAM ] Geridönüþ arayüzü durduruluyor: [ TAMAM ] Að parametreleri ayarlanýyor: [ TAMAM ] Geridönüþ arayüzü etkinleþtiriliyor: [ TAMAM ] eth0 arayüzü etkinleþtiriliyor: [ TAMAM ] [root@lin2 ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:20:C0:28 inet addr:192.168.130.134 Bcast:192.168.130.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe20:c028/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2385 errors:1837443 dropped:0 overruns:0 frame:0 TX packets:73 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:185779 (181.4 KiB) TX bytes:4806 (4.6 KiB) Interrupt:193 Base address:0x2024 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:2884 errors:0 dropped:0 overruns:0 frame:0 TX packets:2884 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4985288 (4.7 MiB) TX bytes:4985288 (4.7 MiB) [root@lin2 ~]# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.130.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.130.2 0.0.0.0 UG 0 0 0 eth0 [root@lin2 ~]# ping 217.20.117.1 PING 217.20.117.1 (217.20.117.1) 56(84) bytes of data. 64 bytes from 217.20.117.1: icmp_seq=0 ttl=128 time=3.20 ms 64 bytes from 217.20.117.1: icmp_seq=1 ttl=128 time=3.67 ms 64 bytes from 217.20.117.1: icmp_seq=2 ttl=128 time=3.67 ms 64 bytes from 217.20.117.1: icmp_seq=3 ttl=128 time=3.68 ms
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos