# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
#gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 194.204.159.1
auto eth0:2
iface eth0:2 inet static
address 192.168.2.1
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
#gateway 192.168.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 194.204.159.1
auto eth1
iface eth1 inet static
address 214.85.231.11
netmask 255.255.255.240
network 212.84.234.14
broadcast 213.84.8.34
gateway 215.57.234.17
dns-nameservers 212.84.212.245.87.241.194
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 194.204.159.1
auto eth2
iface eth2 inet static
address 10.0.0.1
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
#gateway 10.0.0.1
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 194.204.159.1
I nie chce serwer dhcp wystartować !
[ Dodano: 2008-04-11, 13:54 ]
A logach pokazało mi się :
Nie prościej będzie zmienić klasę adresów na B lub A, albo zmienić maskę na np. 20? Nie wiem jak jest z obsługą VLSM... ale 1 rozwiązanie na pewno zadziała ;p
root@w1:/home/bzyk# ip a show dev eth2
4: eth2: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc htb qlen 1000
link/ether 00:0a:5e:4c:e4:b7 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.254/23 brd 192.168.1.255 scope global eth2