( totti | 2006. 08. 08., k – 21:41 )

Nem akar jó lenni. Nem dhcp netem van. Ip-t,maszkot,átjárót, dns-t kell állítani. Ezeket kitöltöttem értelemszerűen. Megcsináltam amásik két parancsot is. De amikor beírom hogy ifdown eth0 akkor azt írja ki hogy:
ifdown: interface eth0 not configured. Egyik ismerősö mondta hogy próbáljam meg az ifupot. Arra meg azt írja hogy
Don't seem to be have all variables for eth0/inet.
Failed to bring up eth1.
Leírom hogy mit írtam be az interface-be. Mindent kitöröltem és a következő van bent.
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth1
iface eth0 inet static
address 192.168.2.2
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.1.2
auto eth0
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

eth1-en keresztül jön a net.