how to choose default ip on ethernet interface

oim oim37 at mail.ru
Mon Dec 1 12:43:21 PST 2008


Hello!

OS: FreeBSD 6.3 R

ifconfig 
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.0.70 netmask 0xfffffe00 broadcast 192.168.0.255
        inet 10.10.10.37 netmask 0xfffffffc broadcast 10.10.10.39
        inet 10.10.10.38 netmask 0xfffffffc broadcast 10.10.10.39
        ether 00:21:5a:d4:fd:ba
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet6 ::1 prefixlen 128 
        inet 127.0.0.1 netmask 0xff000000 
defaultrouter="192.168.0.1"

All ip work, but by default outgoing system use 192.168.0.70
How can i make by default this ip 10.10.10.37 ?

Please...

Thanks, With best regards Evgeny Parkhomenko
oim37 at mail.ru



More information about the freebsd-questions mailing list