Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our speciality !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FreeBSD : How to change IP address or setup new ip address t

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix
Author Message
thedark
Second Lieutenant


Joined: 30 Jul 2005
Posts: 1074

PostPosted: Sun Jul 31, 2005 8:05 am    Post subject: FreeBSD : How to change IP address or setup new ip address t Reply with quote

1) Use ifconfig command as follows:
ifconfig interface inet IP

Example(s):
ifconfig lnc0 inet 202.54.1.22

Note lnc0 is Ethernet interface name can be Obtained using ifconfig -a command.

2) To setup up ip permanently open file /etc/rc.conf ; add/modify network entries:
vi /etc/rc.conf

And setup values as follows:
hostname="fbsdx.test.com"
ifconfig_lnc0="inet 192.168.0.6 netmask 255.255.255.0"

Note ifconfig_lnc0 is Ethernet interface name can be Obtained using ifconfig -a command.

3) Again re-run /etc/netstart script.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other Unix All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group