Когда выключен.
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
94.245.160.5 10.1.79.1 255.255.255.255 UGH 0 0 0 eth1
10.1.79.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
0.0.0.0 10.1.79.1 0.0.0.0 UG 0 0 0 eth1
root@atijke-System-Product-Name:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:f3:d4:2a:dc
UP BROADCAST 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 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:44 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 1c:af:f7:7d:40:12
inet addr:10.1.79.14 Bcast:10.1.79.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:230769 errors:0 dropped:0 overruns:0 frame:0
TX packets:97054 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:309896070 (309.8 MB) TX bytes:31195192 (31.1 MB)
Interrupt:21 Base address:0xc00
eth2 Link encap:Ethernet HWaddr 00:26:5a:81:3c:4b
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2795 (2.7 KB)
Interrupt:22 Base address:0x6800
lo Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4331 (4.3 KB) TX bytes:4331 (4.3 KB)
root@atijke-System-Product-Name:~# iptables -L -nv
WARNING: All config files need .conf: /etc/modprobe.d/bad_list, it will be ignored in a future release.
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Когда включен
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
10.172.6.18 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
94.245.160.5 10.1.79.1 255.255.255.255 UGH 0 0 0 eth1
80.73.80.38 10.1.79.1 255.255.255.255 UGH 0 0 0 eth1
10.1.79.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0
root@atijke-System-Product-Name:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:f3:d4:2a:dc
UP BROADCAST 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 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:44 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 1c:af:f7:7d:40:12
inet addr:10.1.79.14 Bcast:10.1.79.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:230856 errors:0 dropped:0 overruns:0 frame:0
TX packets:97139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:309905176 (309.9 MB) TX bytes:31209577 (31.2 MB)
Interrupt:21 Base address:0xc00
eth2 Link encap:Ethernet HWaddr 00:26:5a:81:3c:4b
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2795 (2.7 KB)
Interrupt:22 Base address:0x6800
lo Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:44 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4331 (4.3 KB) TX bytes:4331 (4.3 KB)
ppp0 Link encap:Протокол PPP (Point-to-Point Protocol)
inet addr:46.48.170.13 P-t-P:10.172.6.18 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2105 (2.1 KB) TX bytes:8796 (8.7 KB)
root@atijke-System-Product-Name:~# iptables -L -nv
Chain INPUT (policy ACCEPT 75 packets, 7769 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 117 packets, 24786 bytes)
pkts bytes target prot opt in out source destination