about routing

M.H.Hung sysdba at mail.tradepages.com.tw
Mon Sep 10 16:54:41 BST 2001


  I have a FreeBSD 4.3 RELEASE server for mail and 
secondary domain name server, the following is the
result of ifconfig -a:

        inet netmask 0xfffffff8 broadcast
        inet6 fe80::250:baff:fe06:4c8a%ed1 prefixlen 64 scopeid 0x2
        inet netmask 0xffffff00 broadcast
        ether 00:50:ba:06:4c:8a

the result of netstat -nr is:

Destination        Gateway            Flags     Refs     Use     Netif
default        UGSc      351      628      ed1          UH          0       10      lo0
203.74.57          link#2             UC          0        0      ed1 =>   link#2             UC          0        0      ed1 =>

I set an ip alias for some reason, but this ip
is not visibale outside anywhere, I think when an ip packet
come in to this ip, it's returning packet will go throuth
default gateway, but I want this returning packet will go through
another gateway if the source packet come from the
ip alias, can anybody tell me how to configure?

  Thanks very much.

from Taiwan

More information about the Ukfreebsd mailing list