LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-21-2008, 04:29 PM   #1
cristian123
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
GRE VS GIF . Difference between GRE and GIF.


Can somebody help me in finding the answer to this:
When to use GRE with IPSec?
When to use GIF with IPSec?
 
Old 04-23-2008, 12:55 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://en.wikipedia.org/wiki/GRE
Try to be clear about what you are talking about.

eg:
http://filext.com/file-extension/GRE
*.gre files seem to be Webalizer.01 language files

For GRE = Graphic Rendering Engine - this is only relevant to MS Windows.

Legacy GIF is almost entirely supplanted by the (arguably superior) PNG format. The only thing left to GIF is simple animations.

So the answer appears to be: use GIF for small animations, use GRE... never.
 
Old 04-23-2008, 01:09 AM   #3
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
OK - enough ribbing

In the context of IPSec ...
GRE = Generic Routing Encapsulation.
GIF = Generic tunnel InterFace

http://en.wikipedia.org/wiki/Generic..._Encapsulation
... provides example use of GRE

There is no clear best practice, and IPSec has it's own tunneling mode. You must consider the relative merits of each with respect to your needs and impliment the one that is easiest for you to support and document.
 
Old 04-29-2008, 12:51 AM   #4
cristian123
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Rep: Reputation: 0
This was my question....
When should anyone use GRE and when GIF....nobody knows....
 
Old 04-29-2008, 01:56 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
And you received your reply.
"It depends."

The question is not as simple as it seems. You are talking about protocols which mostly achieve the same end but in slightly different ways. It may be possible to come up with, say, a tabele of tasks which one protocol is more suited for than another... that would make a very looong reply. If I'm going to write that much, I want to get paid for it thank you.

Put it this way - you use the simplest protocol for you to administer for the task in hand. Usually, this would mean GIF. But it really depends on the task, and it depends on you. Nobody can answer this question for you.

Personally, I wouldn't use either.

However, I suspect there is more to this than just the question. If I had some context, I may be able to be more definitive.
 
  


Reply



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
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
GRE Tunnel Not Working doctorcisco Linux - Networking 2 04-19-2009 05:29 AM
Gre Tunnel Questions mhunter Linux - Networking 2 07-18-2007 12:17 PM
need shell script to copy 1.gif to 1-100.gif stefaandk Programming 6 03-23-2006 06:20 PM
GRE keepalives. How can a SUSE 9.0 Linux box send GRE keepalives? dlef Linux - Networking 1 06-28-2005 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:16 PM.

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
Open Source Consulting | Domain Registration