Re: [rock-user] alias ip interface
Alejandro Mery <[email protected]> Mon, 18 Oct 2004 21:39:16 -0300
| Newsgroups | gmane.linux.distributions.rock.user |
|---|---|
| Message-ID | <[email protected]> |
Bernd Petrovitsch wrote: > Hmm, how can I confiure an alias ip address on an interface? > Simply adding eth2:1 and an ip tag does not help and gives an syntax > error:. > ---- snip ---- > Interface / profile matched: eth2(eth2) > Interface / profile matched: eth2:1(eth2:1) > /etc/network/rocknet: line 1: return: 1:1: numeric argument required > /etc/network/rocknet: line 1: return: 1:1: numeric argument required > ---- snip ---- IPs don't have aliases on linux 2.4+, you have one interface (eth2) with many IP Addresses. Another difference is the way to specify netmask, instead of adding 255.255.255.0 you say /24 as the number of 1s the old number has in binary form. Alejandro