Anonim / 2 years, 10 months ago | Download | Plaintext | Odpowiedz |

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ host interaces
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
                address 94.X.X.229
                netmask 255.255.255.0
                gateway 94.X.X.254
                broadcast 94.X.X.255
                bridge_ports eth0
                bridge_stp off
                bridge_fd 0
                network 94.X.X.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VM1 interfaces
auto lo

iface lo inet loopback

auto eth0
iface eth0 inet static
        address 178.X.X.2
        netmask 255.255.255.255
        broadcast 178.X.X.2
        post-up route add 94.X.X.254 dev eth0
        post-up route add default gw 94.X.X.254
        post-down route del 94.X.X.254 dev eth0
        post-down route del default gw 94.X.X.254
        dns-nameservers 213.186.33.99

auto eth1
iface eth1 inet static
        address 178.X.X.180
        netmask 255.255.255.255
        broadcast 178.X.X.180
        post-up route add 94.X.X.254 dev eth1
        post-up route add default gw 94.X.X.254
        post-down route del 94.X.X.254 dev eth1
        post-down route del default gw 94.X.X.254
        dns-nameservers 213.186.33.99