UNIX IP Address question


 
Thread Tools Search this Thread
Operating Systems BSD UNIX IP Address question
# 1  
Old 12-29-2009
UNIX IP Address question

Good morning,

I am brand new to using Unix so forgive me for my ignorance. I am using FreeBSD and am trying to figure out how to change my IP address. Sorry for the stupid questions but I am learning so please bear with me.

Thank you,
Tommy
# 2  
Old 12-29-2009
i don't know BSD... but try the command "ifconfig".

also trying a well known search engine with the words "bsd change ip" came back with this as first link:
FreeBSD > How to change IP address or setup new ip address to existing interface
# 3  
Old 01-12-2010
For IP4
Code:
ifconfig XXY inet 123.123.123.123 netmask 255.255.255.0

Where XX is your interface {may be 2 or 3 characters, something like rl, for example} and Y is number of interface you want to configure {Will be 0 if you have only 1 network card}

see
man 8 ifconfig
# 4  
Old 05-28-2010
it will be set in

/etc/rc.conf
# 5  
Old 05-28-2010
run sysinstall and it's all menu driven from there.
# 6  
Old 06-02-2010
I have tried command netconfig when login as single mode, but could not get the driver from there, anyhelps?
# 7  
Old 06-24-2010
Quote:
Originally Posted by killasmurf86
For IP4
Code:
ifconfig XXY inet 123.123.123.123 netmask 255.255.255.0

Where XX is your interface {may be 2 or 3 characters
Examine the output of 'dmesg' to figure out how your O.S. calls it's NIC. On NetBSD you must specify the interface. It took me some time to figure out which "code" NetBSD uses for my NIC.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

VIP Membership - The UNIX and Linux Forums - Get Your UNIX.COM Email Address Here

We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies

2. UNIX for Advanced & Expert Users

UNIX mail blank in the TO address

Hi All, Can we send a mail in unix blank in TO address with CC and BCC. TO address should be blank CC should not be blank BCC should not be blank thanks, (7 Replies)
Discussion started by: kiranparsha
7 Replies

3. UNIX for Dummies Questions & Answers

Default Gateway address question

Hi, Using Redhat 6.1 with all the latest patches. I have the default gateway address but it never gets loaded. I have to add that manually? Not sure. Any idea. Is there any other place which I need to add? /etc/sysconfig/network-scripts/ifcfg-em1 DEVICE="em1"... (2 Replies)
Discussion started by: samnyc
2 Replies

4. Debian

Question on the dhcp-server configuration for a fixed IP address.

Hi , when i configure my server with a fixed ip address in dhcpd.conf as below subnet 172.21.151.0 netmask 255.255.255.0 { range 172.21.151.66 172.21.151.66; } host switch { hardware ethernet 00:05:30:02:DB:31; fixed-address 172.21.151.66; } when i start dhcpd server , it... (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

5. Shell Programming and Scripting

Local system IP address in UNIX

We have requirement to get the local system IP address of whoever logined the DataBase(sqlplus) or any process in application server. Actually I connected to application server thru putty and then conencted to Database using sqlplus command. we have tried below commands : who -u|grep... (4 Replies)
Discussion started by: siri_886
4 Replies

6. UNIX for Dummies Questions & Answers

IP address of Unix machine

Can any one please tell me how to find the IP address of the Unix machine we are in? (9 Replies)
Discussion started by: thoothukudiking
9 Replies

7. Shell Programming and Scripting

Getting the IP address in unix server

Hi, I want to know the IP of my Unix server in my script programming. Below are the my trial and i didn't find anything useful for me.because i want only IP. hostname -> Giving the name of the server and hostanme -i -> Giving the error message that..i am not super user. ipConfig ->... (7 Replies)
Discussion started by: Balamani
7 Replies

8. IP Networking

Change a Unix IP address

I have purchased a Dec unix Ver 3.2c machine that is about ten years old. I need to get this machine on our network (windows 2003 domain) so I can copy files to it. I know I need to change the IP address, but where and how do I change it? What else do I chang? Thanks Randy (8 Replies)
Discussion started by: randy1
8 Replies

9. UNIX for Dummies Questions & Answers

How do I get the IP address of my local unix box???

Hiya all, How do I get the IP address of my local unix box??? IPconfig - don't exist nslookup - only for other boxes.... I have my Fedora Server now on the office network. Can ping others, can get onto internet via web proxy.... Also: How do I create a Drive Share, so our windows... (9 Replies)
Discussion started by: marty 600
9 Replies
Login or Register to Ask a Question