Need help on configuring a static internal IP address.

Roger 'Rocky' Vetterberg listsub at 401.cx
Mon Apr 7 05:02:22 PDT 2003


Try adding a 'defaultrouter=' entry to rc.conf, that should help.
You might want to check your /etc/resolv.conf to.

--
R

Edinho wrote:
> Hello, I'm using a belkin wireless router for my home network, and I had 
> DHCP enabled on the belkin routher, with this all I needed was to put 
> this line on my /etc/rc.conf file:  ifconfig_fxp0="DHCP" and I was able 
> to browse the internet without any problems now I decided to disable 
> DHCP on my belkin router and use static IP addresses for my internal 
> home network, I substituted ifconfig_fxp0="DHCP" with 
> ifconfig_fxp0="inet 192.168.2.72" but I'm not able to browse the 
> internet.  What else do I have to add to rc.conf?
> I'm using FBSD4.8 stable, my belkin router uses 192.168.2.1, subnet mask 
> is 255.255.255.0 and the gateway is also 192.168.2.1.
> 
> Here's how my rc.conf looks like now:
> 
> hostname="ecerejo.Belkin"
> ifconfig_fxp0="inet 192.168.2.72"
> kern_securelevel_enable="NO"
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_flags="-z 4 5"
> nfs_reserved_port_only="YES"
> saver="fade"
> sendmail_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> linux_enable="YES"
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"




More information about the freebsd-questions mailing list