Skip to contentSkip to conversation

Sparc problem

LARTC [email protected] 2 participants 3 messages Aug 9, 2003 – Aug 10, 2003

lore
Share & tools
lore
#0 lore raw

Hi all, i am using iptables (1.2.8) + iproute on Slackware 8.0 (i386) working fine, marking packet based in destination port and network and selecting the appropriate route with this marks (i have two links, a 256Kb frame relay and a 512Kb ADSL).
Now i change the machine for a Sun Enterprise 250 (Sparc64 with Debian 3.0r1) and iptables works fine (the packets are marked) but iproute don't send them by the correct interface (only use the default gateway, ppp0). I compile from source the kernel (2.4.19, 2.4.20, 2.4.21) with the last patch-o-matic and several versions of iproute.

Any idea?.

Thanks in advice

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Hello there,

: Now i change the machine for a Sun Enterprise 250 (Sparc64 with Debian : 3.0r1) and iptables works fine (the packets are marked) but iproute : don't send them by the correct interface (only use the default gateway, : ppp0). I compile from source the kernel (2.4.19, 2.4.20, 2.4.21) with : the last patch-o-matic and several versions of iproute.

Sounds to me like the kernel hasn't been compiled with support for multiple routing tables, or hasn't been compiled with support for routing with fwmark.

Do you have CONFIG_IP_ROUTE_FWMARK=y in your kernel config?

-Martin

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to [email protected]
Quoted 8 lines · El Sáb 09 Ago 2003 21:27, escribió:

Hello there,

: Now i change the machine for a Sun Enterprise 250 (Sparc64 with Debian : 3.0r1) and iptables works fine (the packets are marked) but iproute : don't send them by the correct interface (only use the default gateway, : ppp0). I compile from source the kernel (2.4.19, 2.4.20, 2.4.21) with : the last patch-o-matic and several versions of iproute.

Quoted 7 lines

Sounds to me like the kernel hasn't been compiled with support for multiple routing tables, or hasn't been compiled with support for routing with fwmark.

Do you have CONFIG_IP_ROUTE_FWMARK=y in your kernel config?

-Martin

Hi, yes CONFIG_IP_ROUTE_FWMARK=y is compiled, but i check and recompile again and the problem continue.

Thanks for the answer. :)

Signature · 3 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/