All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Routing private and non-private ips
@ 2002-07-15 19:32 Lucky
  2002-07-16 18:19 ` Martin A. Brown
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lucky @ 2002-07-15 19:32 UTC (permalink / raw)
  To: lartc

Hi folks!

I have a little problem here, probably not related to LAR and surely not to 
TC, but I don't know somebody else to ask.

The scenario is as follows:

Router R has two connections to the internet (ippp3, static IP-Address with 
and a /29er network N1 routed to, and ppp0, dynamic IP-Address), one to the 
local network N2 (eth0).
Currently, R does the following:

- masqerades all connections from N2 to the Internet
- policy-routes packets originating from connections from ippp3 back to ippp3
- firewalls

Now I'd like to give a Host H1 in N2 a local, private IP-Address _and_ a
public, non-private IP-Address from our /29-net.

How would I do the routing?
I tried routing the /29-net through eth0, which lets me ping R to H1, but not
vice-versa. The routing from the internet to H1 and vice-versa also didn't
work.
I allowed nearly everything to and from the /29-net in all of the input, 
forward and output-chains (I'm currently using Linux 2.2.20).

Any help would be really appreciated.

Please Cc' me on answers, cause I'm getting the list only in digest-mode.

-- 
Lukas
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-19 18:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15 19:32 [LARTC] Routing private and non-private ips Lucky
2002-07-16 18:19 ` Martin A. Brown
2002-07-17 15:15 ` Lukas Kolbe
2002-07-17 17:18 ` Martin A. Brown
2002-07-19 18:29 ` Lukas Kolbe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.