From: <vpp-dev@lists.fd.io> on behalf of "Gigo Thomas via Lists.Fd.Io" 
<gigo.t=thinkpalm....@lists.fd.io>
Reply to: "gig...@thinkpalm.com" <gig...@thinkpalm.com>
Date: Thursday 23 January 2020 at 22:31
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] #vnet Any command to individually enable and disable IP 
forwarding per interface level


[Edited Message Follows]
Thank you.
Actually, I was looking for a command similar to the following command in the 
Linux
"sysctl net.ipv4.conf.eth0.forwarding=1"  /*To enable ip forwarding*/
and  "sysctl net.ipv4.conf.eth0.forwarding=0".  /*To disable ip forwarding*/

there is no VPP equivalent for this linux command. IP forwarding is always on 
in VPP and cannot be disabled.

/neale



Even after executing the command
set interface feature <interface-name> ip4-lookup arc ip4-unicast  disable, 
packet is forwarded.

Also, the command
set interface feature <ifname> arp-reply arc arp disable gives the error 
"unknown feature".

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

View/Reply Online (#15240): https://lists.fd.io/g/vpp-dev/message/15240
Mute This Topic: https://lists.fd.io/mt/69978408/21656
Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to