3

Am trying to enable proxy arp for some of the interfaces, with the normal interface name eth0, eth1, etc

[[email protected]]# sysctl net.ipv4.conf.eth0.proxy_arp
0

But for interface names such as "eth1.11, eth2.1" its giving the below error. Tried different format "", '' etc. but no help.

[[email protected]]# sysctl net.ipv4.conf.eth2.1.proxy_arp
error: "net.ipv4.conf.eth2\.1.proxy_arp" is an unknown key

can anyone please point out the correct way to do this ?

xhienne
  • 17,075
  • 2
  • 52
  • 68
vindyz
  • 231
  • 1
  • 9
  • Someone more experienced than I may chime in, but my understanding is that the proxy_arp flag is only valid on the physical interface and not on the aliased ones. – Jeff Schaller Jul 16 '15 at 02:54
  • its not an aliased interface, its name is eth2.1 . not eth2:1. – vindyz Jul 16 '15 at 04:48

1 Answers1

2

Finally found out the way to doing this, here it goes. It seems that is replaced by /, that made it work.

sysctl net.ipv4.conf.eth2/1.proxy_arp
vindyz
  • 231
  • 1
  • 9