由 河边星星 在 10-28-2004 19:04 发表:
在192.168.6.101上也关闭了iptables,可是为什么ssh不上去呢///
[root@shlinux root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:73:50:F9
inet addr:192.168.7.112 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe73:50f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2487999 errors:0 dropped:0 overruns:0 frame:0
TX packets:2680182 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:741351695 (707.0 Mb) TX bytes:2867277328 (2734.4 Mb)
Interrupt:21 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:E0:4C:E2:0B:4D
inet addr:192.168.6.112 Bcast:192.168.6.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fee2:b4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:621431 errors:0 dropped:0 overruns:0 frame:0
TX packets:4796 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:56483010 (53.8 Mb) TX bytes:593303 (579.3 Kb)
Interrupt:22 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1184 errors:0 dropped:0 overruns:0 frame:0
TX packets:1184 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:128220 (125.2 Kb) TX bytes:128220 (125.2 Kb)
[root@shlinux root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.7.0 * 255.255.255.0 U 0 0 0 eth0
192.168.6.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.7.252