Help with a routing issue

Leon Botes leon at trusc.net
Wed May 26 01:56:24 PDT 2004


I have a freebsd 4.7 box at a client.
The box has an ip of 192.168.254.22
The default gateway is 192.168.254.1 which is the inside interface of the
gateway. The outside interface of the gateway is 196.25.37.18 and it also
has an alias of 196.25.37.19.

When i ping 196.25.37.18 from the clients box (192.168.254.22) i get this.
mmrserver# ping 196.25.37.18
PING 196.25.37.18 (196.25.37.18): 56 data bytes
36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
192.168.254.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 0054 08f4   0 0000  40  01 c9ca 192.168.254.22  196.25.37.18

64 bytes from 196.25.37.18: icmp_seq=0 ttl=63 time=66.616 ms
36 bytes from brandford.trusc.net (192.168.254.24): Redirect Host(New addr:
192.168.254.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 0054 08f8   0 0000  40  01 c9c6 192.168.254.22  196.25.37.18

When i ping 196.25.37.19 i get this.
mmrserver# ping 196.25.37.19
PING 196.25.37.19 (196.25.37.19): 56 data bytes
64 bytes from 196.25.37.19: icmp_seq=0 ttl=64 time=5.445 ms
64 bytes from 196.25.37.19: icmp_seq=1 ttl=64 time=4.630 ms
64 bytes from 196.25.37.19: icmp_seq=2 ttl=64 time=5.226 ms

That is correct the way it should be.

My routes on the clients box look as follows:
mmrserver# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.254.1      UGSc        7     1952    dc0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.60         link#2             UC         11        0    rl0
192.168.60.1       00:10:dc:f5:9c:9d  UHLW        0       10    rl0    972
192.168.60.11      00:0d:61:1b:f0:fc  UHLW        1      418    rl0    442
192.168.60.12      00:00:21:e2:8d:e1  UHLW        0        2    rl0    642
192.168.60.15      00:90:f5:08:32:cb  UHLW        0      435    rl0    256
192.168.60.16      00:50:22:8c:ee:51  UHLW        0        1    rl0    790
192.168.60.18      00:50:bf:97:e8:8a  UHLW        0      371    rl0   1022
192.168.60.21      00:0c:76:25:74:fc  UHLW        1     1422    rl0    858
192.168.60.22      00:50:bf:ec:27:a3  UHLW        1       10    rl0   1032
192.168.60.33      00:0d:61:4d:5b:9e  UHLW        3       17    rl0    873
192.168.60.133     00:50:22:8d:ed:86  UHLW        1       10    rl0   1122
192.168.60.255     ff:ff:ff:ff:ff:ff  UHLWb       2       49    rl0
192.168.254        link#1             UC          2        0    dc0
192.168.254.1      00:02:6f:32:24:90  UHLW        8      268    dc0   1149
192.168.254.255    ff:ff:ff:ff:ff:ff  UHLWb       2       94    dc0

Can anyone help me with why the 196.25.37.18 ip is being redirected via
192.168.254.24?
PLEASE



More information about the freebsd-questions mailing list