Rozmawialiśmy na temat sieci pod ubuntu 8.10. Nie mam siły na zabawy, w tam jakieś niestworzone historie, myślę stawiamy DHCP3 + scorpio i zawsze dostane statika...
Pod Debianem robilem to setki razy, a tu na UBU NI CHU CHU !!!!!!!!!
Okroiłem configa do ku**a minimum i nie startuje ten serwer walony...
1) Configłem interfejst eth2, na statika:
Git, pracuje, wymienia dane między pctkami...eth2 Link encap:Ethernet HWaddr 00:04:76:25:83:dc
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::204:76ff:fe25:83dc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:216862 errors:0 dropped:0 overruns:1 frame:0
TX packets:596949 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34526128 (32.9 MB) TX bytes:452500717 (431.5 MB)
Interrupt:19 Base address:0x8800
Next, walimy configa w dhcp3-server i wstawiamy nasz interfejsik:
INTERFACES="eth2"
Git, zapisujemy
Lecimy dalej, pieprze już scorpio, przypisywanie ip po macu inne zabawy debianoskie, mam to gdzieś, chce żeby chociaż ruszyło:
wpisałem:
Prościej się chyba nie da... przypisać debilnego adresu IP + bramy + dns-asubnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 62.179.1.61, 62.179.1.62;
range 192.168.1.11 192.168.1.20;
default-lease-time 21600;
max-lease-time 86400;
}
root@serwercentralny:~# /etc/init.d/dhcp3-server start
* Starting DHCP server dhcpd3 [fail]
root@serwercentralny:~#
w syslogu:
Jakiś pomysł po za wgranem debiana ?Nov 2 17:04:26 serwercentralny dhcpd: Internet Systems Consortium DHCP Server V3.0.6
Nov 2 17:04:26 serwercentralny dhcpd: Copyright 2004-2007 Internet Systems Consortium.
Nov 2 17:04:26 serwercentralny dhcpd: All rights reserved.
Nov 2 17:04:26 serwercentralny dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
Nov 2 17:04:26 serwercentralny dhcpd: Wrote 0 leases to leases file.
Nov 2 17:04:26 serwercentralny dhcpd:
Nov 2 17:04:26 serwercentralny dhcpd: No subnet declaration for eth2 (192.168.0.1).
Nov 2 17:04:26 serwercentralny dhcpd: ** Ignoring requests on eth2. If this is not what
Nov 2 17:04:26 serwercentralny dhcpd: you want, please write a subnet declaration
Nov 2 17:04:26 serwercentralny dhcpd: in your dhcpd.conf file for the network segment
Nov 2 17:04:26 serwercentralny dhcpd: to which interface eth2 is attached. **
Nov 2 17:04:26 serwercentralny dhcpd:
Nov 2 17:04:26 serwercentralny dhcpd:
Nov 2 17:04:26 serwercentralny dhcpd: Not configured to listen on any interfaces!