LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2005, 05:01 PM   #1
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
Masquerading problem


I'm trying to set up a 2 gateway connection for my LAN, and I've tried the LARTC way of doing it... so far all i get is, in /var/log/syslog:

Code:
Jan 15 00:51:21 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:26 Reboot kernel: printk: 4 messages suppressed.
Jan 15 00:51:26 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:31 Reboot kernel: printk: 5 messages suppressed.
Jan 15 00:51:31 Reboot kernel: MASQUERADE: Route sent us somewhere else.
Jan 15 00:51:36 Reboot kernel: Shorewall:all2all:REJECT:IN=eth2 OUT= MAC=... SRC=192.168.0.4 DST=192.168.0.1 (....) SPT=34074 DPT=53 LEN=48
Jan 15 00:51:36 Reboot kernel: printk: 9 messages suppressed.
Jan 15 00:51:36 Reboot kernel: MASQUERADE: Route sent us somewhere else.
The multipath works only on the server, as the LAN clients can't connect to anything else but the server. IP forwarding IS enabled... This happens after I enable the multipath with:

Code:
# iproute change default scope global nexthop via $P1 dev $IF1 weight1 \
    nexthop via $P2 dev $IF2 weight1
Of course, if i set $P1=$P2 and $IF1=$IF2 everything works (as in with the T1, T2 tables set up and stuff), but that's having one active gateway.

I'm using shorewall (2.0.8) on the Mandrake-Linux poweed webserver (10.1 Official w/ default 2.6.8.1-12mdk-i586-up-1GB kernel)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Masquerading problem. jsaxton86 Linux - Networking 3 09-03-2004 09:45 PM
IP Masquerading problem cijunet Slackware 1 04-04-2003 06:42 PM
IP Masquerading problem!!! bkmesenbrink Linux - Newbie 1 08-28-2002 03:29 PM
IP MAsquerading /Routing Problem krpotdar Linux - Networking 0 09-27-2001 06:36 AM
*REALLY* strange problem with ip masquerading 10e999 Linux - Networking 1 04-14-2001 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration