linux like routing
Timur
thor at telecom.sarkor.uz
Tue Sep 16 02:04:20 PDT 2003
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.
More information about the freebsd-questions
mailing list