ryu's blog just a few lines of code

28Aug/110

FreeBSD: Set IP for an existing interface

Assume interface name is: em0

# vi /etc/rc.conf

hostname="shiva.local"
ifconfig_em0="inet 10.0.0.10 netmask 255.255.255.0"

# /etc/netstart

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.