Re: Unnumbered GRE tunnel

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/23/07 03:25, Pullus Cuetlachtli wrote:
Can I create the unnumbered GRE tunnel with iproute2 utility?
Can someone provide me a link/howto/example_config how to do it?

If I understand what you are trying to do, you can try bridging, but I don't know if it will work the way you want it to or not.

The topology is one tunnel between two linux boxes:
-- eth1-|__|-eth0 <-------------> eth0-|__|-eth1 --

I'm trying now with:
ip tu add tun1 mode gre local loc.IP remote rem.IP ttl 255 dev eth0
ip addr add tun1 0.0.0.0 <http://0.0.0.0>
ip link set tun1 up

Bring your tunnel up like you are, with IPs on each end. Then bridge the tunnel interfaces with their local ethernet interfaces at each end. In essence you are bridging your local ethernet segment with a common element, the tunnel, and thus together them selves.




Grant. . . .
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux