routing two private subnets?

From: William Gill (noreply_at_gcgroup.net)
Date: 01/26/05


Date: Wed, 26 Jan 2005 16:49:40 GMT

I apologize if this question gets a little convoluted, but here goes. I
recently moved my servers to someone else, so I no longer needed a
dedicated internet connection. I now have a residential class DSL line.
  The modem provided (speedstream 5100) can be optioned to operate with
external or internal pppoe. The modem is “hardwired” to 192.168.0.1. I
have everything currently configured to use RP pppoe, but I would like
to use the modem’s pppoe (and NAT) and use the connected machine as my
barrier/router/firewall. Is it possible to set up the interfaces on the
router to addresses in the same subnet (i.e. eth0 & eth1 both on
192.168.0.0)? Alternately (probably simpler), I can configure two
subnets (192.168.0.0 & 192.168.1.0). Either way can I use iptables to
NAT or masq to allow my other machines (all on private ip’s) internet
access?

Thanks
Bill



Relevant Pages

  • Re: routing two private subnets?
    ... > You can use Linux to FW and nat for your entire internal network. ... > Your modem may or may not do NAT. ... internet", and I need to ftp to my servers, pull mail, and the usual ... [optioned for pppoe on computer not modem] ...
    (comp.os.linux.networking)
  • Re: EBS 2008, TMG and external firewall. Dont want double NAT
    ... This is done because Exchange is bound to the internal interface and leaves the external interface to be *completely* controlled by TMG...a good security guideline by the way. ... If you are disabling NAT then you'll need to change this from a publishing rule to an access rule, but it should still work fine. ... The first is an access rule allows traffic from the internal IP to the external interface and to the messaging server ... One of the default rules is an "internet access for all users" that allows http and https by default. ...
    (microsoft.public.windows.server.sbs)
  • Re: Routing and Remote Access NAT - I need to modify TTL
    ... with two interfaces: PUBLIC (internet) and PRIVATE ... use it as a gateway, they can access hosts on the PUBLIC interface, TTL is ... but the replay that comes back to the NAT ... They relay on the fact that client computers accept packets with TTL=0, ...
    (microsoft.public.windows.server.networking)
  • Re: Routing and Remote Access NAT - I need to modify TTL
    ... with two interfaces: PUBLIC (internet) and PRIVATE ... use it as a gateway, they can access hosts on the PUBLIC interface, TTL is ... but the replay that comes back to the NAT ... They relay on the fact that client computers accept packets with TTL=0, ...
    (microsoft.public.windows.server.networking)
  • Re: Routing and Remote Access NAT - I need to modify TTL
    ... with two interfaces: PUBLIC (internet) and PRIVATE ... Hosts on the LAN successfully acquire IP addresses from the NAT SERVER ... use it as a gateway, they can access hosts on the PUBLIC interface, TTL ... They relay on the fact that client computers accept packets with TTL=0, ...
    (microsoft.public.windows.server.networking)