How do I specify the static ip address in the kernel config?

Sam Leffler sam at errno.com
Tue Oct 23 10:04:29 PDT 2007


rtos wrote:
> Hi,
>
> This is how I boot my NetBSD board and would like to do the same for FreeBSD. 
> Does FreeBSD have similar options.
>
> options    NFS_BOOT_BOOTSTATIC
> options    NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
> options    NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
> options    NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
> options    NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
> options    NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/exported/armrootfs\""
>   

I always have the dhcp server deliver this based on the mac address.  
Having "MYIP" built into the kernel means you cannot boot the kernel on 
multiple boards, right?

    Sam



More information about the freebsd-arm mailing list