> It might be an idea to clarify your setup, and what you are trying to achieve
> so that we can provide a solution.
Ok, here's detailed information:
Take a look at this picture:
http://img517.imageshack.us/my.php?image=ryskn5.gif
Desktop 1, Desktop 2 and eth0 interface of Linux server get external
IP addresses from dhcp server.
If I want to connect next device to this zone I've to connect it to
first swith and reset provider's modem.
I run dhcp server on linux server, so desktop computers attached to
eth1 interface get IP addresses (192.168.1.*)
I want to be able to assign multiple external IP addresses to eth0
interface. So eth0 must have "multiple MAC addresses". I would like to
assingn those new IP addresses to eth0:1, eth0:2, eth0:3 ...
interface.
>
> You say that your ISP has given you multiple IP addresses. Do all these
> addresses map to the single ethernet port that you have on the internet side?
I hope that description above explains this.
> Do the addresses change, or are they static?
They're "almost static". I mean that they haven't changed since couple
months, but provider doesn't guarantee they're static.
> Are you using all the addresses
> that have been provided? (I know you said DHCP, but you can have static DHCP,
> ie, each interface always gets the same IP address.)
They don't limit ip addressess. there must be some limit, but I've
never been able to reach it.
> You are requesting several IP addresses from the DHCP server. What happens to
> these addresses?
I hope you find answer above
> Does the incoming cable go straight to the back of the computer, or are there
> routers, cable modems, etc involved in the chain?
See picture
>
> What incoming traffic are you expecting on each of the provided IP addresses?
I would like to create diferent routes for difrerent services.
> How does the traffic that you expect on the first IP address differ from
> traffic on the second IP address, etc?
I could redirect whole incoming traffic to one of IPs to desktop4
computer
>
> How have you configured the computer that has the two ethernet cards?
Linux 2.6 + iptables + imq + patch-o-matic + iproute2 + dnscache.....