Re: [CentOS] ip command

2011-11-18 Thread nux
Fajar Priyanto writes: > Hi all, > I have this network: > 10.1.20.0 - 10.1.23.0 /22 > Broadcast 10.1.23.255 > > Say I have a machine with IP: 192.168.1.1 > Now, I want to create virtual IP on it with ip command: > > 1. Is this ok? > ip addr add 10.1.22.100/22 dev eth0:1 ip a a 10.1.22.100/22 de

Re: [CentOS] ip command

2011-11-18 Thread Ljubomir Ljubojevic
Vreme: 11/18/2011 03:28 PM, Mike Burger piše: > >> Hi all, >> I have this network: >> 10.1.20.0 - 10.1.23.0 /22 >> Broadcast 10.1.23.255 >> >> Say I have a machine with IP: 192.168.1.1 >> Now, I want to create virtual IP on it with ip command: >> >> 1. Is this ok? >> ip addr add 10.1.22.100/22 dev

Re: [CentOS] ip command

2011-11-18 Thread Mike Burger
> Hi all, > I have this network: > 10.1.20.0 - 10.1.23.0 /22 > Broadcast 10.1.23.255 > > Say I have a machine with IP: 192.168.1.1 > Now, I want to create virtual IP on it with ip command: > > 1. Is this ok? > ip addr add 10.1.22.100/22 dev eth0:1 > > 2. Should I define the broadcast too in the ab

[CentOS] ip command

2011-11-18 Thread Fajar Priyanto
Hi all, I have this network: 10.1.20.0 - 10.1.23.0 /22 Broadcast 10.1.23.255 Say I have a machine with IP: 192.168.1.1 Now, I want to create virtual IP on it with ip command: 1. Is this ok? ip addr add 10.1.22.100/22 dev eth0:1 2. Should I define the broadcast too in the above command? If I don'