sysctl -a |grep forwarding
[root@localhost ~]# sysctl -a |grep forwarding
error: reading key "dev.parport.parport0.autoprobe3": Success
error: reading key "dev.parport.parport0.autoprobe2": Success
error: reading key "dev.parport.parport0.autoprobe1": Success
error: reading key "dev.parport.parport0.autoprobe0": Success
error: reading key "dev.parport.parport0.autoprobe": Success
error: reading key "net.ipv4.route.flush": Operation not permitted
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 1
ip a s
[root@localhost ~]# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:e0:4c:40:19:6c brd ff:ff:ff:ff:ff:ff
inet 10.0.0.2/24 brd 10.0.0.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:17:31:4a:9a:10 brd ff:ff:ff:ff:ff:ff
inet 62.8.144.144/29 brd 62.9.144.144 scope global eth1
ip r s
[root@localhost ~]# ip r s
62.5.144.232/29 dev eth1 proto kernel scope link src 62.5.144.234
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.2
default via 62.7.144.144 dev eth1