GRE Tunnel Not Working
All,
I am having a problem bringing up a GRE tunnel between my wrt54gs running OpenWRT and a Cisco router. I've done what I can see to do from my googling, but it's still not working. Here's what I have on the Linksys:
root@OpenWrt:/etc# ip tunnel show
gre0: gre/ip remote any local any ttl inherit nopmtudisc
gre1: gre/ip remote 1.2.3.4 local 2.3.4.5 ttl 255
root@OpenWrt:/etc# ip addr show
7: gre0@NONE: <NOARP> mtu 1476 qdisc noop
link/gre 0.0.0.0 brd 0.0.0.0
10: gre1@NONE: <POINTOPOINT,NOARP,UP> mtu 1476 qdisc noqueue
link/gre 1.2.3.4 peer 2.3.4.5
inet 192.168.254.1/30 scope global gre1
root@OpenWrt:/etc# ip route show
192.168.254.0/30 dev gre0 proto kernel scope link src 192.168.254.1
192.168.20.0/24 dev gre0 scope link
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
1.2.3.0/24 dev vlan1 proto kernel scope link src 1.2.3.4
default via 1.2.3.4 dev vlan1
default via 192.168.1.1 dev br0 scope link
root@OpenWrt:/etc# ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1): 56 data bytes
--- 192.168.20.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/etc# ping 192.168.20.1
PING 192.168.254.2 (192.168.254.2): 56 data bytes
--- 192.168.20.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/etc# ifconfig
gre0 Link encap:UNSPEC HWaddr 45-DE-A0-28-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.254.1 P-t-P:192.168.254.1 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MTU:1476 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:21 dropped:0 overruns:0 carrier:21
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Rather clearly the problem is on layer 2, since the virtual interface is taking "carrier errors," even though all the physical interfaces are up and running.
Hopefully it's some stupid simple thing I overlooked. As my nick indicates, I know alot more about Cisco's than Linux! I'm 100% sure the config on the Cisco is correct.
Thanks,
doctorcisco
|