[Spce-user] networking

Daniel Grotti dgrotti at sipwise.com
Wed Oct 3 04:44:06 EDT 2018


Hi,
syntax example:

post_up:
       - route add -net 1.2.3.0/21 gw 192.168.1.1 dev vlan300


Cheers,

-- 
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: dgrotti at sipwise.com
Website: https://www.sipwise.com

On 10/02/2018 11:55 PM, Tomi Hakkarainen wrote:
> Hi U all,
>
> What would be the correct format to make a static ip route on CE network interface on /etc/ngcp-config/network.yml ?
>
> I think I should use:
> 	• post_up: routes can be defined here (interface-based routing)
> but cannot figure how to add destination ip,  mask and  gw
>
> something like this ?
>
> etc1:
> post-up:
>    - to: 192.168.1.1/0
>      via: 10.0.0.1
>
>
>
>
> Regards Tomi
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user




More information about the Spce-user mailing list