Re: start up scipt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 6 Mar 2004, Ravi Kumar Munnangi wrote:

> Iam working in a LAN with a number of systems. A system has X hardware
> address and another has Y hardware address. I want to set the hardware
> address of the second system also to X. I also want to set the primary
> IP addresses of both systems to 172.31.19.30. So when I ping to
> 172.31.19.30, both the systems should respond.

Why on earth would one want to make a deliberate IP and MAC conflict like 
this?

On most Etherent interfaces the MAC address can be assigned using ifconfig 
or "ip link".

If you want multiple MAC addresses on the same interface then there is MAC
vlans available from the vlan home page.

> The topology of LAN we are using is star. All systems are connected to a
> Switch. Does the settings change when we are using a bus topology?

No.

> My actual goal is to start 2 web servers on two systems with same
> hardware address and same primary IP address but with different
> secondary IP addresses. So when a request comes from a client, the
> request has to be seen by both systems. I will write some mechanism by
> which only one will respond finally.

This sounds very much like what is already provided by several of the the 
vrrp daemons for Linux. The daemon makes sure only one of the servers 
have the MAC and IP active at a time.

Regards
Henrik

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux