Убунту дээр коммандын мөрөөс сүлжээний тохиргоог хэрхэн хийх вэ?
sudo vi /etc/network/interfaces
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.99
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
sudo /etc/init.d/networking restart
auto eth0:1
iface eth0:1 inet static
address 192.168.100.60
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
No comments:
Post a Comment