![](https://seccdn.libravatar.org/avatar/9db599350aae4e5a250b285b84cfc83d.jpg?s=120&d=mm&r=g)
Will auf einer 6.1 einen DHCP Server und Client verwenden, vorab aber die INFOS: 2 Lans 198.168.66.0 und 192.168.77.0 getrennt. Ich will, dass die eth0 die IP 192.168.66.1 bekommt und die eth1 die192.168.77.1. So mit definiere ich 2 Subnets und mache für diese 2 Eths die IPs fix. Aber denkste, das ding will nicht und gibt immer nur automatisch der eth die IP 192.168.1.4 . Aber no Idea why - gerade 4. Dann habe ich in der DHClient eingetragen, dass das Ding einfach diese IP Adresse anfordern soll, davor habe ich natürlich in der dhcpd.conf die verfügbaren Adressen erweiterter so dass die 192.168.66.1 drinnen war. Aber wieder denkste. Wieder nix. wieder die 4. Also ich bin mit dem Linuxlatein am Ende. Soweit so gut. Kann mir wer helfen? Marco PS: Sollte sonst noch Fehler in meinen Scripts sein, so bin ich für jeden hilfreichen Tip dankbar. ---------------------------------------------------------- Scripts sind unten (dhcpd.conf und dhclient.conf) /etc/dhcpd.conf # dhcpd.conf # # Configuration file for ISC dhcpd # # option definitions common to all supported networks... option domain-name-servers ns.uibk.ac.at,ns2.uibk.ac.at; option subnet-mask 255.255.255.224; default-lease-time 120; max-lease-time 240; host eth0 { hardware ethernet 00:00:1C:09:07:9F; fixed-address 192.168.66.1; } host eth1 { hardware ethernet 00:00:1C:09:0A:FE; fixed-address 192.168.77.1; } ubnet 192.168.77.0 netmask 255.255.255.0 { range 192.168.77.4 192.168.77.5; option broadcast-address 192.168.77.255; option routers 192.168.77.1; option subnet-mask 255.255.255.0; } ubnet 192.168.66.0 netmask 255.255.255.0 { range 192.168.66.8 192.168.66.10; option broadcast-address 192.168.66.255; option routers 192.168.66.1; option subnet-mask 255.255.255.0; } ---------------------------------------------------------------------------- ------------------- # dhclient configuration file # see "man dhclient.conf" for further details # file: /etc/dhclient.conf # #send host-name "andare.fugue.com"; #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; #supersede domain-name "fugue.com home.vix.com"; #prepend domain-name-servers 127.0.0.1; end dhcp-lease-time 3600; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; timeout 60; retry 60; reboot 10; select-timeout 5; initial-interval 2; script "/sbin/dhclient-script"; interface "eth0" { send dhcp-client-identifier 00:00:1C:09:07:9F; fixed-address 192.168.66.1 } #media "-link0 -link1 -link2", "link0 link1"; #reject 192.33.137.209; --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com