IP aliase loomine Ubuntus: Difference between revisions
From ICO wiki
Jump to navigationJump to search
New page: =IP aliase loomine Ubuntus= |
|||
Line 1: | Line 1: | ||
IP aliase loomiseks tuleb avada fail /etc/network/interfaces: | |||
<pre> | |||
sudo nano /etc/network/interfaces | |||
</pre> | |||
ja sisestada aliase võrguaadressid: | |||
<pre> | |||
auto eth0:0 | |||
iface eth0:0 inet static | |||
name Ethernet alias LAN card | |||
address 192.168.1.11 | |||
netmask 255.255.255.0 | |||
broadcast 192.168.1.255 | |||
network 192.168.1.0 | |||
</pre> | |||
Peale faili salvestamist tuleb võrguliides taaskäivitada: | |||
<pre> | |||
sudo /etc/init.d/networking restart | |||
</pre> |
Revision as of 11:01, 3 October 2009
IP aliase loomiseks tuleb avada fail /etc/network/interfaces:
sudo nano /etc/network/interfaces
ja sisestada aliase võrguaadressid:
auto eth0:0 iface eth0:0 inet static name Ethernet alias LAN card address 192.168.1.11 netmask 255.255.255.0 broadcast 192.168.1.255 network 192.168.1.0
Peale faili salvestamist tuleb võrguliides taaskäivitada:
sudo /etc/init.d/networking restart