New answers tagged

0

The issue was not with the route configuration, instead iptables configuration was missing.


0

For RHEL 5 & 6 considering 153.xx is your System IP Temporary route add ip route add 192.168.10.0/24 via 153.254.92.42 dev eth0 Permanent route Add echo "192.168.10.0/24 via 153.254.92.XX" >> /etc/sysconfig/network-scripts/route-eth1 For RHEL 7 Temporary route add ip route add 192.168.20.0/29 via 153.254.92.XX dev enp00s0f0 Permanent ...


0

One key for understanding this is the point that the packets to or from the router host take a different path through iptables than those going through the router. You can google iptables-chains.png and follow up on some images, e.g., http://jensd.be/wp-content/uploads/iptables_chains.png . The overview picture at http://www.linuxjournal.com/files/...



Top 50 recent answers are included