[linux] DHCP

Peter Surda shurdeek na panorama.sth.ac.at
Úterý Říjen 2 08:56:08 CEST 2001


On Tue, Oct 02, 2001 at 08:19:58AM +0200, Juraj wrote:
> A mozes poradit ako na to lebo mne to ani zanic nejde rozbehat :-((

server-identifier server;

shared-network CAMPUS-BRIGITTENAU {

	subnet 10.3.0.0 netmask 255.255.0.0 {
		default-lease-time 86400;
		max-lease-time 86400;
		option subnet-mask 255.255.0.0;
		option broadcast-address 10.3.255.255;
		option routers 10.3.100.1;
		get-lease-hostnames true;
		option domain-name-servers 10.3.100.1;
		option domain-name "cb.ac.at";
		option time-servers 10.3.100.1;
		option ntp-servers 10.3.100.1;
		option netbios-name-servers 10.3.100.1;
 		option time-offset 39600;
		option ip-forwarding off;
		option netbios-dd-server 10.3.100.1;
		option netbios-node-type 8;
		use-host-decl-names on;
		host switch-deps41 {
			hardware ethernet 00:30:84:17:D6:99;
			fixed-address switch-deps41.cb.ac.at;
		}
		[cut]
	}

	subnet 10.1.0.0 netmask 255.255.0.0 {
		default-lease-time 86400;
		max-lease-time 86400;
		option subnet-mask 255.255.0.0;
		option broadcast-address 10.1.255.255;
		option routers 10.1.1.3;
		get-lease-hostnames true;
		option domain-name-servers 10.1.1.3, 10.1.1.4, 10.1.20.51;
		option domain-name "cb.ac.at";
		option time-servers 10.1.20.51;
		option ntp-servers 10.1.20.51;
		option netbios-name-servers 10.1.20.51;
 		option time-offset 39600;
		option ip-forwarding off;
		option netbios-dd-server 10.1.20.51;
		option netbios-node-type 8;
		use-host-decl-names on;
		host 8thfloor {
			hardware ethernet 00:A0:CC:77:BA:91;
			fixed-address 8thfloor.cb.ac.at;
		}
		[cut]
	}
	subnet 10.1.0.0 netmask 255.255.0.0 {
		range 10.1.100.1 10.1.100.99;
		default-lease-time 120;
		max-lease-time 120;
		option subnet-mask 255.255.0.0;
		option broadcast-address 10.1.255.255;
		get-lease-hostnames true;
		option domain-name-servers 10.1.1.3, 10.1.1.4, 10.1.20.51;
		option domain-name "cb.ac.at";
 		option time-offset 39600;
		option ip-forwarding off;
		option netbios-name-servers 10.1.20.51;
		option netbios-dd-server 10.1.20.51;
		option netbios-node-type 8;
		use-host-decl-names on;
	}
}

Vsimas, druha a tretia grupa su na tom istom subnete a prva je na tom istom
fyzickom ethernete ale s inym IP subnetom.

Prakticky je to rozdelene tak, ze 10.3.x.x su switche, 10.1.x.x registrovane
pocitace a ten kto si neregistruje MAC dostane IP z 10.1.100.x a to sa
nerutuje von do internetu, ale je na tom istom subnete takze interne problemy
nie su.

Bye,

Peter Surda (Shurdeek) <shurdeek na panorama.sth.ac.at>, ICQ 10236103, +436505122023

--
         The computer revolution is over. The computers won.
------------- další část ---------------
Netextová příloha byla odstraněna...
Jméno: [žádný popis není k dispozici]
Typ: application/pgp-signature
Velikost: 232 bytes
Popis: [žádný popis není k dispozici]
Url : http://lists.linux.sk/pipermail/linux/attachments/20011002/27c73638/attachment.bin 


Další informace o konferenci linux