🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.os.linux.sieci
4 messages
4 total messages Started by A Thu, 28 Nov 2013 12:48
tylko jeden komputer z sieci niw ma intenetu
#244007
Author: A
Date: Thu, 28 Nov 2013 12:48
20 lines
1278 bytes
Hej,
   mam taki dziwny problem jeden komputer w sieci nie ma internetu a 
inne mają i nie wiem jak wyśledzić dlaczego.

Konfiguracja:
router: linux ubuntu
komputer: windows XP
adresy przydzielane po dhcp
dhcp po adresie MAC przydziela IP

ping router -> 192.168.0.4 jest
ping router <- 192.168.0.4 jest

ping router -> wp.pl jest

natomiast
ping 192.168.0.4 ->  wp.pl upłynął limit żądania
ping 192.168.0.5 ->  wp.pl jest

Jak namierzyć dlaczego?
Re: tylko jeden komputer z sieci niw ma intenetu
#244022
Author: A
Date: Thu, 28 Nov 2013 13:12
71 lines
2717 bytes
W dniu 28.11.2013 13:48, A pisze:

> ping router -> 192.168.0.4 jest
> ping router <- 192.168.0.4 jest
>
> ping router -> wp.pl jest
>
> natomiast
> ping 192.168.0.4 ->  wp.pl upłynął limit żądania
> ping 192.168.0.5 ->  wp.pl jest
>
> Jak namierzyć dlaczego?
>

Udało się naprawić ale nie wiem dlaczego to rozwiązanie działa.

po zakomenowaniu w /etc/dhcpd.conf wpisu:

host transport {
     hardware ethernet  00:24:1D:DE:36:F1;
     fixed-address      192.168.0.4;
    }

komputer dostał inny adres ip i zaczęło śmigać.

Tylko dlaczego?


cały /etc/dhcpd.conf

authoritative;
ddns-update-style       none;

subnet 192.168.0.0 netmask 255.255.0.0 {
     range dynamic-bootp         192.168.0.60 192.168.0.79;
     option netbios-name-servers 192.168.0.1;
     option netbios-node-type    8;
     option ntp-servers          192.168.0.1;
     option routers              192.168.0.1;
     option subnet-mask          255.255.0.0;
     option broadcast-address    192.168.255.255;
     option domain-name          "domena.pl";
     option domain-name-servers  192.168.0.1, 194.204.159.1, 194.204.152.34;
     default-lease-time          604800;
     max-lease-time              604800;
     }

host natasza {
     hardware ethernet   00:21:91:0B:85:A5;
     fixed-address       192.168.0.2;
     }

host piotrek {
     hardware ethernet   00:11:95:28:24:6A;
     fixed-address       192.168.0.3;
     }

#host transport {
#    hardware ethernet  00:24:1D:DE:36:F1;
#    fixed-address      192.168.0.4;
#    }

host janusz {
     hardware ethernet   00:0F:EA:E9:F2:D1;
     fixed-address       192.168.0.5;
     }

host laptop1s {
     hardware ethernet   00:13:46:37:49:50;
     fixed-address       192.168.0.7;
     }
Re: tylko jeden komputer z sieci niw ma intenetu
#244014
Author: WOJO
Date: Thu, 28 Nov 2013 19:07
8 lines
1334 bytes
> komputer dostał inny adres ip i zaczęło śmigać.
> Tylko dlaczego?
Na szybko znam co najmniej 3 możliwości.
1. Routing dla tego adresu IP był do ... i pakiety trafiały np. na lo
2. Zabawa firewallem - stado różnych możliwości.
3.tcp_wrappers - deny dla tego hosta
Pozdrawiam.
WOJO 
Re: tylko jeden komputer z sieci niw ma intenetu
#244016
Author: Kamil Jońca
Date: Thu, 28 Nov 2013 19:13
17 lines
1654 bytes

"WOJO" <sorry@address.unknown.hehe> writes:

>> komputer dostał inny adres ip i zaczęło śmigać.
>> Tylko dlaczego?
> Na szybko znam co najmniej 3 możliwości.
> 1. Routing dla tego adresu IP był do ... i pakiety trafiały np. na lo
> 2. Zabawa firewallem - stado różnych możliwości.
> 3.tcp_wrappers - deny dla tego hosta

Podczas nieobecności komputera inny dostał ten sam adres. 
KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
I don't understand you anymore.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads