Hello,
Im sorry for this dummy question but I
ve tried everything and nothing worked - I`ve obviously missed something.
I`ve a computer running opensuse 11.0. It has two ethernet cards. One was configured for outside world and uses fixed IP - ex. 195.215.95.98. It has DNS servers - 195.215.95.1 and 195.215.95.3, and a gateway - 195.215.95.15.
Now I want to configure the second card for DHCP in small internal network.
Ive set the fixed ip - 192.168.168.0 Then I
ve made some DHCP configuration. My dhcpd.conf looks like this
option domain-name “abs”;
option domain-name-servers 192.168.168.0;
option routers 192.168.168.0;
ddns-update-style none;
default-lease-time 345600;
subnet 192.168.168.0 netmask 255.255.255.0 {
range 192.168.168.1 192.168.168.254;
default-lease-time 345600;
max-lease-time 172800;
host leiden {
fixed-address 192.168.168.103;
hardware ethernet 00:1F:C6:B4:CA:E4;
}
}
As you might have guessed - IT DOES NOT WORK!
That means when I connect a computer to this server and type
ifdown eth0
ifup eth0
it aquires a correct ip - 192.168.168.103 - but I still can not connect neither to my server, nor to outside world.
I`ve deep conserns about the following lines:
1/ option domain-name-servers 192.168.168.0;
I`ve no DNS software installed on my computer. Should I specify here the outworld DNS of the first card - 195.215.95.1 and 195.215.95.3 ? ( I actually tried that already and it did work either)
2/ option routers 192.168.168.0; ???
So I guess that my problem is somewere here. Could you please give me a tip.
Thanks. I appreciate your time.
SDA