Hello,
please clarify something for me. On my university network, I can get a dhcp lease without a hitch:
Code:
rumandfruit@sperelli:~$ sudo dhclient eth1 -d
There is already a pid file /var/run/dhclient.pid with pid 10898
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
rtap0: unknown hardware address type 803
rtap0: unknown hardware address type 803
Listening on LPF/eth1/00:0e:35:f4:80:80
Sending on LPF/eth1/00:0e:35:f4:80:80
Sending on Socket/fallback
DHCPREQUEST of 10.6.74.113 on eth1 to 255.255.255.255 port 67
DHCPACK of 10.6.74.113 from 1.1.1.1
* Reloading /etc/samba/smb.conf smbd only
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
...done.
SIOCADDRT: No such process
bound to 10.6.74.113 -- renewal in 121991 seconds.
Without a hitch, that is, I get an ip address; netmask however is automatically set to 255.255.255.0
This is the problem: for internet to actually work, I have to manually set the netmask to 255.255.0.0 and then reset the gw to 10.6.127.254.
In other words, the default settings that dhclient wants to use - netmask 255.255.255.0 and gw 10.6.127.254 - do not work:
Code:
ping: unknown host google.com
rumandfruit@sperelli:~$ ping google.com
The funny thing is, I checked the computer of a friend of mine, with Windows on it; ipconfig shows me that they too have netmask 255.255.255.0, but it works.
Anyone?
Thank you
Bookmarks