LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-11-2006, 09:48 AM   #1
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 17
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
 
Old 07-12-2006, 05:58 PM   #2
doctorcisco
Member
 
Registered: Nov 2003
Posts: 70

Original Poster
Rep: Reputation: 17
Wink

Any ideas out there? My forehead is wearing a hole in the wall here!

Thanks,
doctorcisco
 
Old 04-19-2009, 06:29 AM   #3
nl_amun
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Try to disable firewall for testing, it worked for me!

Now find te problem in the firewall
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRE Tunnel with DHCP Address doctorcisco Linux - Networking 1 07-16-2006 10:37 PM
need to create one gre tunnel with different sessions sureshchandak Linux - Kernel 1 06-23-2006 02:41 PM
gre tunnel with keys for different sessions sureshchandak Linux - Networking 0 06-13-2006 01:20 PM
gre tunnel problem sixone Linux - Networking 3 05-30-2005 12:57 PM
Question about a GRE Tunnel zerounu Linux - Networking 1 03-09-2004 10:04 AM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration