Skip to contentSkip to conversation

Problems with table

LARTC Michele Cerioni 1 participant 2 messages Jul 15, 2005

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

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

Michele

Quoted 31 lines · Michele Cerioni

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.

Quoted 8 lines

Why?

MIchele
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc