networks takes long time
Hi all.
Sorry,I have amateur problem. Please help me.
When my computer has one NIC(eth0 only),SENDMAIL starting very fast,
But when the computer has more than two NIC(eth0 and 2),SENDMAILtakes
long time (about 2min).Where is Packet.
Telnet from local PC get connection,but takes long time,too.
Who can understand my mistakes?
my IP masq
--------------------------------------------------------
/sbin/ipchains -F
#A-1 ~ A-3 default DENY
/sbin/ipchains -P input DENY
/sbin/ipchains -P forward DENY
/sbin/ipchains -P output DENY
#B-1,B-2 lo ha subete OK
/sbin/ipchains -A input -i lo -j ACCEPT
/sbin/ipchains -A output -i lo -j ACCEPT
#C-1,C-2 local
#/sbin/ipchains -A input -s 192.168.1.0/24 -d ! 192.168.1.1/32 -i eth2 -j
ACCEPT
/sbin/ipchains -A input -s 192.168.1.0/24 -i eth2 -j ACCEPT
/sbin/ipchains -A input -p ICMP -s 192.168.1.0/24 -d 192.168.1.1/32 -i
eth2 -j A
CCEPT
#D fire wall naibu deno henkan
/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
--------------------------------------------------------
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
(eth0 is global)
eth0 Link encap:Ethernet HWaddr 52:54:05:E3:B4:AB
inet addr:999.999.118.91 Bcast:999.999.118.95
Mask:255.255.255.240
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:665 errors:0 dropped:0 overruns:0 frame:0
TX packets:521 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:11 Base address:0xc000
(eth1 not in use)
eth1 Link encap:Ethernet HWaddr 52:54:05:E3:B5:5D
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:5 Base address:0xc400
(eth2 is local)
eth2 Link encap:Ethernet HWaddr 52:54:05:E3:B5:1F
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:692 errors:0 dropped:0 overruns:0 frame:0
TX packets:601 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:12 Base address:0xc800
--------------------------------------------------------
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
localhost . * 255.255.255.240 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth2
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default 999.999.118.81 0.0.0.0 UG 1 0 0 eth0
Reply to: