Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2003 18:10:16 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        gcn53@vfemail.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with networking?
Message-ID:  <3EB19B48.6040407@potentialtech.com>
In-Reply-To: <1051821497.3eb185b9e625c@www.vfemail.net>
References:  <1051818955.3eb17bcb36c53@www.vfemail.net> <002a01c3101f$026267e0$ca0110ac@vinyl.tkvbp.com> <1051820707.3eb182a3273f6@www.vfemail.net> <3EB183E6.7090008@potentialtech.com> <1051821497.3eb185b9e625c@www.vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
gcn53@vfemail.net wrote:
> Quoting Bill Moran <wmoran@potentialtech.com>:
> 
>>I can think of a very limited number of cases where the primary IP on
>>an ethernet card should have the netmask you have.  Verify it.
>>
> 
> Sorry, forgive my ignorance, but how do I "verify it"?

I missed the earlier part of the thread, so ...

If you were given the information by your hosting provider, verify that
it's correct compared to what you have in /etc/rc.conf

Where did you get your IP addy?  You should have been provided a netmask
in the same document/conversation/whatever.

Also, based on some other replies to this thread, could you post your
/etc/rc.conf to the list.  It may help sort out what's up.

Background:
netmasks of ffffffff (i.e. 255.255.255.255) are normally used only for
1) point-to-point connections 2) IP aliases (when a NIC has more than 1
IP addy)
Using it on a broadcast NIC (such as ethernet) pretty much ensures that
no networking will go nowhere.  Basically, you're telling the IP software
that the only IP that can be reached via that card is the one the card
already has: thus the routing software can't determine where to send
packets.

Another thing you can do is simply change it to 255.255.255.0 and see if
things start to work.  It's possible that that number is wrong, but it
will break _less_ networking than using 255.255.255.255, so you'll be
able to tell if you're on the right track or not:

ifconfig fxp0 netmask 255.255.255.0

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB19B48.6040407>