>Короче, не дает делать алиас если адрес из той же подсети, например
>ifconfig fxp0 inet 192.168.1.2 - все ок. КАК ЗАСТАВИТЬ ???
[alone]~ > ifconfig -a
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 62.84.100.160 netmask 0xffffff00 broadcast 62.84.100.255
inet6 fe80::200:1cff:feb0:e394э0 prefixlen 64 scopeid 0x1
ether 00:00:1c:b0:e3:94
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8
inet 127.0.0.1 netmask 0xff000000
1. [alone]~ > ifconfig dc0 inet 192.168.0.1 netmask 255.255.255.0 alias
2. [alone]~ > ifconfig dc0 inet 192.168.0.2 netmask 255.255.255.255 alias
3. [alone]~ > ifconfig dc0 inet 192.168.0.3 netmask 255.255.255.255 alias
4. [alone]~ > ifconfig dc0 inet 192.168.0.4 netmask 255.255.255.255 alias
5. [alone]~ > ifconfig dc0 inet 192.168.0.5 netmask 255.255.255.255 alias
хватит или еще!?
для тех кто в танке, найти ОДНО отличие строки "1." от всех остальных
пронумерованных
[alone]~ > ifconfig dc0
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 62.84.100.160 netmask 0xffffff00 broadcast 62.84.100.255
inet6 fe80::200:1cff:feb0:e394э0 prefixlen 64 scopeid 0x1
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
inet 192.168.0.2 netmask 0xffffffff broadcast 192.168.0.2
inet 192.168.0.3 netmask 0xffffffff broadcast 192.168.0.3
inet 192.168.0.4 netmask 0xffffffff broadcast 192.168.0.4
inet 192.168.0.5 netmask 0xffffffff broadcast 192.168.0.5
ether 00:00:1c:b0:e3:94
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
[alone]~ >