Subnetz an virtuelles Interface binden

Markus Wigge markus at cultcom.de
Tue Dec 9 12:44:50 CET 2003


Tag,

kann man irgendwie einem virtuellen Interface ein ganze Subnetz
zuweisen? Oder muß ich für jede IP aus diesem Netz ein eigenes
Interface aufsetzen?
Ein Webserver für IP-based Hosting soll auf ein halbes Class-C
Netz hören und ich möchte nicht eth0:0 bis eth0:127 per Hand
eintragen...

schön wäre etwas wie:
#> ifconfig eth0:0 192.168.42.255  \
            netmask 255.255.255.128 \
          broadcast 192.168.42.255

so dass eth0:0 quasi alle Pakete für dieses Subnetz annimmt...

bye,
   Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 250 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20031209/a08cb65e/attachment.sig>


More information about the Linux mailing list