[ovs-discuss] What ports are to be opened on NAT to allow gre tunneling?

Pasquale Dir phate867 at gmail.com
Fri May 30 08:51:50 UTC 2014


I have two remote hosts, they are both behind a  NAT so have a public and a
private address. I made sure, to have life easier, the subnets are the same
(I assigned static local ips to prevent problems).
So, we have
host1
public ip: #####
private ip: 192.168.1.2

host2
public ip: yyyyy
private ip: 192.168.1.3

now, I added eth0 to both bridges (so internal interfaces br0 have to local
ips specified above) and estabilished a couple gre tunnels

host1:
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre
options:remote_ip=yyyy

host2:
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre
options:remote_ip=xxxx

anyway if, from host1, I try to ping host2
ping 192.168.1.3

ping fails.

So I take that some ports have to be opened on the NATs or some more
options have to be specified in order to make the process work...am I right?

Regards,
Pasquale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140530/812b8561/attachment-0002.html>


More information about the discuss mailing list