how to choose default ip on ethernet interface

2008-12-01 Thread oim
Hello! OS: FreeBSD 6.3 R ifconfig bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet 192.168.0.70 netmask 0xfe00 broadcast 192.168.0.255 inet 10.10.10.37 netmask 0xfffc broadcast 10.10.10.39

Re: how to choose default ip on ethernet interface

2008-12-01 Thread Wojciech Puchar
inet 127.0.0.1 netmask 0xff00 defaultrouter=192.168.0.1 All ip work, but by default outgoing system use 192.168.0.70 outgoing IP is chosen so it's on the same network as default router, if many are - first from list. ___