Why is it my CentOS has 2 ip

Issues related to configuring your network
Post Reply
near
Posts: 1
Joined: 2018/07/25 11:43:56

Why is it my CentOS has 2 ip

Post by near » 2018/07/26 05:56:52

Anyone can explain to me. Why suddenly i have 2 ip but I already set this one into static ip

2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 08:00:27:c2:7b:43 brd ff:ff:ff:ff:ff:ff
inet 192.168.221.204/24 brd 192.168.221.255 scope global dynamic enp0s3
valid_lft 1896sec preferred_lft 1896sec
inet 192.168.221.148/24 brd 192.168.221.255 scope global secondary enp0s3
valid_lft forever preferred_lft forever
inet6 fe80::a00:27ff:fec2:7b43/64 scope link
valid_lft forever preferred_lft forever


.204 i guess from DHCP
.148 is the one i set manually

Im using .148 to access it using putty.

TIA

Post Reply