Networking stopped functioning
Derek Broughton
news at pointerstop.ca
Sat Jan 14 21:55:27 UTC 2006
Rob Blomquist wrote:
> On Saturday 14 January 2006 11:32 am, Janne Vänttinen so eloquently
> stated:
>
>> However, I wanted to give my computer a static local address
>> 192.168.1.10 (not distributed through DHCP). I opened the network setup
>> and changed network setup to manual, IP to 192.168.1.10, gateway to
>> 192.168.1.1 (the router) and checked the box to connect this network
>> automatically when computer starts. I checked other tabs, found that
>> everything seemed to be in order, and saved my changes. Everything still
>> seemed to be fine.
>
>> So, pardon the abbreviation, WTF is wrong with my Linux? Help, anyone...
>
> Been there, done that.
>
> I used to use static addressing on my home network, but with the new
> router I was not allowed. Does your router allow static addressing? Have
> you configured the router to use it?
>
> What is the state of your computer now? Is it running static or DHCP?
> Don't allow your self to get flustered, you gotta keep cool through this.
>
> My Linksys DHCP router finally showed me that I could set certain MAC
> addresses to have static IP addresses. So I now have a pair of statically
> addressed computers in a DHCP network,
>
> Stay cool. I know how hard it can be when one is messing around with DHCP
> and static addressing.
A little explanation is in order. If you use DHCP, the DHCP server tells
your computer not only what IP it will use, but where the DNS servers are,
and what the default gateway is for your system. It's _vastly_ easier, if
you really feel you need a static IP to do as Rob suggested than to try to
set it up on your own computer. To save trouble later, when you change a
network card, specify the current NIC's MAC address
in /etc/network/interfaces after:
iface eth0 inet dhcp
add the hwaddr parameter with your MAC - then if you change NICs it should
spoof the old one.
--
derek
More information about the ubuntu-users
mailing list