Article 528TG Cannot ping second ethernet device

Cannot ping second ethernet device

by
jplev22
from LinuxQuestions.org on (#528TG)
I am setting up an internal subnet on the second ethernet adapter of my server. The intent is to eventually route all that subnet's traffic though a tunnel.

However, I can't seen to get past the ethernet device.
(enp8s0=internal subnet eno1=subnet connected to wan)

Example:
Code:$ ping -I enp8s0 192.168.190.20
PING 192.168.190.20 (192.168.190.20) from 192.168.192.1 enp8s0: 56(84) bytes of data.

--- 192.168.190.20 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 66msip route:
Code:default via 192.168.190.1 dev eno1 onlink
192.168.190.0/24 dev eno1 proto kernel scope link src 192.168.190.20
192.168.192.0/24 dev enp8s0 proto kernel scope link src 192.168.192.1I also modified the iptables using:
Code:$ sudo iptables -t nat -A POSTROUTING -j MASQUERADE
$ sudo iptables -A FORWARD -i enp8s0 -o eno1 -j ACCEPTConfirmed ip forward is enabled:
Code:$ sudo cat /proc/sys/net/ipv4/ip_forward
1Any clue? Thanks for any input.latest?d=yIl2AUoC8zA latest?i=Wb31NwfRwp4:AXtBzHbJLqU:F7zBnMy latest?i=Wb31NwfRwp4:AXtBzHbJLqU:V_sGLiP latest?d=qj6IDK7rITs latest?i=Wb31NwfRwp4:AXtBzHbJLqU:gIN9vFwWb31NwfRwp4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments