On Wed, 2015-12-23 at 19:04 +0100, Patrick Bervoets wrote:
Op 23 dec. 2015 om 18:31 heeft Valeri Galtsev <galtsev@kicp.uchicag o.edu> het volgende geschreven:
If I understand IP networking correctly, you only can have "aliases" of the interface appear on the _same_ network segment (I'm tempted to say same class C network) as the main IP of interface, say you have:
DEVICE=eth0 IPADDR=x.y.z.w NETMASK=255.255.255.0 GATEWAY=x.y.z.254
Then with the restriction I mentioned you can have alias:
DEVICE=eth0:0 IPADDR=x.y.z.a NETMASK=255.255.255.255
Note that "x.y.z." part is the same in both IPs.
Somebody may correct me if I'm wrong.
Valeri
I have used an 10. Alias on a 192. Interface so it is possible Patrick
I believe you are right. A netmask of 255.255.255.255 however seems wrong. With that netmask a broadcast for address resolution will not work... Louis