Fw: [vpp-dev] sub interface after virtual interfaces doesn't work

2020-02-17 Thread abbas ali chezgi via Lists.Fd.Io
 thanks neal,

in this scenario:   
h1  --  n1  -- n2 -- h2n1,n2: vpp routers.
h1,h2: hosts 
1- when we remove gre tunnel [ or other virtual interfaces] 2- then adding new 
sub interface [for connecting n1 to n2 ]
we can't ping from  h1 to h2.

On Monday, February 17, 2020, 02:05:47 PM GMT+3:30, Neale Ranns via 
Lists.Fd.Io  wrote:
 
 
  
 
Please be more specific about what ‘doesn’t work’.
 
  
 
You script on n1 does:
 
  
 
  #add gre tunnel
 
  create gre tunnel src 200.1.2.1 dst 200.1.2.2
 
  set interface state gre0 up
 
  set interface ip address gre0 10.10.10.11/32
 
  ip route add 2.1.1.0/24 via gre0
 
  
 
  #del gre tunnel
 
  set interface state gre0 down
 
  create gre tunnel src 200.1.2.1 dst 200.1.2.2 del
 
  ip route del 2.1.1.0/24 via 200.1.2.2.
 
  
 
that last route delete was not the route you added, so it won’t remove 
anything. What you need is
 
  ip route del 2.1.1.0/24 via gre0
 
  
 
and of course you need to do that before you delete the tunnel.
 
  
 
/neale
 
  
 
  
 
  
 
  
 
From: on behalf of "abbas ali chezgi via Lists.Fd.Io" 

Reply to: "che...@yahoo.com" 
Date: Monday 17 February 2020 at 05:43
To: Vpp-dev 
Cc: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] sub interface after virtual interfaces doesn't work
 
  
 
1- create gre tunnel between n1--n2
2- add ip and route . it works
3- delete ip and route from gre and delete gre tunnel
4- create sub interface
5- add ip and route.
 
it doesn't work
 
  
 
[VPP-1841] sub interface after gre doesn't work - FD.io Jira
 
  
 
| 
| 
|  | 
[VPP-1841] sub interface after gre doesn't work - FD.io Jira
  |

 |

 |


  
 
  
 
  
 
where can i look for it
 
thanks.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15421): https://lists.fd.io/g/vpp-dev/message/15421
Mute This Topic: https://lists.fd.io/mt/71347386/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] sub interface after virtual interfaces doesn't work

2020-02-17 Thread Neale Ranns via Lists.Fd.Io

Please be more specific about what ‘doesn’t work’.

You script on n1 does:

  #add gre tunnel
  create gre tunnel src 200.1.2.1 dst 200.1.2.2
  set interface state gre0 up
  set interface ip address gre0 10.10.10.11/32
  ip route add 2.1.1.0/24 via gre0

  #del gre tunnel
  set interface state gre0 down
  create gre tunnel src 200.1.2.1 dst 200.1.2.2 del
  ip route del 2.1.1.0/24 via 200.1.2.2.

that last route delete was not the route you added, so it won’t remove 
anything. What you need is
  ip route del 2.1.1.0/24 via gre0

and of course you need to do that before you delete the tunnel.

/neale




From:  on behalf of "abbas ali chezgi via Lists.Fd.Io" 

Reply to: "che...@yahoo.com" 
Date: Monday 17 February 2020 at 05:43
To: Vpp-dev 
Cc: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] sub interface after virtual interfaces doesn't work


1- create gre tunnel between n1--n2
2- add ip and route . it works
3- delete ip and route from gre and delete gre tunnel
4- create sub interface
5- add ip and route.

it doesn't work


[VPP-1841] sub interface after gre doesn't work - FD.io 
Jira<https://jira.fd.io/browse/VPP-1841>

[VPP-1841] sub interface after gre doesn't work - FD.io Jira



where can i look for it
thanks.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15419): https://lists.fd.io/g/vpp-dev/message/15419
Mute This Topic: https://lists.fd.io/mt/71343791/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] sub interface after virtual interfaces doesn't work

2020-02-16 Thread abbas ali chezgi via Lists.Fd.Io

1- create gre tunnel between n1--n2
2- add ip and route . it works
3- delete ip and route from gre and delete gre tunnel
4- create sub interface
5- add ip and route.

it doesn't work



[VPP-1841] sub interface after gre doesn't work - FD.io Jira

| 
| 
|  | 
[VPP-1841] sub interface after gre doesn't work - FD.io Jira


 |

 |

 |




where can i look for itthanks.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15412): https://lists.fd.io/g/vpp-dev/message/15412
Mute This Topic: https://lists.fd.io/mt/71343791/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-