Linux hálózati gondok
Tamás Tápai
ttrendszergazda at gmail.com
2014. Feb. 1., Szo, 21:56:15 CET
Sziasztok.
Összeállítottam egy debian lunux szervert és a hálózati beállítások ugyan
működnek, de nagyon lasan húzza fel a hálókártyákat. A bootolás illetve a
hálókártyák újra indítása hosszú perceket igényel.
Az interfaces tartalma ez:
auto lo eth0 eth1 eth2
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
iface eth1 inet static
address 192.168.2.1
netmask 255.255.255.0
iface eth2 inet static
address 192.168.3.1
netmask 255.255.255.0
up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Az etc/dhcp/dhcpd.conf fájl meg ez:
ddns-update-style none;
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.50 192.168.2.200;
option domain-name-servers 192.168.1.1;
option routers 192.168.2.1;
option broadcast-address 192.168.2.255;
default-lease-time 600;
max-lease-time 7200;
}
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.50 192.168.3.200;
option domain-name-servers 192.168.1.1;
option routers 192.168.3.1;
option broadcast-address 192.168.3.255;
default-lease-time 600;
max-lease-time 7200;
}
Köszönöm az ötleteket.
--------- következő rész ---------
Egy csatolt HTML állomány át lett konvertálva...
URL: <http://lista.sulinet.hu/pipermail/techinfo/attachments/20140201/71f037db/attachment.html>
További információk a(z) Techinfo levelezőlistáról