Jump to content
xisto Community
Sign in to follow this  
badinfluence

Freebsd Internet Connection how to configure internet connection

Recommended Posts

hello people,i got a littol problem with internet conection configuration in freebsd. there is a router in dhcp with sharing all togehter 4 computers. i dont want freebsd to dhcp server but client and just simply want to connect.thks ;)

Share this post


Link to post
Share on other sites

hello people,i got a littol problem with internet conection configuration in freebsd. there is a router in dhcp with sharing all togehter 4 computers. i dont want freebsd to dhcp server but client and just simply want to connect.
thks
:P


rc.conf all you need.

%ifconfig
------------------------------
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:0d:88:39:fa:5f
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
------------------------------
#vi /etc/rc.conf
------------------------------
gateway_enable="YES"
hostname="gateway.example.com"
ifconfig_rl0="inet 192.168.0.254 netmask 255.255.255.0"
------------------------------

man rc.conf

http://forums.xisto.com/no_longer_exists/

Share this post


Link to post
Share on other sites

log into Freebsd as root or SU into root.type in 'sysinstall'from there go to configuration, and the rest should be straightforward. you can try this or what the guy above me wrote. I just find 'sysinstall' easier since you don't have to edit anything.

Edited by Artluo100 (see edit history)

Share this post


Link to post
Share on other sites
FreeBSD Ping problemFreebsd Internet Connection

I have completed you recommended work and it works! Thanks V.M.

But; I am unablke to ping google.Ie without the dreaded

can't resolve google.Ie Host name lookup failure.  .

I am told gateway is; 84.203.112.1

          DNS-1 84.203.254.34

          DNS-2 84.203.255.34

And my IP-address is; 84.203.121.222 and all the equipment works OK

 have tryed

route add 192.168.1.1 84.203.112.1

 My netstat -r is showing:

DEFULT: GATWAY: FLAGS NETIF

default  192.168.1.1   UGS re0

localhost   localhost   UH   lo0

192.168.1     link#1   UC   re0

192.168.1.1     router UCHS re0

192.168.1.5  00:ld;92;38;85;70 UHLW lo0

Which dos'nt  seem to work for my ping..

 

my attempted configurations!. I have read many pages on this routing topic and cant seem to get it right, thus I ask for your help with a big PLEASE?

Rgds SEanS

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.