Get the 'ip' tool and use it to specify the src.
ftp://ftp.inr.ac.ru/pub/ip-routing/
a 'howto' of sorts is at http://dawn.elte.hu/~endre/ip-cref/
-d
Michael Marxmeier wrote:
> I setup a linux box to work as a router/fw. It has 3 nw cards
> which are connected to different networks. To connect to the
> cisco router (provided by the ISP) we used a rfc1597 address
> space.
>
> ^ ISP
> |
> ---------
> | Cisco |
> ---------
> | 192.168.0.1
> |
> | 192.168.0.2
> ---------
> | Linux | x.x.x.1
> | |-------- other boxes x.x.x.2 .. 10
> ---------
> |
> |
> Other boxes (private addresses)
>
> The x.x.x.x addresses are "official" addresses.
>
> Problem is that a package originating on the Linux gw and going
> to the Cisco has a src address of 192.168.0.2 which of course
> is dropped. The Cisco cannot easily be re-configured.
>
> Is there any sane way to force the src address of packages
> originating on the linux gw to a particular interface?
> The only (ugly) solution which works so far is to assign a routable
> address to the cisco interface and use 192.168.0.2 as an
> if alias.
>
> Thanks for any help/ideas/pointers.
>
> Michael
>
> --
> Michael Marxmeier Marxmeier Software AG
> E-Mail: [EMAIL PROTECTED] Besenbruchstrasse 9
> Phone : +49 202 2431440 42285 Wuppertal, Germany
> Fax : +49 202 2431420 http://www.msede.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
--
This is Linux Country. On a quiet night, you can hear Windows NT reboot!
Do you remember how to -think- ? Do you remember how to experiment? Linux
__ is an operating system that brings back the fun and adventure in computing.
\/ for linux-kernel: please read linux/Documentation/* before posting problems
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]