2009/6/3 PGNet Dev <[email protected]>:
> iiuc, i believe that'd be,
>
> pfexec svcadm disable network/physical:nwam && \
> pfexec svcadm enable network/physical:default
> pfexec ifconfig xnf0 down
> pfexec ifconfig xnf0 192.168.1.102 netmask 255.255.255.0 mtu 1492
> pfexec ifconfig xnf0 up
> pfexec route add default 192.168.1.102
>
> which i can/do @ installer time to use static IP assignements. i just
> can't seem to get them to 'stick' or 'be happy' after reboot and xen,
> run-time launch.
Use the same commands with the installed system.
To make the settings permanent you also need:
echo 192.168.1.102 netmask 255.255.255.0 mtu 1492 > /etc/hostname.xnf0
rm /etc/dhcp.xnf0
echo 192.168.1.102 > /etc/defaultrouter
_______________________________________________
xen-discuss mailing list
[email protected]