Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Как прописать iproute2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
peter@work
n00b
n00b


Joined: 31 Jan 2005
Posts: 52

PostPosted: Thu Dec 08, 2005 4:17 pm    Post subject: Как прописать iproute2? Reply with quote

Внимательно прочитав /etc/conf.d/net.example прозрение так и не пришло.

Мне нужно прописать в /etc/conf.d/net то, что в командной строке выглядит так
Code:

echo 200 DialIn >> /etc/iproute2/rt_tables
ip rule add from 192.168.1.214 table DialIn
ip route add default via 192.168.1.1 dev eth1 table DialIn
ip route flush cache
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Fri Dec 09, 2005 5:47 pm    Post subject: Reply with quote

В /etc/conf.d/local.start это писать надо, а не в conf.d/net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum