ich beschäftige mich grade mit der Konfiguration von mehreren IPs(v4) auf einer Netzwerkkarte. Der Standartweg hiefür ist ja
Code: Alles auswählen
auto eth0
iface eth0 inet static
address 192.168.2.200
netmask 255.255.255.0
broadcast 192.168.2.255
gateway 192.168.2.1
auto eth0:1
iface eth0:1 inet static
address 192.168.1.200
netmask 255.255.255.0
Code: Alles auswählen
ip addr add 192.168.56.100/24 dev eth0
Code: Alles auswählen
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether ...
inet 192.168.2.200/24 brd 192.168.2.255 scope global eth0
inet 192.168.1.200/24 brd 192.168.1.255 scope global eth0:1
inet 192.168.55.100/24 scope global eth0