我的情况类似这个大佬的
https://www.hostloc.com/forum.php?mod=viewthread&tid=473687&highlight=%E5%A4%9Aip

配置如下,当使用eth1连接外网Ip一样显示eth0的
当把eth0配置删掉,外网ip就显示eth0:0的
有大佬知道什么问题吗

auto eth0
iface eth0 inet static
address 172.25.0.9
gateway 172.16.0.1
netmask 255.255.0.0

auto eth0:0
iface eth0:0 inet static
address 172.25.0.11
gateway 172.16.0.1
netmask 255.255.0.0

auto eth1
iface eth1 inet static
address 172.25.0.15
gateway 172.16.0.1
netmask 255.255.0.0