LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: how can i change ip of this NIC on server

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: how can i change ip of this NIC on server
From: Peter Mueller <pmueller@xxxxxxxxxxxx>
Date: Mon, 23 Jun 2003 14:11:39 -0700
> If you are using RedHat look at 
> /etc/sysconfig/network-scripts/ifcfg-eth0. 
> You might be inclined to make your interface IP static. Here 
> is an example:

Yes this is a good idea.

> DEVICE=eth0
> BOOTPROTO=none
> IPADDR=192.168.0.100
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> BROADCAST=192.168.0.255
> ONBOOT=yes
> USERCTL=no
> PEERDNS=no
> GATEWAY=192.168.0.1
> TYPE=Ethernet

You can make them static in dhcpd through their MAC addressses, like:

host girlfriend {
  hardware ethernet 00:10:A4:B9:E6:D0;
  fixed-address 192.168.0.59;

Then with the static IP assigned through DHCPD you can (e.g.) TOS the user
lower than your FPS games & kazaa..
<Prev in Thread] Current Thread [Next in Thread>