Mam na sobie ruter, na którympracuje serwer DHCP, skonfigurowany jest następująco:
Kod: Zaznacz cały
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
shared-network R4 {
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.50 192.168.3.100;
ignore client-updates;
option ip-forwarding false;
option routers 192.168.3.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 80.85.xxx.xx, 80.85.xxx.xx;
option time-offset -5;
default-lease-time 300;
max-lease-time 600;
option domain-name "prvnet3.xxxx.pl";
}
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.50 192.168.2.100;
ignore client-updates;
option ip-forwarding false;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 80.85.xxx.xx, 80.85.xxx.xx;
option time-offset -5;
default-lease-time 300;
max-lease-time 600;
option domain-name "prvnet2.xxxx.pl";
}
subnet 192.168.54.0 netmask 255.255.255.0 {
range 192.168.54.50 192.168.54.100;
ignore client-updates;
option ip-forwarding false;
option routers 192.168.54.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 80.85.xxx.xx, 80.85.xxx.xx;
option time-offset -5;
default-lease-time 300;
max-lease-time 600;
option domain-name "prvnet504.xxxx.pl";
}
subnet 85.28.xxx.0 netmask 255.255.252.0 {}
subnet 85.28.xxx.0 netmask 255.255.252.0 {}
subnet 85.28.xxx.0 netmask 255.255.254.0 {}
subnet 85.28.xxx.0 netmask 255.255.254.0 {}
subnet 85.28.xxx.0 netmask 255.255.255.0 {}
subnet 80.85.xxx.32 netmask 255.255.255.224 {}
}
Kod: Zaznacz cały
INTERFACES="eth3.2 eth3.3 eth3.504"
Kod: Zaznacz cały
eth3.2@eth3:
inet 85.28.xxx.1/22 brd 85.28.xxx.255 scope global eth3.2
inet 192.168.2.1/24 scope global eth3.2
eth3.3@eth3:
inet 85.28.xxx.1/22 brd 85.28.xxx.255 scope global eth3.3
inet 85.28.xxx.1/24 scope global eth3.3
inet 80.85.xxx.33/27 scope global eth3.3
inet 192.168.3.1/24 scope global eth3.3
eth3.504@eth3:
inet 85.28.xxx.1/23 brd 85.28.xxx.255 scope global eth3.504
inet 85.28.xxx.1/23 scope global eth3.504
inet 192.168.54.1/24 scope global eth3.504
Nie bardzo wiem dlaczego tak się dzieje, więc proszę o jakąś pomoc.
W logach nie ma żadnych błędów, jedynie informacje o nowych ,,leasach''.
Dodane:
Pokombinowałem, z czymś takim dla każdej sieci:
Kod: Zaznacz cały
interface "eth3.504"
Kod: Zaznacz cały
A subnet or shared network can't be connected to two interfaces.