Problem with GRE tunneling
Hi All,
I am a new guy to work with GRE tunneling. I have a set up that consists of four linux boxes sytem1----> system2----> system3 ----> system4 And from searches i found the configuration for GRE, but my doubt is, is it possible to generate GRE tunneling without the use of a router (using only the four linux boxes shown above). If yes can some one give me the setup and configuration Please help me buddy.... |
Sure a tunnel needs no router. It might be a bit odd to use gre anyway. Also looks like you want to go nic to nic one the boxes too.
http://www.linuxfoundation.org/colla...king/tunneling |
Quote:
Thanks for your reply.. I have two nic in system2 and system3 .. Can you give me more details regarding the configuration. below i am giving the ip address configuration of the 4 linux boxes mentioned above in my post. system1 ---> eth0 ---> 192.168.1.30 (only one nic is present) system2 ---> eth0 ---> 192.168.1.10 eth1 ---> 192.168.2.10 system3 ---> eth0 ---> 192.168.1.20 eth1 ---> 192.168.2.20 system4 ----> eth0 ---> 192.168.1.40 (only one nic is present) Can you please give me an exact configuration, i am messed up with this gre tunneling. Regards Senthil |
Start by doing a tunnel between 1 and 2.
|
Quote:
Thanks for your reply. This is my understanding of the commands present in the link sent by you, under the topic GRE tunnels first line is to insert the modules second line is to add gre tunnel device and in that command local address is system1's ip address and remote is system2's ip address I dont understand understand what is the difference between lines 2, 3, 5 and 6. Can you pls explain it further. If possible can you please explain with the help of the configuration details i had given previously. Thanks in advance Senthil. |
Do you mean the IP commands? http://linux.die.net/man/8/ip
|
Quote:
Thanks for your reply .. i gone through those commands.. Now i can create GRE tunnels.. It is working.. Thanks Senthil.. |
Great job! I was getting to the point I couldn't answer. :)
|
All times are GMT -5. The time now is 04:51 AM. |