[root@cache ~]#
lsmod |grep ip_
ip_conntrack 41497 1 iptable_nat
ip_tables 19521 4 iptable_filter,ipt_REDIRECT,iptable_nat,iptable_ma ngle
ip_wccp 3328 0
ip_gre 12769 0
[root@cache ~]#
ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:88:17:3A:29
inet addr:
<IP_Valid> Bcast:xx.xx.xx.xx Mask:255.255.255.240
inet6 addr: fe80::20d:88ff:fe17:3a29/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68070 errors:0 dropped:0 overruns:0 frame:0
TX packets:167413 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23897586 (22.7 MiB) TX bytes:30976057 (29.5 MiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr 00:05:5D:C2:54
E
inet addr:
192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fec2:54de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:147801 errors:0 dropped:0 overruns:0 frame:0
TX packets:30549 errors:10 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21935952 (20.9 MiB) TX bytes:22632590 (21.5 MiB)
Interrupt:10 Base address:0xb800
gre1 Link encap:UNSPEC HWaddr C0-A8-0A-05-B1-BF-B8-E1-00-00-00-00-00-00-00-00
inet addr:
127.0.0.2 P-t-P:127.0.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:64 (64.0 b)
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:1237 errors:0 dropped:0 overruns:0 frame:0
TX packets:1237 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1287727 (1.2 MiB) TX bytes:1287727 (1.2 MiB)
[root@cache ~]#
cat /etc/sysctl.conf
net.ipv4.ip_forward =
1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.panic_on_oops = 1
[root@cache ~]#
iptunnel
sit0: ipv6/ip remote any local any ttl 64 nopmtudisc
gre0: gre/ip remote any local any ttl inherit nopmtudisc
gre1: gre/ip remote
<ip_invalid_Router> local
<ip_invalid_cache> dev eth1 ttl inherit