Поставил пакет dhcp3-server, bind установил при установке сервера.
Инет получаю на eth1, раздает на eth0
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.75;
option domain-name-servers 192.168.0.1, 213.234.192.8, 85.21.192.3;
option domain-name "internal.example.org";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 1 >/proc/sys/net/ipv4/ip_forward
iptables -F
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
exit 0
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet dhcp
auto eth0
iface etho inet static
adress 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.0
После моих манипуляций инет пропал и на сервере... В чем может быть проблема?