Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: soprom on January 09, 2007, 01:01:27 AM
-
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?!
-
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.
-
I understand what you say but the machine doesn't seem to behave like so.
[root@smeserver ~]# ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
From 192.168.5.2 icmp_seq=0 Destination Host Unreachable
Thanks for clarifying I didn't have to mess with this.
I'll recheck the setup. There might be a defective NIC controling the LAN.
traceroute to 192.168.5.1 (192.168.5.1), 30 hops max, 38 byte packets
1 smeserver (192.168.5.2) 3000.059 ms !HIcmp checksum is wrong
-
There might be a defective NIC controling the LAN.
Or cable, or switch. or network interface on whatever is at 192.168.5.1.