The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 dhclient won't use correct netmask
Author: alephe@uswest.net 
Date:   23-10-00 06:00

Hello, I'm fairly beginerr at unix network, so excuse any ignorance on my behalf. ON my network, I have a Linksys cable/dsl router, it is the acting dhcp server. It assigns ips in the 192.168.1.* range and uses the netmask "255.255.255.0".
However, freebsd seems to enjoy the netmask "255.255.255.255", I have tried sysinstall to configure my network properly (during install, it worked like a charm. however, afterwards, it flopped). I then, tried numerous varation of ifconfig_blah in /etc/rc.conf. That, as well, failed. I then went as far as grepping every file on my system for "255.255.255.255" (a bit extrem, I know). and made all of the changes. No problems, but no results, either.
Does anyone know what I should set? Or how I can get this working? Thank you.

Reply To This Message
 
 RE: dhclient won't use correct netmask
Author: Ian Fradsham 
Date:   24-10-00 17:52

I had a similiar problem with my DSL connection. My ISP uses DHCP and I kept showing a 255.255.255.255 netmask and I couldn't connect to the internet. I had to use the supersede command in the dhclient.conf to set the subnet mask to 255.255.255.0. After doing that everything worked fine. I still don't now why FreeBSD was picking up a 255.255.255.255 subnet mask, however.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org