[LARTC] Problems with table

Michele Cerioni michele at protocol.it
Fri Jul 15 12:49:02 CEST 2005


hi,
I have problems with tables.
I installed the last iproute2: iproute2-2.4.7-now-ss010824.tar.gz on 
Linux 2.4.26 (slackware 9.1).

I want to use 2 adsl on this server.
I run this command:
#echo 201 routeradsl2 >> /etc/iproute2/rt_tables (only one time);
then

#ip route add  82.189.148.240 dev eth1 src 82.189.148.243 table routeradsl2

at this point I run:

#ip route show table routeradsl2
#

the table is routeradsl2 empty

then I run
#ip route show table main
82.189.148.240 dev eth1  scope link  src 82.189.148.243
82.189.148.240/29 dev eth1  proto kernel  scope link  src 82.189.148.243
194.243.125.0/26 dev eth0  proto kernel  scope link  src 194.243.125.10
194.243.125.0/24 dev eth0  proto kernel  scope link  src 194.243.125.4
127.0.0.0/8 dev lo  scope link
default via 194.243.125.1 dev eth0  metric 1

The line  82.189.148.240 dev eth1  scope link  src 82.189.148.243 was 
added to table main instead table routeradls2.

Why?

MIchele


More information about the LARTC mailing list