Date: Tue, 16 Sep 2003 13:51:38 +0500 From: thor@telecom.sarkor.uz (Timur) To: freebsd-questions@freebsd.org Subject: linux like routing Message-ID: <20030916085138.GA12820@telecom.sarkor.uz>
next in thread | raw e-mail | index | archive | help
Hi! I'm moving to FreeBSD from Linux. On Linux, I can do following: ip address add 192.168.0.2/24 dev eth0 # assign address to first ether ip address add 10.0.0.1/32 dev eth0 # alias ip route add default via 192.168.0.1 src 10.0.0.1 The third line says that default route goes through 192.168.0.1, but this machine should use 10.0.0.1 address for outgoing packets. Can I reproduce the same behaviour with FreeBSD? Timur.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030916085138.GA12820>