Edit /etc/network/interfaces:
# vi /etc/network/interfaces
Append text below:
auto eth0:1
iface eth0:1 inet static
address 192.168.1.7
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
Restart networking:
# /etc/init.d/networking restart
No comments:
Post a Comment