[mdk-re] Не могу поднять NAT
Евгений Миленченко
=?iso-8859-1?q?azer_=CE=C1_azer=2Enet=2Eru?=
Ср Ноя 28 18:00:01 MSK 2001
Здравствуйте!
Не могу поднять NAT
# iptables -t nat -A POSTROUTING -s 192.168.210.0/24 \
--out-interface eth0 -j SNAT --to-source 195.151.210.157
ядро 2.4.15-alt0.61-up
В логах нашел только ругань при команде service network restart:
Nov 28 18:10:12 mail network: Shutting down interface eth0: succeeded
Nov 28 18:10:13 mail network: Shutting down interface eth1: succeeded
Nov 28 18:10:13 mail network: Disabling IPv4 packet forwarding: succeeded
Nov 28 18:10:13 mail sysctl: error: 'net.ipv4.ip_always_defrag' is an
unknown key
Nov 28 18:10:13 mail network: Setting network parameters: failed
Nov 28 18:10:14 mail ifup: SIOCADDRT: Network is unreachable
Nov 28 18:10:14 mail network: Bringing up interface lo: succeeded
Nov 28 18:10:14 mail network: Enabling IPv4 packet forwarding succeeded
Nov 28 18:10:15 mail ifup: Please note
Nov 28 18:10:15 mail ifup: You have installed a Linuxconf version suited for
Nov 28 18:10:15 mail ifup: RedHat 4.x on a RedHat 5.x system.
Nov 28 18:10:15 mail ifup: Things will operate normally, except for the
following
Nov 28 18:10:15 mail ifup: shortcomings:
Nov 28 18:10:15 mail ifup: -PAM won't be used for user
authentication and passwords
Nov 28 18:10:15 mail ifup: updates.
Nov 28 18:10:15 mail ifup: -Linuxconf will update the password
database itself
Nov 28 18:10:15 mail ifup: instead of relying on the useradd,
userdel and usermod
Nov 28 18:10:15 mail ifup: utilities.
Nov 28 18:10:15 mail ifup: We suggest you install the proper version.
You can "upgrade"
Nov 28 18:10:15 mail ifup: by using the -U and --force rpm command line
options.
Nov 28 18:10:15 mail network: Bringing up interface eth0: succeeded
Nov 28 18:10:16 mail network: Bringing up interface eth1: succeeded
--
Евгений Миленченко
azer на azer.net.ru
студия Voodoo.ru
Подробная информация о списке рассылки community