9

[ubuntu] dhcp server

view full story
linux-howto

http://ubuntuforums.org – I have two network card on my server (eth0 and eth1). On eth0 i plugged the internet cable. I have static ip from my isp and add to /etc/network/interfaces: ip, gateway, mask, broadcast...I have ping with google.com. I install isc dhcp with this conf: Code: authoritaive; subnet 192.168.50.0 netmask 255.255.255.0{ range 192.168.50.100 192.168.50.150; option broadcast-address 192.168.50.255; option routers 192.168.50.1; default-lease-time 600; max-lease-time 7200; } on eth1(where dhcp server listening) Code: iface eth1 inet static address 192.168.50.1 netmask 255.255.255.0 broadcast (Hardware)