I'm looking for the proper way to have sme7 use a different gateway for its LAN traffic...
The actual routes send LAN traffic to eth1 instead of eth0:
[root@smeserver ~]# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
I need to have 192.168.5.0 going through 192.168.5.1, with sme having IP 192.168.5.2
Any help?!
192.168.5.* traffic does not go through any router. That is your LAN, and all 192.168.5.* addresses should be attached via a switch (or hub) to your LAN NIC (eth0) which has address 192.168.5.2.
If what I have said doesn't make sense to you, then I suggest that you find and read a tutorial on IP network addressing.
BTW, your LAN traffic *is* sent to eth0, not to eth1.