[CentOS] more than one IP address on network device?
Ulf Volmer
u.volmer at u-v.deSun Sep 4 15:00:22 UTC 2016
- Previous message: [CentOS] more than one IP address on network device?
- Next message: [CentOS] more than one IP address on network device?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/04/2016 04:40 PM, Walter H. wrote: > On 04.09.2016 15:18, Ulf Volmer wrote: >> That's not true, you can add ipv4 address to the interface in the same >> way: >> >> | IPADDR2=172.17.170.101 >> | NETMASK2=255.255.255.0 >> >> There is no need to create a virtual network device. > ah ok, and the other values? no other values needed. i assume that the second ip is in the same subnet as the first one. > IPADDR2=192.168.1.10 > BROADCAST2=192.168.1.255 <-- > NETMASK2=255.255.255.0 > NETWORK2=192.168.1.0 <-- > GATEWAY2=192.168.1.1 <-- > > in case they don't match the first IP address? I'm not sure at this point. If you have to add a second ip in another different network maybe you need a virtual device. best regards Ulf
- Previous message: [CentOS] more than one IP address on network device?
- Next message: [CentOS] more than one IP address on network device?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list