Set ip alias in FreeBSD

FreeBSD support ip aliasing, unlimited ip can assigned to one interface From command line : kongja# ifconfig -a em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500         options=b<RXCSUM,TXCSUM,VLAN_MTU>         inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255         inet 172.88.1.15 netmask 0xffff0000 broadcast 172.88.255.255         ether 00:0e:0c:4e:21:d2         media: Ethernet autoselect (1000baseTX <full-duplex>)         status: active fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500         …

More

/etc/rc.local and pure-ftp

pure-ftp already run in port 21 and other instance needed to make different server call existing one controlled by /etc/rc.conf and I don’t know howto configure another one after searching google I found clue about rc.local by default rc.local not exist, I have to create one : kongja# ee /etc/rc.local put this lines : #!/bin/sh …

More