Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Do aliased ip addresses have to be on the same network?

E.g. If I have eth0 with 10.10.10.1, can I setup an alias (eth0:1) with ip address 10.10.11.1?

share|improve this question
add comment

1 Answer 1

Yes you can!

ifconfig eth0:1 10.10.11.1 netmask 255.255.255.0 up

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.