Hi Ewan,

As with all interface types, if you want to RX IP traffic on a GRE interface, 
then it either needs an IP address or to be unnumbered to another interface 
that has an address.

Regards,
neale

From: "yug...@telincn.com" <yug...@telincn.com>
Date: Wednesday, 25 October 2017 at 05:34
To: "Neale Ranns (nranns)" <nra...@cisco.com>, vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: Re: [vpp-dev] GRE error on vpp 17.04

Hi  neale,
Do we need to set ip address on gre interface?

Regards,
Ewan

________________________________
yug...@telincn.com

From: Neale Ranns (nranns)<mailto:nra...@cisco.com>
Date: 2017-10-24 19:07
To: yug...@telincn.com<mailto:yug...@telincn.com>; 
vpp-dev<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] GRE error on vpp 17.04
Hi Ewan,

I have more positive results;

vagrant@localhost:/vpp$ vppctl
vpp#
vpp# sh int
              Name               Idx       State          Counter          Count
local0                            0        down
vpp# create gre tunnel src 1.1.1.1 dst 2.2.2.2
gre0
vpp# set int ip address gre0 9.9.9.1/24
vpp# sh int addr
gre0 (dn):
  9.9.9.1/24
local0 (dn):
vpp# sh ver
vpp v17.04.2-4~ga8f93f8 built by vagrant on localhost at Tue Oct 24 02:20:15 
PDT 2017
vpp#

perhaps there is something broken with your VPP install?

/neale


From: "yug...@telincn.com" <yug...@telincn.com>
Date: Tuesday, 24 October 2017 at 10:10
To: "Neale Ranns (nranns)" <nra...@cisco.com>, vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: Re: [vpp-dev] GRE error on vpp 17.04

Hi neale,
There is no overlapping sub-net, here are more info.


root@ubuntu:/home/ewan# vppctl create gre tunnel src 1.1.1.1 dst 2.2.2.2
gre0

root@ubuntu:/home/ewan# vppctl show int addr
gre0 (dn):
local0 (dn):

root@ubuntu:/home/ewan# vppctl set int ip address gre0  9.9.9.1/24
exec error: Misc



Regards,
Ewan
________________________________________
yug...@telincn.com

From: Neale Ranns (nranns)
Date: 2017-10-24 00:06
To: yug...@telincn.com; vpp-dev
Subject: Re: [vpp-dev] GRE error on vpp 17.04

Hi Ewan,

Are you adding an overlapping sub-net?
Can we see please:
  sh int addr

regards,
neale


From: <vpp-dev-boun...@lists.fd.io> on behalf of "yug...@telincn.com" 
<yug...@telincn.com>
Date: Monday, 23 October 2017 at 10:20
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] GRE error on vpp 17.04

Hi all, I've encountered one error when I try  GRE function, here are details, 
any idea?




root@test:~# vppctl show int
              Name               Idx       State          Counter          Count
GigabitEthernet0/19/0             1         up
GigabitEthernet2/0/0              2         up       rx packets                
254671
                                                     rx bytes                
37541529
                                                     tx packets                 
48109
                                                     tx bytes                 
2086857
                                                     drops                     
254385
                                                     punts                      
  276
                                                     ip4                        
79595
                                                     ip6                       
158846
                                                     tx-error                   
   14
gre0                              5        down
host-vGE0_19_0                    3         up       rx packets                 
 1173
                                                     rx bytes                  
166827
                                                     drops                      
 1173
                                                     ip6                        
 1173
host-vGE2_0_0                     4         up       rx packets                 
 2004
                                                     rx bytes                  
270989
                                                     tx packets                 
32301
                                                     tx bytes                
10289989
                                                     drops                      
 1813
                                                     ip4                        
  804
                                                     ip6                        
 1182
local0                            0        down

root@test:~# vppctl set int ip address gre0 9.9.9.1/24
exec error: Misc




root@vbras:~#



Regards,
EWAN

________________________________________
yug...@telincn.com


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to