[Comm] Маршрутизация
Прокопьев Евгений
=?iso-8859-1?q?john_=CE=C1_rmts=2Edonpac=2Eru?=
Пт Май 23 14:13:27 MSD 2003
> На шлюзе:
> ifconfig -a
> iptables -L -n
[root на john root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:4B:47:B7:CA
inet addr:192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0
IPX/Ethernet II addr:00003302:00104B47B7CA
IPX/Ethernet 802.3 addr:00000032:00104B47B7CA
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:65581 errors:1 dropped:0 overruns:0 frame:1
TX packets:18996 errors:0 dropped:0 overruns:0 carrier:0
collisions:1208 txqueuelen:100
RX bytes:9831742 (9.3 Mb) TX bytes:2655095 (2.5 Mb)
Interrupt:9 Base address:0xd000
eth1 Link encap:Ethernet HWaddr 00:60:97:AE:F4:CA
inet addr:192.168.101.15 Bcast:192.168.101.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2653 errors:0 dropped:0 overruns:0 frame:0
TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1230613 (1.1 Mb) TX bytes:126166 (123.2 Kb)
Interrupt:5 Base address:0xb800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3194 (3.1 Kb) TX bytes:3194 (3.1 Kb)
[root на john root]# iptables -L -n
-bash: iptables: command not found
> На простой машине:
> ifconfig -a
> iptables -L -n
> ping -n 192.168.10.5
> ping -n 192.168.101.3
[root на dbms root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:01:80:09:48:CD
inet addr:192.168.10.6 Bcast:192.168.10.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10761 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1660657 (1.5 Mb) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xc400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root на dbms root]# iptables -L -n
bash: iptables: command not found
[root на dbms root]# ping -n 192.168.10.5
PING 192.168.10.5 (192.168.10.5) 56(84) bytes of data.
64 bytes from 192.168.10.5: icmp_seq=1 ttl=64 time=1.30 ms
64 bytes from 192.168.10.5: icmp_seq=2 ttl=64 time=0.338 ms
64 bytes from 192.168.10.5: icmp_seq=3 ttl=64 time=0.357 ms
64 bytes from 192.168.10.5: icmp_seq=4 ttl=64 time=0.341 ms
64 bytes from 192.168.10.5: icmp_seq=5 ttl=64 time=0.364 ms
--- 192.168.10.5 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4002ms
rtt min/avg/max/mdev = 0.338/0.541/1.307/0.383 ms
[root на dbms root]# ping 192.168.101.3
PING 192.168.101.3 (192.168.101.3) 56(84) bytes of data.
--- 192.168.101.3 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
> и результат - сюда.
--
С уважением, Прокопьев Евгений
Подробная информация о списке рассылки community