David C. Rankin wrote:
James Knott wrote:
Carlos F Lange wrote:
On Mon November 12 2007 11:48, James Knott wrote:
KNetworkManager does allow you to setup static address on a per-card basis. For example, I set a static address for the wired Ethernet, since I expect to use it mostly at home, and I left the wireless card as DHCP. But ideally I would like the wireless card to have a static address also at home, and DHCP everywhere else.
How do you configure a static ethernet connection? It doesn't appear to be available on the configuration panel.
You are right, it can't be set in KNetworkManager. But I set it up in YaST/Network Devices/Network Card. I set the ethernet card as static IP and the wireless as DHCP. NetworkManager honours the static IP, whenever I am plugged into the network.
Therein lies the problem. I prefer to use static IP at home and DHCP elsewhere. While I can use DHCP at home I prefer static, as I have different addresses for when the computer is running Linux or Windows.
Why? I use statics for servers and dhcp for all others. For dual boot boxes where the potential for wins/dhcp lease conflicts exist, I simply configure dhcp to assign a certain address to each particular box by including the following in the dhcpd.conf:
# # We want Rankin-P35a to appear at the same fixed address regardless of which OS is booted # to prevent multiple dhcp leases belonging to the same hardware address # host Rankin-P35a.3111skyline.com { hardware ethernet 00:11:f5:15:2d:83; fixed-address 192.168.6.120; }
I'm not sure if that addresses the concerns you have, but it works wonderfully and is another option for assigning a known IP in a dhcp environment. It eliminates client config and when used with dns dynamic updates, eliminates name resolution problems as well.
No it doesn't. I prefer my notebook to have one address when running Linux and another when Windows. A DHCP server will give me the same for both. Also, there are still some networks around, where there DHCP is not used. I was at a customer site this morning, where they do not use DHCP at all. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org