TCP/IP problem

Коньков Евгений kes-kes at yandex.ru
Sun May 2 20:55:36 UTC 2010


Hi

I have RealIP/32 on lo0 interface
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet R.E.A.L netmask 0xffffffff

netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.11.19.49        UGS         0 203508809  vlan4

When some do query to web or bind to R.E.A.L response is from 10.11.19.51
because of default route is on that network.

vlan4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:13:d4:ce:82:16
        inet 10.11.19.51 netmask 0xfffffff8 broadcast 10.11.19.55
        media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
        status: active
        vlan: 4 parent interface: nfe0

how to force to response from that IP to which query was arrived?
is there 'setfib' like tool? (setip for example)

-- 
Eugen Konkov                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list