blog.up-link.ro android bsd linux unix & open-source world

29Jul/110

FreeBSD: How To Rename Network Interfaces

WP Greet Box icon
Hello there! If you are new here, you might want to subscribe to the RSS feed or subscribe via E-mail for updates on this topic.

To rename a network interface under FreeBSD, invoke ifconfig command as root:

ifconfig bge1 name net1

Observe that the interface formerly known as bge1 is now net1. To keep the change after reboot, add the following lines to /etc/rc.conf:

ifconfig_bge1_name="net1"
ifconfig_net1="inet 192.168.0.1 netmask 255.255.255.0"

Print This Post Print This Post
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


*

No trackbacks yet.