nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

freebsd configure nic

This is a discussion on freebsd configure nic within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Howto freebsd configure nic? i know little bit linux but freebsd seems to be diffrent any help is respected from ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Linux answers from nixCraft.


All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-12-2005, 12:40 AM
bob
Guest
 
Posts: n/a
Default freebsd configure nic

Howto freebsd configure nic? i know little bit linux but freebsd seems to be diffrent any help is respected from all of u!

cheers

bob
Reply With Quote
  #2 (permalink)  
Old 23-12-2005, 04:39 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

You can configure nic using sysinstall command.

Method # 1

Code:
sysinstall
At sysinstall main menu select
Configure > Networking

Select Interface and press space bar > Select your ethernet card

It will ask for IPV6, if you need IPV6 say yes lese no

Next it will ask about DHCP server, again if you wanna IP address from DHCP server then just click yet else NO

If you selected No then you need to assign IP, Domain, hostname, Gateway, DNS and other information.


Method # 2

This need editing of configuration file. To setup up ip permanently open file /etc/rc.conf ; add/modify network entries:
Code:
vi /etc/rc.conf
And setup values as follows:
Code:
hostname="fbsdx.mybox.com"
ifconfig_lnc0="inet 192.168.0.6 netmask 255.255.255.0"
Replace lnc0 with your interface name, interface name can be Obtained using ifconfig -a command
Code:
ifconfig -a
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 07-09-2009, 12:15 AM
Junior Member
User
 
Join Date: Sep 2009
OS: FreeBSD
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
freeco is on a distinguished road
Default FreeBSD DNS & LAN problem on static IP

I have a 3 static IP from my ISP, how can I make FBSD 7.2 to work on one of these static IP as DHCP, NAT and Firewall and to switch all 3 computers in LAN. My ISP also have a static IP. I gave one of these IP to FBSD (computer who had that IP was switched off), it could ping only my ISP gateway. I made

/etc/resolv.conf file and added DNS servers:
search ISP gateway IP (works as DNS)
nameserver ISP gateway IP
nameserver another ISP DNS IP

added to
/etc/rc.conf
hostname="gateway.fbsdfreeco.com"
ifconfig (netcard int name)= "inet (IP adress) netmask (my netmask)"

maybe u could write how to make FBSD as NAT, DHCP and Firewall

Last edited by freeco; 07-09-2009 at 12:39 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to configure rlogin ajmalchungath Linux software 2 24-11-2007 10:57 AM
how to configure webalizer asim.mcp Linux software 2 25-08-2006 10:16 AM
how to configure mouse?? asim.mcp Linux software 3 23-07-2006 08:27 PM
Linux how do I configure my modem? goku Linux software 1 17-07-2006 11:18 PM
Unable to configure CACTI puppen Linux software 0 19-05-2006 03:55 PM


All times are GMT +5.5. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38