[glux] Routing e Fedora
Giulio
giulio@tlmservice.it
Lun 13 Giu 2005 21:46:12 CEST
Ciao,
ho un altro problema con Fedora Core3, è la prima volta che mi si presenta
e non so cosa fare! E dire che è un semplice routing!
Forse mi manca qualche modulo, ma non riesco a capire.
Ho risolto il problema di route, era ZEROCONF!
Vi posto i files di configurazione ethernet e il file iptable,
non mi da' nulla errore in partenza.
La route è a posto, posto anche lsmod
Ciao e Grazie in anticipo
Giulio
# ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.254
NETMASK=255.255.255.0
# ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.0.0.1
NETMASK=255.0.0.0
GATEWAY=10.0.0.254
#iptables
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 1 > /proc/sys/net/ipv4/ip_dynaddr
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/accept_redirects
echo 0 > /proc/sys/net/ipv4/conf/all/accept_source_route
echo 0 > /proc/sys/net/ipv4/conf/all/log_martians
echo 1 > /proc/sys/net/ipv4/conf/eth2/log_martians
echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 0 > /proc/sys/net/ipv4/tcp_sack
echo 1024 > /proc/sys/net/ipv4/tcp_max_syn_backlog
/sbin/iptables -F
/sbin/iptables -t nat -F
/sbin/iptables -t mangle -F
/sbin/iptables -X
/sbin/iptables -t nat -X
/sbin/iptables -t mangle -X
/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables -P OUTPUT ACCEPT
#lsmod
Module Size Used by
md5 4033 1
ipv6 232577 10
parport_pc 24705 1
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
sunrpc 160421 1
iptable_filter 2753 0
iptable_mangle 2753 0
iptable_nat 23045 0
ip_conntrack 40693 1 iptable_nat
ip_tables 16193 3 iptable_filter,iptable_mangle,iptable_nat
dm_mod 54741 0
uhci_hcd 31449 0
8139too 26305 0
mii 4673 1 8139too
floppy 58609 0
ext3 116809 2
jbd 74969 1 ext3
Maggiori informazioni sulla lista
glux