Re: Problems with table

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry.
My kernel was not able  to perform policy routing in the correct way.

Michele

Michele Cerioni wrote:
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
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux