Need help on configuring a static internal IP address.

2003-03-26 Thread Edinho
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

Re: Need help on configuring a static internal IP address.

2003-03-26 Thread Victor B.
ifconfig_fxp0=inet 192.168.2.72 Try something like ifconfig_fxp0=inet 192.168.2.72 netmask 255.255.255.0 defaultrouter=192.168.2.1 # ip of your router Victor -- [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list

Re: Need help on configuring a static internal IP address.

2003-03-26 Thread David Kelly
On Wed, Mar 26, 2003 at 05:18:40PM -0500, Edinho wrote: [...] 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

Re: Need help on configuring a static internal IP address.

2003-03-26 Thread E. J. Cerejo
ifconfig_fxp0=inet 192.168.2.72/24 defaultrouter=192.168.2.1 Ok thanks. I actually figured it out after I sent question but used /stand/sysinstall to cinfigure my network interface and ended up with these two settings in my rc.conf: ifconfig_fxp0=inet 192.168.2.72 netmask 255.255.255.0

Re: Need help on configuring a static internal IP address.

2003-03-26 Thread Victor Bondarenko
what's the diference between ifconfig_fxp0=inet 192.168.2.72/24 and ifconfig_fxp0=inet 192.168.2.72 netmask 255.255.255.0? Two different ways of saying the same thing. I believe the former is CIDR notation. Victor -- [EMAIL PROTECTED] ___ [EMAIL

Re: Need help on configuring a static internal IP address.

2003-03-26 Thread David Kelly
On Wed, Mar 26, 2003 at 05:54:12PM -0500, E. J. Cerejo wrote: what's the diference between ifconfig_fxp0=inet 192.168.2.72/24 and ifconfig_fxp0=inet 192.168.2.72 netmask 255.255.255.0? Its easier to type /24 than 255.255.255.0. The /24 says set first 24 bits of netmask. It doesn't work with