LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 602|回复: 0

在192.168.6.101上也关闭了iptables,可是为什么ssh不上去呢///

[复制链接]
发表于 2004-10-28 19:04:56 | 显示全部楼层 |阅读模式
[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 Scopeink
          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 Scopeink
          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 encapocal 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   0.0.0.0         UG    0      0        0 eth0
[root@shlinux root]# ping 192.168.6.101
PING 192.168.6.101 (192.168.6.101) 56(84) bytes of data.
64 bytes from 192.168.6.101: icmp_seq=1 ttl=64 time=0.201 ms

[root@shlinux root]# telnet 192.168.6.101 22
Trying 192.168.6.101...
Connected to good.sh.at-scale.com (192.168.6.101).
Escape character is '^]'.
在192.168.6.101上也关闭了iptables,可是为什么ssh不上去呢///
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表