[megoldva] Elvesznek a hozzáadott routok (etch)

Fórumok

Szaisztok,

etch alatt a route -n -el kilistázott routokat kézzel kibővítem, de restart után elvesznek a hozzáadott routok.

Hogy lehet ezt elmenteni? egy ilyet találtam már:

copy the file from etc to your home directory, change ownership from root to non priveledged user ( you ) then edit that file to add the routes.
save it into your home directory.
as root copy it back to etc.
reboot system
all routes should be loaded.

De etch alatt mi ez a fájl? Ezt már nem találom...

Hozzászólások

cat /etc/network/interfaces

auto eth1
iface eth1 inet static
address 1.1.1.1
netmask 255.255.255.0
network 1.1.1.0
up route add -net 2.2.2.0/24 gw 1.1.1.2
down route del -net 2.2.2.0/24 gw 1.1.1.2

Persze több up és down sor lehet...