Roesner Thomas wrote:
Hallo,
gleich noch eine weitere Frage:
Wie kann ich einer LAN Karte mehrere IP Adressen zuordnen?
ifconfig add lässt (mir) immer nur 2 Adressen zu eth0 und eth0:0. Mache ich da etwas falsch?
ja :-) Aus /usr/share/doc/howto/en/mini/IP-Alias.gz: 1. Load the IP Alias module (you can skip this step if you compiled the module into the kernel): /sbin/insmod /lib/modules/`uname -r`/ipv4/ip_alias.o 2. Setup the loopback, eth0, and all the IP addresses beginning with the main IP address for the eth0 interface: /sbin/ifconfig lo 127.0.0.1 /sbin/ifconfig eth0 up /sbin/ifconfig eth0 172.16.3.1 /sbin/ifconfig eth0:0 172.16.3.10 /sbin/ifconfig eth0:1 172.16.3.100 172.16.3.1 is the main IP address, while .10 and .100 are the aliases. The magic is the eth0:x where x=0,1,2,...n for the different IP addresses. The main IP address does not need to be aliased. Ob das Up to date ist, kann ich Dir jetzt auch nicht sagen, das HowTo ist über ein Jahr alt ... kann sich also evtl. schon wieder geändert haben ... CU Werner -- Brain fried -- Core dumped