Re: [vpp-dev] Configuring multiple VFRs

2017-08-09 Thread Michael Borokhovich
Hi Neale,

Indeed, it worked in 1707! I used 1609 previously.

Thanks a lot!
Michael.

On Wed, Aug 9, 2017 at 2:20 PM, Neale Ranns (nranns) <nra...@cisco.com>
wrote:

> Hi Michael,
>
>
>
> Those configs will work with newer versions of VPP. Are you able to
> upgrade to 17.07?
>
>
>
> Thanks,
>
> neale
>
>
>
> *From: *<vpp-dev-boun...@lists.fd.io> on behalf of Michael Borokhovich <
> michael...@gmail.com>
> *Date: *Wednesday, 9 August 2017 at 18:50
> *To: *"vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
> *Subject: *[vpp-dev] Configuring multiple VFRs
>
>
>
> Hi,
>
>
>
> We have 3 interfaces. First two belong to different VRFs and the third one
> is a global interface (GigabitEthernet0/6/0).
>
> How we can configure VPP so that the packets received through any of the
> first two interfaces will be sent to the global interface
> (GigabitEthernet0/6/0).
>
>
>
> The default GW is 10.100.4.11, and we tried adding it to the tables but
> nothing worked. Specifically, if we do
>
> "vppctl ip *route* add 10.100.4.0/24 table 1 via GigabitEthernet0/6/0"
>
> the packets are forwarded but *without the Ethernet header.*
>
>
>
> Any help is appreciated. Our config is below.
>
>
>
> Thanks,
>
> Michael.
>
>
>
> *Interfaces config:*
>
>
>
> vppctl set interface ip table GigabitEthernet0/5/0 1
>
> vppctl set int ip address GigabitEthernet0/5/0 10.100.3.11/24
>
> vppctl set int state GigabitEthernet0/5/0 up
>
>
>
> vppctl set interface ip table GigabitEthernet0/4/0 2
>
> vppctl set int ip address GigabitEthernet0/4/0 10.100.1.11/24
>
> vppctl set int state GigabitEthernet0/4/0 up
>
>
>
> vppctl set int ip address GigabitEthernet0/6/0 10.100.4.11/24
>
> vppctl set int state GigabitEthernet0/6/0 up
>
>
>
>
>
> *FIB:*
>
>
>
> Table 0, fib_index 0, flow hash: src dst sport dport proto
>
>  Destination Packets  Bytes Adjacency
>
> 10.100.4.0/24  0   0 weight 1, index 3
>
>   10.100.4.11/24
>
> 10.100.4.11/32 0   0 weight 1, index 4
>
>   10.100.4.11/24
>
>
>
> Table 1, fib_index 1, flow hash: src dst sport dport proto
>
>  Destination Packets  Bytes Adjacency
>
> 10.100.3.0/24  0   0 weight 1, index 5
>
>   10.100.3.11/24
>
> 10.100.3.11/32 0   0 weight 1, index 6
>
>   10.100.3.11/24
>
>
>
> Table 2, fib_index 2, flow hash: src dst sport dport proto
>
>  Destination Packets  Bytes Adjacency
>
> 10.100.1.0/24  0   0 weight 1, index 7
>
>   10.100.1.11/24
>
> 10.100.1.11/32 0   0 weight 1, index 8
>
>   10.100.1.11/24
>
>
>
> *IP addresses:*
>
> GigabitEthernet0/4/0 (up):
>
>   10.100.1.11/24 table 2
>
> GigabitEthernet0/5/0 (up):
>
>   10.100.3.11/24 table 1
>
> GigabitEthernet0/6/0 (up):
>
>   10.100.4.11/24
>
> local0 (dn):
>
>
>
>
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] Configuring multiple VFRs

2017-08-09 Thread Neale Ranns (nranns)
Hi Michael,

Those configs will work with newer versions of VPP. Are you able to upgrade to 
17.07?

Thanks,
neale

From: <vpp-dev-boun...@lists.fd.io> on behalf of Michael Borokhovich 
<michael...@gmail.com>
Date: Wednesday, 9 August 2017 at 18:50
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] Configuring multiple VFRs

Hi,

We have 3 interfaces. First two belong to different VRFs and the third one is a 
global interface (GigabitEthernet0/6/0).
How we can configure VPP so that the packets received through any of the first 
two interfaces will be sent to the global interface (GigabitEthernet0/6/0).

The default GW is 10.100.4.11, and we tried adding it to the tables but nothing 
worked. Specifically, if we do
"vppctl ip route add 10.100.4.0/24<http://10.100.4.0/24> table 1 via 
GigabitEthernet0/6/0"
the packets are forwarded but without the Ethernet header.

Any help is appreciated. Our config is below.

Thanks,
Michael.

Interfaces config:

vppctl set interface ip table GigabitEthernet0/5/0 1
vppctl set int ip address GigabitEthernet0/5/0 
10.100.3.11/24<http://10.100.3.11/24>
vppctl set int state GigabitEthernet0/5/0 up

vppctl set interface ip table GigabitEthernet0/4/0 2
vppctl set int ip address GigabitEthernet0/4/0 
10.100.1.11/24<http://10.100.1.11/24>
vppctl set int state GigabitEthernet0/4/0 up

vppctl set int ip address GigabitEthernet0/6/0 
10.100.4.11/24<http://10.100.4.11/24>
vppctl set int state GigabitEthernet0/6/0 up


FIB:

Table 0, fib_index 0, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.4.0/24<http://10.100.4.0/24>  0   0 
weight 1, index 3
  
10.100.4.11/24<http://10.100.4.11/24>
10.100.4.11/32<http://10.100.4.11/32> 0   0 
weight 1, index 4
  
10.100.4.11/24<http://10.100.4.11/24>

Table 1, fib_index 1, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.3.0/24<http://10.100.3.0/24>  0   0 
weight 1, index 5
  
10.100.3.11/24<http://10.100.3.11/24>
10.100.3.11/32<http://10.100.3.11/32> 0   0 
weight 1, index 6
  
10.100.3.11/24<http://10.100.3.11/24>

Table 2, fib_index 2, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.1.0/24<http://10.100.1.0/24>  0   0 
weight 1, index 7
  
10.100.1.11/24<http://10.100.1.11/24>
10.100.1.11/32<http://10.100.1.11/32> 0   0 
weight 1, index 8
  
10.100.1.11/24<http://10.100.1.11/24>

IP addresses:
GigabitEthernet0/4/0 (up):
  10.100.1.11/24<http://10.100.1.11/24> table 2
GigabitEthernet0/5/0 (up):
  10.100.3.11/24<http://10.100.3.11/24> table 1
GigabitEthernet0/6/0 (up):
  10.100.4.11/24<http://10.100.4.11/24>
local0 (dn):

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

[vpp-dev] Configuring multiple VFRs

2017-08-09 Thread Michael Borokhovich
Hi,

We have 3 interfaces. First two belong to different VRFs and the third one
is a global interface (GigabitEthernet0/6/0).
How we can configure VPP so that the packets received through any of the
first two interfaces will be sent to the global interface
(GigabitEthernet0/6/0).

The default GW is 10.100.4.11, and we tried adding it to the tables but
nothing worked. Specifically, if we do
"vppctl ip *route* add 10.100.4.0/24 table 1 via GigabitEthernet0/6/0"
the packets are forwarded but *without the Ethernet header.*

Any help is appreciated. Our config is below.

Thanks,
Michael.

*Interfaces config:*

vppctl set interface ip table GigabitEthernet0/5/0 1
vppctl set int ip address GigabitEthernet0/5/0 10.100.3.11/24
vppctl set int state GigabitEthernet0/5/0 up

vppctl set interface ip table GigabitEthernet0/4/0 2
vppctl set int ip address GigabitEthernet0/4/0 10.100.1.11/24
vppctl set int state GigabitEthernet0/4/0 up

vppctl set int ip address GigabitEthernet0/6/0 10.100.4.11/24
vppctl set int state GigabitEthernet0/6/0 up


*FIB:*

Table 0, fib_index 0, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.4.0/24  0   0 weight 1, index 3
  10.100.4.11/24
10.100.4.11/32 0   0 weight 1, index 4
  10.100.4.11/24

Table 1, fib_index 1, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.3.0/24  0   0 weight 1, index 5
  10.100.3.11/24
10.100.3.11/32 0   0 weight 1, index 6
  10.100.3.11/24

Table 2, fib_index 2, flow hash: src dst sport dport proto
 Destination Packets  Bytes Adjacency
10.100.1.0/24  0   0 weight 1, index 7
  10.100.1.11/24
10.100.1.11/32 0   0 weight 1, index 8
  10.100.1.11/24

*IP addresses:*
GigabitEthernet0/4/0 (up):
  10.100.1.11/24 table 2
GigabitEthernet0/5/0 (up):
  10.100.3.11/24 table 1
GigabitEthernet0/6/0 (up):
  10.100.4.11/24
local0 (dn):
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev