Hello,

I am having an odd issue creating GRE tunnels and was hoping someone might have 
some insight.

I am adding a tunnel, type GRE, named tunnel_0123456789 and receiving this 
message in the log files:

2013-01-02T22:37:58Z|01668|netlink_socket|DBG|nl_sock_transact_multiple__ 
(Success): nl(len:92, type=28(ovs_vport), flags=9[REQUEST][ECHO], seq=7c3, 
pid=4294963034,genl(cmd=4,version=1)
2013-01-02T22:37:58Z|01669|netlink_socket|DBG|nl_sock_recv__ (Success): 
nl(len:112, type=2(error), flags=0, seq=7c3, pid=4294963034 error(-22(Invalid 
argument), in-reply-to(nl(len:92, type=28(ovs_vport), flags=9[REQUEST][ECHO], 
seq=7c3, pid=4294963034))
2013-01-02T22:37:58Z|01670|netlink_socket|DBG|received NAK error=0 (Invalid 
argument)
2013-01-02T22:37:58Z|01671|bridge|WARN|could not configure network device 
tunnel_0123456789 (Invalid argument)

I am adding this tunnel with ovs-vsctl add-port br0 tunnel_0123456789 -- set 
interface tunnel_0123456789 type=gre options:remote_ip=IP address

I built OVS from openvswitch-HEAD-33d82a5, 1.9.90 and when I add the tunnel, 
ovs-vsctl show displays the port, but it does not appear in ovs-ofctl show.  Am 
I violating a naming convention?

[root@ovs bin]# ovs-vsctl add-port br0 tunnel_0123456789 -- set interface 
tunnel_0123456789 type=gre options:remote_ip=10.0.1.123
[root@ovs bin]# ovs-vsctl show
58d69ae9-bfb5-47cb-b1e3-e1523848d092
    Bridge "br0"
        Controller "tcp:10.0.1.199"
            is_connected: true
        fail_mode: secure
        Port "tunnel_0123456789"
            Interface "tunnel_0123456789"
                type: gre
                options: {remote_ip="10.0.1.123"}
        Port "eth2"
            Interface "eth2"
        Port "eth1"
            Interface "eth1"
        Port "br0"
            Interface "br0"
                type: internal
[root@ovs bin]# ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x2): dpid:000000155d011015
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST 
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth1): addr:00:15:5d:01:10:15
     config:     NO_PACKET_IN
     state:      0
     speed: 0 Mbps now, 0 Mbps max
 2(eth2): addr:00:15:5d:01:10:16
     config:     NO_PACKET_IN
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

Thanks,

Jeff
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to