[squid-users] gre0 configuration error

From: Engr.M.monzur Alam <monzur_at_citechco.net>
Date: Wed, 13 May 2009 12:28:49 +0600

Dear all,
I think my gre0 all configurations are ok, but I can't receive any gre0
packet. Please see the status:
 
gre0 Link encap:UNSPEC HWaddr
00-00-00-00-DD-BF-F4-FF-00-00-00-00-00-00-00-00
          inet addr:172.16.10.3 Mask:255.255.255.0
          UP RUNNING NOARP MTU:1476 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
 
ifcfg-gre0... Interface is:

DEVICE=gre0
BOOTPROTO=static
BROADCAST=172.16.10.255
#HWADDR=00:10:5A:5A:35:B3
IPADDR=172.16.10.3
NETMASK=255.255.255.0
NETWORK=172.16.10.0
ONBOOT=yes
TYPE=Ethernet

Iptables status are:
/sbin/iptables -t mangle -N DIVERT
/sbin/iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
/sbin/iptables -t mangle -A DIVERT -j MARK --set-mark 1
/sbin/iptables -t mangle -A DIVERT -j ACCEPT
/sbin/iptables -t mangle -A PREROUTING -p tcp --dport 80 -j TPROXY
--tproxy-mark 0x1/0x1 --on-port 3129
 
[root_at_gcl ~]# tcpdump -i gre0
tcpdump: WARNING: arptype 778 not supported by libpcap - falling back to
cooked socket
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on gre0, link-type LINUX_SLL (Linux cooked), capture size 96
bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
 
what's my mistake ???
 
Thanks
Engr.M.Monzur Alam
Network & System Admin
Grameen CyberNet Ltd.
Dhaka,Bangladesh
Received on Wed May 13 2009 - 06:29:12 MDT

This archive was generated by hypermail 2.2.0 : Wed May 13 2009 - 12:00:02 MDT